Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009197/0.0009196, allocations: 94.72 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00106/0.00106, allocations: 200.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.7 MB / 247.5 MB, free: 9.703 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.19/0.19, allocations: 46.19 MB / 345.9 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002555/0.0002555, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1146, allocations: 63.57 MB / 483.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3949/0.5095, allocations: 173.2 MB / 0.6416 GB, free: 7.383 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007189/0.5167, allocations: 5.414 MB / 0.6468 GB, free: 1.957 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000843/0.5176, allocations: 27.75 kB / 0.6469 GB, free: 1.93 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008936/0.5185, allocations: 274.5 kB / 0.6471 GB, free: 1.66 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003041/0.5216, allocations: 1.126 MB / 0.6482 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002238/0.5238, allocations: 0.8548 MB / 0.6491 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002828/0.5267, allocations: 2.737 MB / 0.6517 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007371/0.5274, allocations: 393.6 kB / 0.6521 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002078/0.5295, allocations: 0.9652 MB / 0.6531 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.5306, allocations: 0.6851 MB / 0.6537 GB, free: 10.9 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.5308, allocations: 32 kB / 0.6538 GB, free: 10.87 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.532, allocations: 0.5421 MB / 0.6543 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003101/0.5323, allocations: 235.3 kB / 0.6545 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004717/0.5328, allocations: 391.9 kB / 0.6549 GB, free: 9.703 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.534, allocations: 0.9509 MB / 0.6558 GB, free: 8.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.534, allocations: 4 kB / 0.6558 GB, free: 8.746 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.534, allocations: 0 / 0.6558 GB, free: 8.746 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.082e-05/0.534, allocations: 0 / 0.6558 GB, free: 8.746 MB / 494.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.002057/0.5361, allocations: 0.9543 MB / 0.6568 GB, free: 7.738 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.5361, allocations: 12.03 kB / 0.6568 GB, free: 7.727 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008639/0.537, allocations: 131.1 kB / 0.6569 GB, free: 7.598 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007632/0.5378, allocations: 0.5078 MB / 0.6574 GB, free: 7.051 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.5379, allocations: 108.4 kB / 0.6575 GB, free: 6.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.538, allocations: 48 kB / 0.6575 GB, free: 6.883 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.5393, allocations: 0.8136 MB / 0.6583 GB, free: 5.996 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/0.5393, allocations: 7.844 kB / 0.6583 GB, free: 5.988 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.974e-05/0.5394, allocations: 27.98 kB / 0.6584 GB, free: 5.961 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-05/0.5395, allocations: 40.98 kB / 0.6584 GB, free: 5.922 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.5405, allocations: 0.6243 MB / 0.659 GB, free: 5.297 MB / 494.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.004381/0.5449, allocations: 3.942 MB / 0.6629 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005762/0.5455, allocations: 359.6 kB / 0.6632 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.5458, allocations: 169.3 kB / 0.6634 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.5459, allocations: 89.38 kB / 0.6635 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.5459, allocations: 38.84 kB / 0.6635 GB, free: 440 kB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.753e-06/0.546, allocations: 0 / 0.6635 GB, free: 440 kB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.00553/0.5515, allocations: 1.67 MB / 0.6651 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/0.5516, allocations: 136.5 kB / 0.6652 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006975/0.5523, allocations: 0.6171 MB / 0.6659 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.256e-05/0.5524, allocations: 33.7 kB / 0.6659 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.5526, allocations: 362.9 kB / 0.6662 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.5528, allocations: 138 kB / 0.6664 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.244e-05/0.5529, allocations: 73.67 kB / 0.6664 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.553, allocations: 374.8 kB / 0.6668 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.5534, allocations: 209.8 kB / 0.667 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005506/0.5539, allocations: 0.5047 MB / 0.6675 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009759/0.5549, allocations: 0.7514 MB / 0.6682 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5549, allocations: 4 kB / 0.6682 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001472/0.5564, allocations: 0.8875 MB / 0.6691 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.5565, allocations: 15.98 kB / 0.6691 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.5565, allocations: 8 kB / 0.6691 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/0.5579, allocations: 323.5 kB / 0.6694 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/0.5583, allocations: 119.8 kB / 0.6695 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.5594, allocations: 0.9424 MB / 0.6705 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005267/0.5599, allocations: 44.05 kB / 0.6705 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.801e-05/0.56, allocations: 63.98 kB / 0.6706 GB, free: 8.719 MB / 0.4981 GB 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.0003381/0.5604, allocations: 253.7 kB / 0.6708 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.5605, allocations: 67.23 kB / 0.6709 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/0.5622, allocations: 0.8658 MB / 0.6717 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.5622, allocations: 11.92 kB / 0.6717 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.5623, allocations: 4 kB / 0.6717 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5623, allocations: 0 / 0.6717 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.5643, allocations: 1.453 MB / 0.6731 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.5643, allocations: 0 / 0.6731 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.5653, allocations: 212 kB / 0.6733 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.733e-05/0.5654, allocations: 28.75 kB / 0.6734 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.5655, allocations: 23.97 kB / 0.6734 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/0.5675, allocations: 2.681 MB / 0.676 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5675, allocations: 0 / 0.676 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.5687, allocations: 0.8207 MB / 0.6768 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/0.569, allocations: 196.2 kB / 0.677 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.5691, allocations: 11.94 kB / 0.677 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004417/0.5695, allocations: 39.98 kB / 0.677 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.5697, allocations: 35.95 kB / 0.6771 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-05/0.5697, allocations: 43.98 kB / 0.6771 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005333/0.5703, allocations: 439 kB / 0.6775 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5703, allocations: 0 / 0.6775 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008699/0.5711, allocations: 248 kB / 0.6778 GB, free: 0.8398 MB / 0.4981 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 (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.0007621/0.5719, allocations: 299 kB / 0.6781 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.5731, allocations: 0.5596 MB / 0.6786 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5731, allocations: 0 / 0.6786 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009418/0.574, allocations: 410.2 kB / 0.679 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/0.576, allocations: 354.8 kB / 0.6793 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.5783, allocations: 1.676 MB / 0.681 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/0.5788, allocations: 0.9261 MB / 0.6819 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004487/0.5793, allocations: 127.4 kB / 0.682 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.5793, allocations: 0 / 0.682 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of Templates: time 0.02241/0.6017, allocations: 16.44 MB / 0.6981 GB, free: 12.05 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p