Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001897/0.001897, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002213/0.002213, allocations: 165.3 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 177.1 MB / 204.7 MB, free: 9.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2085/0.2085, allocations: 34.25 MB / 295.4 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002461/0.002461, allocations: 83.88 kB / 443.1 MB, free: 6.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3474, allocations: 66.06 MB / 0.4973 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1894/0.5367, allocations: 141.4 MB / 0.6353 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003673/0.5404, allocations: 1.587 MB / 0.6369 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003386/0.5407, allocations: 19.81 kB / 0.6369 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008378/0.5416, allocations: 198.6 kB / 0.6371 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00237/0.5439, allocations: 0.7961 MB / 0.6379 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.5458, allocations: 0.6835 MB / 0.6385 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001603/0.5474, allocations: 1.162 MB / 0.6397 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004398/0.5479, allocations: 282.2 kB / 0.6399 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.5489, allocations: 0.4903 MB / 0.6404 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008879/0.5498, allocations: 374.5 kB / 0.6408 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.55, allocations: 44 kB / 0.6408 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.5514, allocations: 499.2 kB / 0.6413 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000268/0.5517, allocations: 175.4 kB / 0.6414 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003087/0.552, allocations: 219 kB / 0.6417 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.5535, allocations: 0.9578 MB / 0.6426 GB, free: 336 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5535, allocations: 0 / 0.6426 GB, free: 336 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5535, allocations: 0 / 0.6426 GB, free: 336 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.5535, allocations: 4 kB / 0.6426 GB, free: 332 kB / 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.001979/0.5555, allocations: 0.8457 MB / 0.6434 GB, free: 15.44 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.5555, allocations: 8.031 kB / 0.6434 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003934/0.5559, allocations: 79.61 kB / 0.6435 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006774/0.5566, allocations: 344.8 kB / 0.6438 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.5567, allocations: 96.14 kB / 0.6439 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.885e-05/0.5568, allocations: 36 kB / 0.644 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.5581, allocations: 0.7425 MB / 0.6447 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.5581, allocations: 3.953 kB / 0.6447 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.304e-05/0.5581, allocations: 16 kB / 0.6447 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-05/0.5582, allocations: 20.59 kB / 0.6447 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.5593, allocations: 398.2 kB / 0.6451 GB, free: 13.58 MB / 0.545 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.003369/0.5627, allocations: 1.938 MB / 0.647 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009309/0.5636, allocations: 327.3 kB / 0.6473 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004102/0.564, allocations: 165.2 kB / 0.6475 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.564, allocations: 4.281 kB / 0.6475 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008309/0.5649, allocations: 418 kB / 0.6479 GB, free: 10.61 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.633e-06/0.5649, allocations: 0 / 0.6479 GB, free: 10.61 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.01363/0.5785, allocations: 3.018 MB / 0.6508 GB, free: 7.512 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.5786, allocations: 140.5 kB / 0.651 GB, free: 7.344 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.5791, allocations: 377.5 kB / 0.6513 GB, free: 6.969 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.61e-05/0.5791, allocations: 33.7 kB / 0.6513 GB, free: 6.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.5794, allocations: 272.3 kB / 0.6516 GB, free: 6.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.5795, allocations: 166.6 kB / 0.6518 GB, free: 6.496 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.5797, allocations: 122.3 kB / 0.6519 GB, free: 6.371 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.5799, allocations: 358.8 kB / 0.6522 GB, free: 6.012 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006713/0.5806, allocations: 246.8 kB / 0.6525 GB, free: 5.766 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009315/0.5815, allocations: 0.4914 MB / 0.6529 GB, free: 5.172 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.5831, allocations: 0.6404 MB / 0.6536 GB, free: 4.453 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.5831, allocations: 0 / 0.6536 GB, free: 4.453 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002166/0.5853, allocations: 0.8171 MB / 0.6544 GB, free: 3.617 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/0.5853, allocations: 42.34 kB / 0.6544 GB, free: 3.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.5853, allocations: 4 kB / 0.6544 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005063/0.5858, allocations: 108.8 kB / 0.6545 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007194/0.5866, allocations: 139.8 kB / 0.6546 GB, free: 3.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007787/0.5873, allocations: 0.6733 MB / 0.6553 GB, free: 2.621 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005135/0.5878, allocations: 52.02 kB / 0.6553 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.588, allocations: 44 kB / 0.6554 GB, free: 2.527 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.0002999/0.5883, allocations: 197.6 kB / 0.6556 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.195e-05/0.5884, allocations: 51.72 kB / 0.6556 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.5906, allocations: 0.7343 MB / 0.6563 GB, free: 1.527 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.5906, allocations: 12.03 kB / 0.6564 GB, free: 1.516 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.5906, allocations: 0 / 0.6564 GB, free: 1.516 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.5906, allocations: 7.922 kB / 0.6564 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00283/0.5934, allocations: 1.128 MB / 0.6575 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/0.5934, allocations: 4 kB / 0.6575 GB, free: 324 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005217/0.5939, allocations: 103.9 kB / 0.6576 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006187/0.5946, allocations: 104.9 kB / 0.6577 GB, free: 112 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.5946, allocations: 19.94 kB / 0.6577 GB, free: 92 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.5967, allocations: 1.676 MB / 0.6593 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.5967, allocations: 4 kB / 0.6593 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002512/0.5992, allocations: 0.9731 MB / 0.6603 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003266/0.5995, allocations: 91.64 kB / 0.6604 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.022e-05/0.5996, allocations: 15.94 kB / 0.6604 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005576/0.6002, allocations: 47.95 kB / 0.6604 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/0.6004, allocations: 59.89 kB / 0.6605 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.657e-05/0.6004, allocations: 32 kB / 0.6605 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000378/0.6008, allocations: 259.1 kB / 0.6608 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6008, allocations: 0 / 0.6608 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008611/0.6017, allocations: 231.7 kB / 0.661 GB, free: 12.58 MB / 0.5606 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.0007215/0.6024, allocations: 282.8 kB / 0.6613 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00173/0.6041, allocations: 0.6211 MB / 0.6619 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.6041, allocations: 0 / 0.6619 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009214/0.605, allocations: 394.3 kB / 0.6622 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.6062, allocations: 207.2 kB / 0.6624 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.6085, allocations: 1.161 MB / 0.6636 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.6088, allocations: 264.7 kB / 0.6638 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005217/0.6093, allocations: 148.5 kB / 0.664 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/0.6096, allocations: 76.47 kB / 0.664 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.6096, allocations: 0 / 0.664 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of Templates: time 0.02644/0.636, allocations: 13.04 MB / 0.6768 GB, free: 12.46 MB / 0.5763 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.914196102996357]