Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007797/0.0007797, allocations: 94.19 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007572/0.0007572, allocations: 173 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2002/0.2002, allocations: 44.25 MB / 337.7 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002983, allocations: 8.281 kB / 410.3 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1277, allocations: 61.93 MB / 472.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4596/0.5874, allocations: 170.3 MB / 0.6275 GB, free: 8.473 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008081/0.5955, allocations: 5.409 MB / 0.6328 GB, free: 3.051 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.5969, allocations: 27.75 kB / 0.6328 GB, free: 3.023 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.598, allocations: 274.5 kB / 0.6331 GB, free: 2.754 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003817/0.6019, allocations: 1.129 MB / 0.6342 GB, free: 1.629 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002603/0.6045, allocations: 0.8592 MB / 0.635 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003159/0.6077, allocations: 2.716 MB / 0.6377 GB, free: 14.06 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008733/0.6086, allocations: 400.7 kB / 0.638 GB, free: 13.66 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002834/0.6114, allocations: 0.9457 MB / 0.639 GB, free: 12.71 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.613, allocations: 0.689 MB / 0.6396 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002152/0.6133, allocations: 32 kB / 0.6397 GB, free: 11.99 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.615, allocations: 0.5227 MB / 0.6402 GB, free: 11.47 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003747/0.6154, allocations: 247.2 kB / 0.6404 GB, free: 11.23 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006701/0.616, allocations: 396 kB / 0.6408 GB, free: 10.83 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.6181, allocations: 1.258 MB / 0.642 GB, free: 9.57 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6182, allocations: 4 kB / 0.642 GB, free: 9.566 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.6182, allocations: 0 / 0.642 GB, free: 9.566 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.6182, allocations: 0 / 0.642 GB, free: 9.566 MB / 478.1 MB 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.00247/0.6207, allocations: 0.9432 MB / 0.6429 GB, free: 8.57 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/0.6207, allocations: 11.97 kB / 0.643 GB, free: 8.559 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008089/0.6215, allocations: 139.1 kB / 0.6431 GB, free: 8.422 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000783/0.6223, allocations: 0.504 MB / 0.6436 GB, free: 7.879 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.6225, allocations: 108.4 kB / 0.6437 GB, free: 7.758 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.6227, allocations: 51.94 kB / 0.6437 GB, free: 7.707 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.624, allocations: 0.8136 MB / 0.6445 GB, free: 6.82 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.6241, allocations: 7.938 kB / 0.6445 GB, free: 6.812 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.913e-05/0.6242, allocations: 23.98 kB / 0.6446 GB, free: 6.789 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.167e-05/0.6242, allocations: 44.98 kB / 0.6446 GB, free: 6.746 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.6252, allocations: 0.6204 MB / 0.6452 GB, free: 6.125 MB / 478.1 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.004286/0.6295, allocations: 3.965 MB / 0.6491 GB, free: 1.902 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005852/0.6301, allocations: 357.9 kB / 0.6494 GB, free: 1.547 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.6304, allocations: 165.3 kB / 0.6496 GB, free: 1.383 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.6306, allocations: 97.36 kB / 0.6497 GB, free: 1.27 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.6306, allocations: 38.84 kB / 0.6497 GB, free: 1.223 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.144e-06/0.6306, allocations: 3.938 kB / 0.6497 GB, free: 1.219 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005451/0.6361, allocations: 1.665 MB / 0.6513 GB, free: 15.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.271e-05/0.6362, allocations: 136.5 kB / 0.6515 GB, free: 15.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006615/0.6368, allocations: 0.6132 MB / 0.6521 GB, free: 14.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.6369, allocations: 33.7 kB / 0.6521 GB, free: 14.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.6371, allocations: 370.9 kB / 0.6525 GB, free: 14.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.6373, allocations: 138 kB / 0.6526 GB, free: 14.15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.893e-05/0.6374, allocations: 65.69 kB / 0.6526 GB, free: 14.08 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.6375, allocations: 374.8 kB / 0.653 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.6379, allocations: 201.9 kB / 0.6532 GB, free: 13.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005406/0.6384, allocations: 0.5203 MB / 0.6537 GB, free: 12.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009231/0.6394, allocations: 0.7523 MB / 0.6544 GB, free: 11.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.6394, allocations: 4 kB / 0.6544 GB, free: 11.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001394/0.6408, allocations: 0.8837 MB / 0.6553 GB, free: 11.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.6408, allocations: 12 kB / 0.6553 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.6408, allocations: 8 kB / 0.6553 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001384/0.6422, allocations: 321 kB / 0.6556 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/0.6426, allocations: 127.8 kB / 0.6558 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.6437, allocations: 0.9337 MB / 0.6567 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005147/0.6442, allocations: 51.94 kB / 0.6567 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.598e-05/0.6443, allocations: 67.98 kB / 0.6568 GB, free: 9.516 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003423/0.6447, allocations: 246 kB / 0.657 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.6448, allocations: 63.25 kB / 0.6571 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/0.6465, allocations: 0.8619 MB / 0.6579 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.6465, allocations: 4 kB / 0.6579 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.6465, allocations: 3.938 kB / 0.6579 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.829e-05/0.6466, allocations: 3.984 kB / 0.6579 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/0.6485, allocations: 1.461 MB / 0.6594 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6486, allocations: 192 / 0.6594 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.6496, allocations: 215.8 kB / 0.6596 GB, free: 6.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.464e-05/0.6497, allocations: 32.72 kB / 0.6596 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/0.6497, allocations: 23.98 kB / 0.6596 GB, free: 6.445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.6516, allocations: 2.684 MB / 0.6622 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6516, allocations: 0 / 0.6622 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.6528, allocations: 0.8129 MB / 0.663 GB, free: 2.648 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.653, allocations: 192.2 kB / 0.6632 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.441e-05/0.6531, allocations: 11.94 kB / 0.6632 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.6535, allocations: 35.97 kB / 0.6633 GB, free: 2.395 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.516e-05/0.6536, allocations: 43.89 kB / 0.6633 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.423e-05/0.6537, allocations: 39.98 kB / 0.6633 GB, free: 2.312 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004918/0.6542, allocations: 439 kB / 0.6638 GB, free: 1.887 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6542, allocations: 0 / 0.6638 GB, free: 1.887 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009085/0.6551, allocations: 252 kB / 0.664 GB, free: 1.641 MB / 494.1 MB 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0007547/0.6559, allocations: 294.3 kB / 0.6643 GB, free: 1.348 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.657, allocations: 0.5514 MB / 0.6648 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.657, allocations: 0 / 0.6648 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000982/0.658, allocations: 411.1 kB / 0.6652 GB, free: 396 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.6598, allocations: 356 kB / 0.6656 GB, free: 48 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.6619, allocations: 1.647 MB / 0.6672 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.6624, allocations: 0.93 MB / 0.6681 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00118/0.6636, allocations: 472.9 kB / 0.6685 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/0.6639, allocations: 115.4 kB / 0.6686 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of SimCode: time 1.272e-06/0.6639, allocations: 0 / 0.6686 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.02653/0.6905, allocations: 16.72 MB / 0.685 GB, free: 12.25 MB / 0.5138 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches