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.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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 100 kB / 18.01 MB, free: 5.73 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.001444/0.001445, allocations: 177.8 kB / 18.91 MB, free: 4.871 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.452/1.452, allocations: 223.3 MB / 242.9 MB, free: 14.39 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.2268/0.2268, allocations: 44.24 MB / 338.3 MB, free: 2.441 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003388, allocations: 8.938 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.113, allocations: 61.93 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3821/0.4951, allocations: 144 MB / 0.6025 GB, free: 2.215 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007937/0.5031, allocations: 5.658 MB / 0.608 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009579/0.5041, allocations: 27.75 kB / 0.608 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.5051, allocations: 286.5 kB / 0.6083 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.5073, allocations: 0.8166 MB / 0.6091 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002656/0.51, allocations: 0.9342 MB / 0.61 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002906/0.5129, allocations: 2.678 MB / 0.6126 GB, free: 7.812 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008182/0.5138, allocations: 397 kB / 0.613 GB, free: 7.418 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.5152, allocations: 0.6615 MB / 0.6137 GB, free: 6.754 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.5166, allocations: 0.728 MB / 0.6144 GB, free: 6.023 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.5168, allocations: 32 kB / 0.6144 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.5181, allocations: 0.5302 MB / 0.6149 GB, free: 5.461 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003709/0.5185, allocations: 239.2 kB / 0.6151 GB, free: 5.227 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006189/0.5191, allocations: 395.9 kB / 0.6155 GB, free: 4.832 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.5202, allocations: 0.8361 MB / 0.6163 GB, free: 3.996 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.5202, allocations: 0 / 0.6163 GB, free: 3.996 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5203, allocations: 0 / 0.6163 GB, free: 3.996 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.711e-05/0.5203, allocations: 0 / 0.6163 GB, free: 3.996 MB / 446.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.002085/0.5224, allocations: 0.9161 MB / 0.6172 GB, free: 3.031 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.5224, allocations: 15.97 kB / 0.6173 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000428/0.5229, allocations: 84.09 kB / 0.6173 GB, free: 2.934 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008814/0.5238, allocations: 0.517 MB / 0.6178 GB, free: 2.375 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.5239, allocations: 103.6 kB / 0.6179 GB, free: 2.266 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.524, allocations: 52.55 kB / 0.618 GB, free: 2.215 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.5253, allocations: 0.8071 MB / 0.6188 GB, free: 1.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.5254, allocations: 8 kB / 0.6188 GB, free: 1.332 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.343e-05/0.5254, allocations: 31.97 kB / 0.6188 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-05/0.5255, allocations: 44.91 kB / 0.6189 GB, free: 1.258 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.5266, allocations: 0.644 MB / 0.6195 GB, free: 0.6133 MB / 446.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.004694/0.5313, allocations: 3.959 MB / 0.6233 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007884/0.5321, allocations: 427 kB / 0.6238 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/0.5325, allocations: 209.4 kB / 0.624 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005774/0.5331, allocations: 0.7327 MB / 0.6247 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.5331, allocations: 38.89 kB / 0.6247 GB, free: 10.79 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.625e-06/0.5331, allocations: 0 / 0.6247 GB, free: 10.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003348/0.5365, allocations: 1.55 MB / 0.6262 GB, free: 9.172 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/0.5366, allocations: 140.5 kB / 0.6264 GB, free: 9.004 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007152/0.5373, allocations: 0.5693 MB / 0.6269 GB, free: 8.426 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.333e-05/0.5374, allocations: 37.7 kB / 0.6269 GB, free: 8.383 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.5376, allocations: 354.9 kB / 0.6273 GB, free: 8.031 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.5378, allocations: 157.8 kB / 0.6274 GB, free: 7.875 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.206e-05/0.5379, allocations: 69.67 kB / 0.6275 GB, free: 7.801 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.538, allocations: 374.8 kB / 0.6279 GB, free: 7.426 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003867/0.5384, allocations: 213.9 kB / 0.6281 GB, free: 7.219 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005559/0.539, allocations: 0.5201 MB / 0.6286 GB, free: 6.559 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009856/0.54, allocations: 0.7562 MB / 0.6293 GB, free: 5.672 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.54, allocations: 0 / 0.6293 GB, free: 5.672 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001682/0.5417, allocations: 0.9136 MB / 0.6302 GB, free: 4.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.5417, allocations: 11.94 kB / 0.6302 GB, free: 4.738 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.5418, allocations: 12 kB / 0.6302 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/0.5433, allocations: 293.1 kB / 0.6305 GB, free: 4.438 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.5437, allocations: 115.9 kB / 0.6306 GB, free: 4.324 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/0.5447, allocations: 0.8939 MB / 0.6315 GB, free: 3.406 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000546/0.5452, allocations: 52.5 kB / 0.6315 GB, free: 3.355 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.05e-05/0.5453, allocations: 35.98 kB / 0.6316 GB, free: 3.32 MB / 462.1 MB 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.0003534/0.5457, allocations: 246 kB / 0.6318 GB, free: 3.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.5458, allocations: 67.23 kB / 0.6319 GB, free: 3.004 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.5471, allocations: 0.7702 MB / 0.6326 GB, free: 2.199 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.5472, allocations: 4 kB / 0.6326 GB, free: 2.195 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.5472, allocations: 8 kB / 0.6326 GB, free: 2.188 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.5472, allocations: 7.984 kB / 0.6326 GB, free: 2.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.5492, allocations: 1.407 MB / 0.634 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.5492, allocations: 4 kB / 0.634 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.5503, allocations: 203.8 kB / 0.6342 GB, free: 484 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.14e-05/0.5504, allocations: 20.84 kB / 0.6342 GB, free: 460 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/0.5504, allocations: 16.19 kB / 0.6343 GB, free: 444 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.5524, allocations: 2.684 MB / 0.6369 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5524, allocations: 0 / 0.6369 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.5538, allocations: 1.019 MB / 0.6379 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003551/0.5542, allocations: 208.1 kB / 0.6381 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.5543, allocations: 16 kB / 0.6381 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/0.5548, allocations: 31.91 kB / 0.6381 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.942e-05/0.5549, allocations: 43.95 kB / 0.6382 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.223e-05/0.555, allocations: 19.98 kB / 0.6382 GB, free: 12.08 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005454/0.5555, allocations: 431 kB / 0.6386 GB, free: 11.66 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5555, allocations: 3.938 kB / 0.6386 GB, free: 11.66 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008525/0.5564, allocations: 220 kB / 0.6388 GB, free: 11.44 MB / 478.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 (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.00064/0.557, allocations: 262.6 kB / 0.639 GB, free: 11.18 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001273/0.5583, allocations: 0.607 MB / 0.6396 GB, free: 10.58 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.5584, allocations: 0 / 0.6396 GB, free: 10.58 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.5594, allocations: 439.3 kB / 0.6401 GB, free: 10.14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.5614, allocations: 355.4 kB / 0.6404 GB, free: 9.797 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.5639, allocations: 1.739 MB / 0.6421 GB, free: 8.008 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005134/0.5644, allocations: 0.931 MB / 0.643 GB, free: 7.051 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.5646, allocations: 67.42 kB / 0.6431 GB, free: 6.984 MB / 478.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5646, allocations: 0 / 0.6431 GB, free: 6.984 MB / 478.1 MB Notification: Performance of Templates: time 0.02253/0.5872, allocations: 15.81 MB / 0.6585 GB, free: 7.246 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (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 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) 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) Reference file matches