Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001886/0.001886, allocations: 73.72 kB / 21.24 MB, free: 0.5547 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.001989/0.001989, allocations: 160.8 kB / 24.5 MB, free: 3.715 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.497/1.497, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2503/0.2503, allocations: 32.8 MB / 294.1 MB, free: 24 kB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 63.91 kB / 440.6 MB, free: 9.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3451, allocations: 65.45 MB / 0.4942 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1659/0.511, allocations: 130.3 MB / 0.6214 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008169/0.5192, allocations: 5.168 MB / 0.6264 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005888/0.5198, allocations: 27.75 kB / 0.6265 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009962/0.5208, allocations: 318 kB / 0.6268 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002051/0.5228, allocations: 0.8903 MB / 0.6276 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.5255, allocations: 1.041 MB / 0.6286 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002238/0.5278, allocations: 1.824 MB / 0.6304 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005984/0.5284, allocations: 393.6 kB / 0.6308 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.5298, allocations: 0.7825 MB / 0.6316 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.531, allocations: 0.7436 MB / 0.6323 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.5311, allocations: 60 kB / 0.6323 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.5323, allocations: 487.1 kB / 0.6328 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003358/0.5326, allocations: 287 kB / 0.6331 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004143/0.533, allocations: 326.7 kB / 0.6334 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.5346, allocations: 1.171 MB / 0.6345 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5346, allocations: 4 kB / 0.6345 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5346, allocations: 0 / 0.6345 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.5346, allocations: 0 / 0.6345 GB, free: 8.812 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002417/0.5371, allocations: 0.9873 MB / 0.6355 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.5371, allocations: 12.03 kB / 0.6355 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003881/0.5375, allocations: 100.4 kB / 0.6356 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.5385, allocations: 474.8 kB / 0.6361 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/0.5387, allocations: 156.4 kB / 0.6362 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.601e-05/0.5388, allocations: 52.31 kB / 0.6363 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.5404, allocations: 1.146 MB / 0.6374 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.5405, allocations: 0 / 0.6374 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.261e-05/0.5405, allocations: 27.98 kB / 0.6374 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.122e-05/0.5406, allocations: 40.98 kB / 0.6375 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.5417, allocations: 0.6517 MB / 0.6381 GB, free: 4.957 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.004576/0.5463, allocations: 3.071 MB / 0.6411 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008337/0.5471, allocations: 404.3 kB / 0.6415 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.5474, allocations: 192 kB / 0.6417 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003167/0.5477, allocations: 72.27 kB / 0.6417 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.5478, allocations: 42.83 kB / 0.6418 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=40): time 3.176e-06/0.5478, allocations: 0 / 0.6418 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.003384/0.5512, allocations: 1.391 MB / 0.6431 GB, free: 15.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.5513, allocations: 132.5 kB / 0.6433 GB, free: 15.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006367/0.5519, allocations: 0.5181 MB / 0.6438 GB, free: 14.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.552, allocations: 37.69 kB / 0.6438 GB, free: 14.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/0.5522, allocations: 372.3 kB / 0.6441 GB, free: 14.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.5524, allocations: 178.5 kB / 0.6443 GB, free: 14.37 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.5526, allocations: 142.6 kB / 0.6445 GB, free: 14.22 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.5528, allocations: 370.8 kB / 0.6448 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.5532, allocations: 213.9 kB / 0.645 GB, free: 13.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006903/0.5539, allocations: 0.5877 MB / 0.6456 GB, free: 12.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.5549, allocations: 0.7611 MB / 0.6463 GB, free: 12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.5549, allocations: 4 kB / 0.6463 GB, free: 12 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001651/0.5566, allocations: 0.9035 MB / 0.6472 GB, free: 11.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.5566, allocations: 8 kB / 0.6472 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/0.5566, allocations: 16.77 kB / 0.6472 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.5581, allocations: 281.4 kB / 0.6475 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003931/0.5584, allocations: 123.8 kB / 0.6476 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.5595, allocations: 0.8868 MB / 0.6485 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/0.5599, allocations: 28 kB / 0.6485 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.283e-05/0.56, allocations: 39.92 kB / 0.6486 GB, free: 9.688 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000369/0.5604, allocations: 250.2 kB / 0.6488 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.5605, allocations: 63.62 kB / 0.6489 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.5618, allocations: 0.6834 MB / 0.6495 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.5618, allocations: 11.98 kB / 0.6495 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5618, allocations: 0 / 0.6495 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.5618, allocations: 4 kB / 0.6495 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/0.5638, allocations: 1.18 MB / 0.6507 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.5638, allocations: 0 / 0.6507 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.5649, allocations: 204 kB / 0.6509 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.17e-05/0.565, allocations: 28.78 kB / 0.6509 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.565, allocations: 15.98 kB / 0.6509 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/0.5672, allocations: 2.621 MB / 0.6535 GB, free: 4.348 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5672, allocations: 3.938 kB / 0.6535 GB, free: 4.344 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.5688, allocations: 0.9394 MB / 0.6544 GB, free: 3.367 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/0.5691, allocations: 115.6 kB / 0.6545 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.692e-05/0.5692, allocations: 12 kB / 0.6545 GB, free: 3.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.5695, allocations: 16.2 kB / 0.6545 GB, free: 3.227 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.051e-05/0.5696, allocations: 43.94 kB / 0.6546 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.096e-05/0.5697, allocations: 23.92 kB / 0.6546 GB, free: 3.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004762/0.5702, allocations: 358.8 kB / 0.655 GB, free: 2.812 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5702, allocations: 0 / 0.655 GB, free: 2.812 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008725/0.571, allocations: 223.8 kB / 0.6552 GB, free: 2.594 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004677/0.5715, allocations: 253.8 kB / 0.6554 GB, free: 2.344 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001308/0.5728, allocations: 0.5728 MB / 0.656 GB, free: 1.777 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.5728, allocations: 7.953 kB / 0.656 GB, free: 1.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.5739, allocations: 447.7 kB / 0.6564 GB, free: 1.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.5754, allocations: 312.6 kB / 0.6567 GB, free: 1.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.5777, allocations: 1.38 MB / 0.658 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.5781, allocations: 341.1 kB / 0.6584 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005819/0.5787, allocations: 200.7 kB / 0.6586 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.5788, allocations: 56.48 kB / 0.6586 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/0.5788, allocations: 0 / 0.6586 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.02596/0.6048, allocations: 14.32 MB / 0.6726 GB, free: 0.9297 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.7598476690473035]