Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002039/0.002039, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002533/0.002533, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.59/1.59, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2851/0.2851, allocations: 46.92 MB / 357.1 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002968/0.002968, allocations: 67.89 kB / 0.4914 GB, free: 7.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1778, allocations: 65.99 MB / 0.5559 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.6046/0.7824, allocations: 163.9 MB / 0.7159 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004064/0.7865, allocations: 1.67 MB / 0.7175 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004916/0.787, allocations: 19.81 kB / 0.7176 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007982/0.7877, allocations: 214.6 kB / 0.7178 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002603/0.7904, allocations: 0.7995 MB / 0.7185 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002105/0.7925, allocations: 0.6624 MB / 0.7192 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001732/0.7942, allocations: 1.15 MB / 0.7203 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005175/0.7947, allocations: 291.6 kB / 0.7206 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009854/0.7957, allocations: 490.2 kB / 0.7211 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005728/0.7963, allocations: 402.3 kB / 0.7214 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.276e-05/0.7963, allocations: 44 kB / 0.7215 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.7978, allocations: 0.5851 MB / 0.7221 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002209/0.798, allocations: 159.5 kB / 0.7222 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003665/0.7984, allocations: 274.7 kB / 0.7225 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001725/0.8001, allocations: 0.9613 MB / 0.7234 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.8001, allocations: 0 / 0.7234 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8001, allocations: 0 / 0.7234 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.958e-05/0.8001, allocations: 0 / 0.7234 GB, free: 5.477 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002142/0.8023, allocations: 0.9285 MB / 0.7243 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.8023, allocations: 9.109 kB / 0.7243 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004522/0.8028, allocations: 79.61 kB / 0.7244 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007191/0.8035, allocations: 406.7 kB / 0.7248 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.8036, allocations: 58.69 kB / 0.7248 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.414e-05/0.8037, allocations: 43.89 kB / 0.7249 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.8048, allocations: 0.5244 MB / 0.7254 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.8048, allocations: 4 kB / 0.7254 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.439e-05/0.8049, allocations: 16 kB / 0.7254 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.784e-05/0.8049, allocations: 16.66 kB / 0.7254 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009902/0.8059, allocations: 402.1 kB / 0.7258 GB, free: 2.867 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003766/0.8097, allocations: 2.462 MB / 0.7282 GB, free: 232 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009247/0.8106, allocations: 331.4 kB / 0.7285 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004154/0.811, allocations: 153.3 kB / 0.7287 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.344e-05/0.8111, allocations: 12.12 kB / 0.7287 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006527/0.8117, allocations: 263.9 kB / 0.7289 GB, free: 15.45 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.425e-06/0.8117, allocations: 0 / 0.7289 GB, free: 15.45 MB / 0.545 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.01365/0.8254, allocations: 3.245 MB / 0.7321 GB, free: 12.08 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.8255, allocations: 140.5 kB / 0.7322 GB, free: 11.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005471/0.826, allocations: 385.6 kB / 0.7326 GB, free: 11.53 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.399e-05/0.8261, allocations: 37.7 kB / 0.7327 GB, free: 11.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.8263, allocations: 260.4 kB / 0.7329 GB, free: 11.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.8265, allocations: 170.6 kB / 0.7331 GB, free: 11.06 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.8267, allocations: 122.3 kB / 0.7332 GB, free: 10.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.8269, allocations: 354.8 kB / 0.7335 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006784/0.8276, allocations: 221.1 kB / 0.7337 GB, free: 10.36 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008361/0.8284, allocations: 402.4 kB / 0.7341 GB, free: 9.895 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.83, allocations: 0.6433 MB / 0.7347 GB, free: 9.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.83, allocations: 0 / 0.7347 GB, free: 9.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002194/0.8321, allocations: 0.791 MB / 0.7355 GB, free: 8.375 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/0.8322, allocations: 33.7 kB / 0.7355 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.8322, allocations: 8 kB / 0.7356 GB, free: 8.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004975/0.8327, allocations: 116.8 kB / 0.7357 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005949/0.8333, allocations: 135.8 kB / 0.7358 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007494/0.8341, allocations: 0.674 MB / 0.7365 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005706/0.8346, allocations: 55.88 kB / 0.7365 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-05/0.8347, allocations: 40 kB / 0.7365 GB, free: 7.285 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003331/0.835, allocations: 199.2 kB / 0.7367 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.8351, allocations: 55.67 kB / 0.7368 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.8373, allocations: 0.7341 MB / 0.7375 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.8373, allocations: 8 kB / 0.7375 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8373, allocations: 0 / 0.7375 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.8373, allocations: 0 / 0.7375 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002832/0.8402, allocations: 1.285 MB / 0.7388 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.8402, allocations: 0 / 0.7388 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005147/0.8407, allocations: 103.9 kB / 0.7389 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006171/0.8413, allocations: 109 kB / 0.739 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-05/0.8414, allocations: 19.94 kB / 0.739 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002181/0.8435, allocations: 1.821 MB / 0.7408 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.8435, allocations: 7.969 kB / 0.7408 GB, free: 2.711 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/0.8461, allocations: 0.9713 MB / 0.7417 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002879/0.8464, allocations: 160.8 kB / 0.7419 GB, free: 1.527 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.19e-05/0.8465, allocations: 15.94 kB / 0.7419 GB, free: 1.512 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004795/0.8469, allocations: 43.94 kB / 0.7419 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.8471, allocations: 59.88 kB / 0.742 GB, free: 1.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.268e-05/0.8472, allocations: 35.98 kB / 0.742 GB, free: 1.375 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003651/0.8475, allocations: 275.1 kB / 0.7423 GB, free: 1.109 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.8475, allocations: 0 / 0.7423 GB, free: 1.109 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000925/0.8485, allocations: 235.7 kB / 0.7425 GB, free: 0.8789 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007679/0.8492, allocations: 291.3 kB / 0.7428 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001783/0.851, allocations: 0.5836 MB / 0.7434 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.851, allocations: 0 / 0.7434 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000971/0.852, allocations: 402.6 kB / 0.7437 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.8531, allocations: 205.3 kB / 0.7439 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.8554, allocations: 1.177 MB / 0.7451 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/0.856, allocations: 0.8514 MB / 0.7459 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005218/0.8565, allocations: 148.6 kB / 0.7461 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.8567, allocations: 79.34 kB / 0.7461 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/0.8568, allocations: 0 / 0.7461 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of Templates: time 0.02514/0.8819, allocations: 13.36 MB / 0.7592 GB, free: 15.79 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.535830017179251]