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.001562/0.001562, allocations: 112.3 kB / 17.33 MB, free: 6.012 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.001551/0.001551, allocations: 193.3 kB / 18.25 MB, free: 5.102 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.422/1.422, allocations: 222.9 MB / 241.9 MB, free: 15.44 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.2447/0.2447, allocations: 44.19 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 64.86 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.108, allocations: 60.83 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.414/0.522, allocations: 146.1 MB / 0.6004 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008154/0.5302, allocations: 5.662 MB / 0.606 GB, free: 9.348 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009778/0.5312, allocations: 23.81 kB / 0.606 GB, free: 9.324 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.5326, allocations: 286.5 kB / 0.6063 GB, free: 9.043 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002351/0.535, allocations: 0.8049 MB / 0.607 GB, free: 8.234 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.5379, allocations: 0.9564 MB / 0.608 GB, free: 7.289 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002118/0.54, allocations: 1.806 MB / 0.6097 GB, free: 5.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006114/0.5406, allocations: 462.1 kB / 0.6102 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.5418, allocations: 0.7629 MB / 0.6109 GB, free: 4.262 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009769/0.5428, allocations: 0.7397 MB / 0.6116 GB, free: 3.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.5429, allocations: 60 kB / 0.6117 GB, free: 3.461 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.5441, allocations: 0.5419 MB / 0.6122 GB, free: 2.918 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.5443, allocations: 275.2 kB / 0.6125 GB, free: 2.648 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003843/0.5447, allocations: 398.2 kB / 0.6129 GB, free: 2.258 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.546, allocations: 1.137 MB / 0.614 GB, free: 1.117 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.546, allocations: 0 / 0.614 GB, free: 1.117 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5461, allocations: 0 / 0.614 GB, free: 1.117 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.5461, allocations: 4 kB / 0.614 GB, free: 1.113 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.00207/0.5481, allocations: 1.052 MB / 0.615 GB, free: 12 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.5482, allocations: 12.03 kB / 0.615 GB, free: 0 / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003899/0.5486, allocations: 92.25 kB / 0.6151 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007307/0.5493, allocations: 0.517 MB / 0.6156 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.5495, allocations: 96.97 kB / 0.6157 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.224e-05/0.5496, allocations: 56.53 kB / 0.6158 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.5508, allocations: 0.811 MB / 0.6166 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.5508, allocations: 0 / 0.6166 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.368e-05/0.5509, allocations: 31.92 kB / 0.6166 GB, free: 14.28 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-05/0.551, allocations: 40.98 kB / 0.6166 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.552, allocations: 0.6517 MB / 0.6173 GB, free: 13.59 MB / 462.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.00439/0.5564, allocations: 3.959 MB / 0.6211 GB, free: 9.344 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000805/0.5572, allocations: 427.9 kB / 0.6215 GB, free: 8.918 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/0.5576, allocations: 209.4 kB / 0.6217 GB, free: 8.711 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005901/0.5582, allocations: 0.7327 MB / 0.6225 GB, free: 7.812 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.5582, allocations: 43.2 kB / 0.6225 GB, free: 7.762 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.124e-06/0.5582, allocations: 0 / 0.6225 GB, free: 7.762 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003184/0.5614, allocations: 1.549 MB / 0.624 GB, free: 6.141 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.5615, allocations: 132.5 kB / 0.6241 GB, free: 5.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006232/0.5621, allocations: 0.5693 MB / 0.6247 GB, free: 5.402 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/0.5622, allocations: 37.7 kB / 0.6247 GB, free: 5.359 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.5624, allocations: 354.9 kB / 0.6251 GB, free: 5.008 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.5625, allocations: 161.7 kB / 0.6252 GB, free: 4.848 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.5628, allocations: 142.5 kB / 0.6254 GB, free: 4.703 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5629, allocations: 370.8 kB / 0.6257 GB, free: 4.332 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/0.5633, allocations: 221.9 kB / 0.6259 GB, free: 4.113 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00053/0.5638, allocations: 0.5084 MB / 0.6264 GB, free: 3.465 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009375/0.5648, allocations: 0.7601 MB / 0.6272 GB, free: 2.574 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.5648, allocations: 4.875 kB / 0.6272 GB, free: 2.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001582/0.5664, allocations: 0.9099 MB / 0.6281 GB, free: 1.652 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.5664, allocations: 11.94 kB / 0.6281 GB, free: 1.641 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.5664, allocations: 8 kB / 0.6281 GB, free: 1.633 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/0.5679, allocations: 293 kB / 0.6283 GB, free: 1.344 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/0.5683, allocations: 123.8 kB / 0.6285 GB, free: 1.223 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009899/0.5693, allocations: 0.8822 MB / 0.6293 GB, free: 328 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005005/0.5698, allocations: 49.47 kB / 0.6294 GB, free: 280 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.318e-05/0.5699, allocations: 36 kB / 0.6294 GB, free: 244 kB / 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.0003304/0.5702, allocations: 250 kB / 0.6296 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.5703, allocations: 75.09 kB / 0.6297 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.5716, allocations: 0.7717 MB / 0.6305 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.5716, allocations: 8 kB / 0.6305 GB, free: 15.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.5716, allocations: 3.984 kB / 0.6305 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.5716, allocations: 0 / 0.6305 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.5736, allocations: 1.411 MB / 0.6319 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.5736, allocations: 4 kB / 0.6319 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.5747, allocations: 203.7 kB / 0.6321 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.968e-05/0.5748, allocations: 29.03 kB / 0.6321 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.251e-05/0.5748, allocations: 19.98 kB / 0.6321 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/0.5769, allocations: 2.869 MB / 0.6349 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.5769, allocations: 0 / 0.6349 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.5783, allocations: 1.007 MB / 0.6359 GB, free: 9.121 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/0.5785, allocations: 212.2 kB / 0.6361 GB, free: 8.895 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.477e-05/0.5786, allocations: 16 kB / 0.6361 GB, free: 8.879 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004395/0.5791, allocations: 23.98 kB / 0.6361 GB, free: 8.855 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.924e-05/0.5792, allocations: 35.89 kB / 0.6362 GB, free: 8.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.774e-05/0.5792, allocations: 27.98 kB / 0.6362 GB, free: 8.793 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000494/0.5797, allocations: 431 kB / 0.6366 GB, free: 8.375 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5798, allocations: 4 kB / 0.6366 GB, free: 8.371 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008092/0.5806, allocations: 219.9 kB / 0.6368 GB, free: 8.156 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.0006401/0.5812, allocations: 270.3 kB / 0.6371 GB, free: 7.891 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.5826, allocations: 0.6695 MB / 0.6377 GB, free: 7.227 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.5827, allocations: 0 / 0.6377 GB, free: 7.227 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.5838, allocations: 451.3 kB / 0.6382 GB, free: 6.773 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/0.5855, allocations: 374.1 kB / 0.6385 GB, free: 6.422 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.5882, allocations: 1.614 MB / 0.6401 GB, free: 4.762 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000686/0.5889, allocations: 0.9385 MB / 0.641 GB, free: 3.797 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007212/0.5896, allocations: 213.5 kB / 0.6412 GB, free: 3.598 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.5898, allocations: 63.42 kB / 0.6413 GB, free: 3.535 MB / 478.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5898, allocations: 0 / 0.6413 GB, free: 3.535 MB / 478.1 MB Notification: Performance of Templates: time 0.032/0.6218, allocations: 15.44 MB / 0.6564 GB, free: 4.266 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/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