Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001422/0.001422, allocations: 180 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009496/0.0009496, allocations: 85.02 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3417/0.3417, allocations: 43.56 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.0003952, allocations: 12 kB / 431.4 MB, free: 6.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1093, allocations: 58.84 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3112/0.4205, allocations: 134.3 MB / 0.6099 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006711/0.4272, allocations: 5.332 MB / 0.6152 GB, free: 11.29 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007461/0.428, allocations: 27.75 kB / 0.6152 GB, free: 11.27 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009382/0.429, allocations: 270.4 kB / 0.6154 GB, free: 11 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001992/0.431, allocations: 0.8083 MB / 0.6162 GB, free: 10.19 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.4332, allocations: 0.7928 MB / 0.617 GB, free: 9.406 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002302/0.4355, allocations: 2.199 MB / 0.6192 GB, free: 7.203 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007103/0.4362, allocations: 380.8 kB / 0.6195 GB, free: 6.832 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.4375, allocations: 0.6577 MB / 0.6202 GB, free: 6.172 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.4387, allocations: 0.6969 MB / 0.6208 GB, free: 5.473 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001599/0.4389, allocations: 32 kB / 0.6209 GB, free: 5.441 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.4399, allocations: 415.2 kB / 0.6213 GB, free: 5.035 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003117/0.4403, allocations: 239.2 kB / 0.6215 GB, free: 4.801 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000363/0.4406, allocations: 157.4 kB / 0.6216 GB, free: 4.641 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.442, allocations: 0.8124 MB / 0.6224 GB, free: 3.828 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.442, allocations: 0 / 0.6224 GB, free: 3.828 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.442, allocations: 0 / 0.6224 GB, free: 3.828 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.026e-05/0.4421, allocations: 0 / 0.6224 GB, free: 3.828 MB / 442.7 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.002054/0.4441, allocations: 0.9191 MB / 0.6233 GB, free: 2.855 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.4442, allocations: 16.02 kB / 0.6233 GB, free: 2.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004014/0.4446, allocations: 95.09 kB / 0.6234 GB, free: 2.746 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008687/0.4455, allocations: 0.4966 MB / 0.6239 GB, free: 2.211 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.4456, allocations: 97.28 kB / 0.624 GB, free: 2.102 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.46e-05/0.4457, allocations: 48 kB / 0.6241 GB, free: 2.055 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.4472, allocations: 0.812 MB / 0.6249 GB, free: 1.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.4473, allocations: 11.89 kB / 0.6249 GB, free: 1.168 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-05/0.4474, allocations: 24 kB / 0.6249 GB, free: 1.145 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.625e-05/0.4474, allocations: 44.91 kB / 0.6249 GB, free: 1.102 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.4487, allocations: 0.6439 MB / 0.6256 GB, free: 468 kB / 442.7 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.005636/0.4544, allocations: 3.966 MB / 0.6294 GB, free: 12.21 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007921/0.4552, allocations: 430.7 kB / 0.6298 GB, free: 11.79 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.4555, allocations: 204.4 kB / 0.63 GB, free: 11.59 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005949/0.4561, allocations: 0.7327 MB / 0.6308 GB, free: 10.69 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.4562, allocations: 42.89 kB / 0.6308 GB, free: 10.64 MB / 458.7 MB Notification: Performance of pre-optimization done (n=40): time 2.795e-06/0.4562, allocations: 0 / 0.6308 GB, free: 10.64 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.003236/0.4594, allocations: 1.54 MB / 0.6323 GB, free: 9.027 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.4595, allocations: 136.5 kB / 0.6324 GB, free: 8.863 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006558/0.4602, allocations: 0.5654 MB / 0.633 GB, free: 8.289 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.555e-05/0.4603, allocations: 37.69 kB / 0.633 GB, free: 8.246 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/0.4605, allocations: 347.1 kB / 0.6333 GB, free: 7.902 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.4607, allocations: 165.6 kB / 0.6335 GB, free: 7.738 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.4607, allocations: 16 kB / 0.6335 GB, free: 7.723 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4609, allocations: 374.7 kB / 0.6339 GB, free: 7.348 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.4612, allocations: 221.9 kB / 0.6341 GB, free: 7.129 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000542/0.4618, allocations: 0.5123 MB / 0.6346 GB, free: 6.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005008/0.4623, allocations: 312.6 kB / 0.6349 GB, free: 6.176 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.4623, allocations: 0 / 0.6349 GB, free: 6.176 MB / 458.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001771/0.4641, allocations: 0.8984 MB / 0.6358 GB, free: 5.266 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.4641, allocations: 15.95 kB / 0.6358 GB, free: 5.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.4641, allocations: 8 kB / 0.6358 GB, free: 5.242 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/0.4656, allocations: 296 kB / 0.6361 GB, free: 4.953 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.4661, allocations: 119.8 kB / 0.6362 GB, free: 4.836 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.4671, allocations: 0.8867 MB / 0.6371 GB, free: 3.926 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005604/0.4677, allocations: 48.03 kB / 0.6371 GB, free: 3.879 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.269e-05/0.4677, allocations: 32 kB / 0.6371 GB, free: 3.848 MB / 458.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003587/0.4681, allocations: 257.5 kB / 0.6374 GB, free: 3.586 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.4682, allocations: 63.25 kB / 0.6374 GB, free: 3.523 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.4695, allocations: 0.7746 MB / 0.6382 GB, free: 2.723 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.4696, allocations: 4 kB / 0.6382 GB, free: 2.719 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4696, allocations: 0 / 0.6382 GB, free: 2.719 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.4696, allocations: 7.984 kB / 0.6382 GB, free: 2.711 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.4716, allocations: 1.419 MB / 0.6396 GB, free: 1.195 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.4716, allocations: 4 kB / 0.6396 GB, free: 1.191 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.4727, allocations: 199.8 kB / 0.6398 GB, free: 0.9961 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.315e-05/0.4728, allocations: 24.84 kB / 0.6398 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/0.4728, allocations: 12 kB / 0.6398 GB, free: 0.957 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.4749, allocations: 2.674 MB / 0.6424 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4749, allocations: 7.875 kB / 0.6424 GB, free: 14.01 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.4763, allocations: 1.003 MB / 0.6434 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/0.4767, allocations: 204.3 kB / 0.6436 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.803e-05/0.4768, allocations: 12 kB / 0.6436 GB, free: 12.72 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004759/0.4773, allocations: 39.89 kB / 0.6437 GB, free: 12.68 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.466e-05/0.4774, allocations: 35.91 kB / 0.6437 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.835e-05/0.4774, allocations: 27.98 kB / 0.6437 GB, free: 12.62 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004985/0.4779, allocations: 411 kB / 0.6441 GB, free: 12.22 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4779, allocations: 0 / 0.6441 GB, free: 12.22 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007908/0.4787, allocations: 216 kB / 0.6443 GB, free: 12.01 MB / 474.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005368/0.4793, allocations: 243.9 kB / 0.6446 GB, free: 11.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.4806, allocations: 0.5952 MB / 0.6451 GB, free: 11.17 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4806, allocations: 0 / 0.6451 GB, free: 11.17 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.4816, allocations: 446.6 kB / 0.6456 GB, free: 10.72 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/0.4834, allocations: 324.1 kB / 0.6459 GB, free: 10.41 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.4858, allocations: 1.683 MB / 0.6475 GB, free: 8.68 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005658/0.4864, allocations: 0.9308 MB / 0.6484 GB, free: 7.723 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.4866, allocations: 75.41 kB / 0.6485 GB, free: 7.648 MB / 474.7 MB Notification: Performance of SimCode: time 6.41e-07/0.4866, allocations: 0 / 0.6485 GB, free: 7.648 MB / 474.7 MB Notification: Performance of Templates: time 0.02238/0.509, allocations: 15.43 MB / 0.6636 GB, free: 8.242 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches