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.001896/0.001896, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.001922/0.001922, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.571/1.571, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 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.3761/0.3761, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] 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 2.625e-06/2.625e-06, allocations: 0 / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.888e-05/4.151e-05, allocations: 6.312 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4073/0.4074, allocations: 156.3 MB / 0.521 GB, free: 10.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003332/0.4107, allocations: 1.644 MB / 0.5226 GB, free: 9.203 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005803/0.4113, allocations: 19.81 kB / 0.5227 GB, free: 9.191 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007371/0.412, allocations: 199.7 kB / 0.5228 GB, free: 9.086 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00226/0.4143, allocations: 0.8256 MB / 0.5237 GB, free: 8.629 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.4162, allocations: 0.6857 MB / 0.5243 GB, free: 8.293 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.4176, allocations: 1.171 MB / 0.5255 GB, free: 7.746 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004509/0.4181, allocations: 295.4 kB / 0.5257 GB, free: 7.566 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009895/0.4191, allocations: 0.6241 MB / 0.5264 GB, free: 7.305 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004807/0.4196, allocations: 348.3 kB / 0.5267 GB, free: 7.199 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.599e-05/0.4197, allocations: 42.97 kB / 0.5267 GB, free: 7.199 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.4209, allocations: 0.4898 MB / 0.5272 GB, free: 7.059 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.4211, allocations: 178.4 kB / 0.5274 GB, free: 6.961 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002434/0.4214, allocations: 193.9 kB / 0.5276 GB, free: 6.887 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.4229, allocations: 1.029 MB / 0.5286 GB, free: 6.531 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4229, allocations: 4 kB / 0.5286 GB, free: 6.527 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4229, allocations: 3.938 kB / 0.5286 GB, free: 6.523 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.4229, allocations: 0 / 0.5286 GB, free: 6.523 MB / 410.7 MB 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.001611/0.4246, allocations: 0.9554 MB / 0.5295 GB, free: 5.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.4246, allocations: 8.219 kB / 0.5295 GB, free: 5.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004641/0.4251, allocations: 121.4 kB / 0.5296 GB, free: 5.762 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000579/0.4256, allocations: 362.7 kB / 0.53 GB, free: 5.516 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.698e-05/0.4257, allocations: 86.94 kB / 0.5301 GB, free: 5.441 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.826e-05/0.4258, allocations: 40.53 kB / 0.5301 GB, free: 5.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008304/0.4266, allocations: 0.7398 MB / 0.5308 GB, free: 4.852 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.4267, allocations: 10.58 kB / 0.5308 GB, free: 4.844 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.978e-05/0.4267, allocations: 11.03 kB / 0.5308 GB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.374e-05/0.4267, allocations: 22.56 kB / 0.5309 GB, free: 4.828 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006555/0.4274, allocations: 324.4 kB / 0.5312 GB, free: 4.742 MB / 410.7 MB 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.002653/0.43, allocations: 2.467 MB / 0.5336 GB, free: 2.746 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006382/0.4307, allocations: 303.3 kB / 0.5339 GB, free: 2.629 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.431, allocations: 139.5 kB / 0.534 GB, free: 2.578 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.002e-05/0.431, allocations: 11.33 kB / 0.534 GB, free: 2.578 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005227/0.4315, allocations: 417.6 kB / 0.5344 GB, free: 2.246 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.503e-06/0.4315, allocations: 0 / 0.5344 GB, free: 2.246 MB / 410.7 MB 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.008912/0.4405, allocations: 2.466 MB / 0.5368 GB, free: 1.238 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.4405, allocations: 134 kB / 0.537 GB, free: 1.082 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004074/0.4409, allocations: 474.7 kB / 0.5374 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.4409, allocations: 36.61 kB / 0.5374 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.4411, allocations: 318.2 kB / 0.5377 GB, free: 0.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.4412, allocations: 178.6 kB / 0.5379 GB, free: 372 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.4414, allocations: 141.7 kB / 0.538 GB, free: 292 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002357/0.4416, allocations: 0.5549 MB / 0.5386 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004617/0.4421, allocations: 206.1 kB / 0.5388 GB, free: 15.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007622/0.4428, allocations: 0.536 MB / 0.5393 GB, free: 15.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.4439, allocations: 0.6311 MB / 0.5399 GB, free: 14.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.4439, allocations: 2.344 kB / 0.5399 GB, free: 14.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001635/0.4456, allocations: 0.7569 MB / 0.5407 GB, free: 14.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.232e-05/0.4456, allocations: 38.2 kB / 0.5407 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.4456, allocations: 12.81 kB / 0.5407 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004258/0.4461, allocations: 101.6 kB / 0.5408 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004759/0.4465, allocations: 127.6 kB / 0.5409 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008419/0.4474, allocations: 0.9193 MB / 0.5418 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004489/0.4478, allocations: 39.77 kB / 0.5419 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.188e-05/0.4479, allocations: 35.69 kB / 0.5419 GB, free: 13.44 MB / 426.7 MB 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.0003325/0.4482, allocations: 238 kB / 0.5421 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.4484, allocations: 63.44 kB / 0.5422 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.45, allocations: 0.6363 MB / 0.5428 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.45, allocations: 6.688 kB / 0.5428 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.45, allocations: 2.562 kB / 0.5428 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.45, allocations: 2.766 kB / 0.5428 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/0.4524, allocations: 1.192 MB / 0.544 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.4524, allocations: 0 / 0.544 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/0.4527, allocations: 85.12 kB / 0.5441 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006551/0.4534, allocations: 120.5 kB / 0.5442 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.4534, allocations: 15.17 kB / 0.5442 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002333/0.4558, allocations: 2.194 MB / 0.5463 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4558, allocations: 2.719 kB / 0.5463 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.4578, allocations: 0.9373 MB / 0.5473 GB, free: 9.594 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.4581, allocations: 78.11 kB / 0.5473 GB, free: 9.539 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.086e-05/0.4582, allocations: 11.41 kB / 0.5473 GB, free: 9.531 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.4586, allocations: 36.91 kB / 0.5474 GB, free: 9.512 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.4587, allocations: 62.56 kB / 0.5474 GB, free: 9.473 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.264e-05/0.4588, allocations: 27.73 kB / 0.5475 GB, free: 9.465 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003686/0.4592, allocations: 302.7 kB / 0.5478 GB, free: 9.258 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4592, allocations: 0 / 0.5478 GB, free: 9.258 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009251/0.4601, allocations: 231.3 kB / 0.548 GB, free: 9.219 MB / 426.7 MB 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 (40): * Single equations (assignments): 37 * 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.0007544/0.4608, allocations: 301.3 kB / 0.5483 GB, free: 9.039 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.4622, allocations: 0.5752 MB / 0.5488 GB, free: 8.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4622, allocations: 0 / 0.5488 GB, free: 8.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007554/0.463, allocations: 448.3 kB / 0.5493 GB, free: 8.422 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.4641, allocations: 226.9 kB / 0.5495 GB, free: 8.324 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.4662, allocations: 1.04 MB / 0.5505 GB, free: 7.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.4665, allocations: 256.8 kB / 0.5507 GB, free: 7.129 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004905/0.467, allocations: 124.5 kB / 0.5508 GB, free: 7.004 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.4672, allocations: 68.47 kB / 0.5509 GB, free: 6.938 MB / 426.7 MB Notification: Performance of SimCode: time 1.093e-06/0.4672, allocations: 0 / 0.5509 GB, free: 6.938 MB / 426.7 MB Notification: Performance of Templates: time 0.02526/0.4925, allocations: 12.79 MB / 0.5634 GB, free: 10.32 MB / 442.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_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.922405943041667]