Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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 3.2.3+maint.om/package.mo", uses=false) 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 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(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 103.9 kB / 18.39 MB, free: 4.656 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.001322/0.001322, allocations: 190.4 kB / 19.33 MB, free: 3.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 47.94 kB / 329.2 MB, free: 3.246 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09224/0.09338, allocations: 46.62 MB / 375.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.363/0.4565, allocations: 144 MB / 0.5077 GB, free: 15.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002591/0.4591, allocations: 1.726 MB / 0.5094 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003485/0.4595, allocations: 9.906 kB / 0.5094 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007563/0.4603, allocations: 178.8 kB / 0.5096 GB, free: 13.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007885/0.4611, allocations: 318.3 kB / 0.5099 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.4623, allocations: 432.9 kB / 0.5103 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001426/0.4637, allocations: 0.8369 MB / 0.5111 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.464, allocations: 92.7 kB / 0.5112 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008772/0.4649, allocations: 406.6 kB / 0.5116 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005809/0.4655, allocations: 334.8 kB / 0.5119 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.311e-05/0.4656, allocations: 32 kB / 0.5119 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003931/0.466, allocations: 131.7 kB / 0.512 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.4661, allocations: 91.77 kB / 0.5121 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.4664, allocations: 187.3 kB / 0.5123 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005467/0.4669, allocations: 495.8 kB / 0.5128 GB, free: 10.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.467, allocations: 7.938 kB / 0.5128 GB, free: 10.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.467, allocations: 0 / 0.5128 GB, free: 10.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.467, allocations: 0 / 0.5128 GB, free: 10.06 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008969/0.4679, allocations: 0.5894 MB / 0.5134 GB, free: 9.422 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.4679, allocations: 11.89 kB / 0.5134 GB, free: 9.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002796/0.4682, allocations: 44.55 kB / 0.5134 GB, free: 9.367 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.4687, allocations: 295.7 kB / 0.5137 GB, free: 9.039 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.4687, allocations: 16.94 kB / 0.5137 GB, free: 9.023 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.329e-05/0.4687, allocations: 25.78 kB / 0.5137 GB, free: 9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.4692, allocations: 305.7 kB / 0.514 GB, free: 8.684 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.4692, allocations: 0 / 0.514 GB, free: 8.684 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.4693, allocations: 16 kB / 0.514 GB, free: 8.668 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.4693, allocations: 4 kB / 0.514 GB, free: 8.664 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.4696, allocations: 210.1 kB / 0.5142 GB, free: 8.461 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.4713, allocations: 1.285 MB / 0.5155 GB, free: 7.051 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.4717, allocations: 190.6 kB / 0.5157 GB, free: 6.855 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.4718, allocations: 92.83 kB / 0.5158 GB, free: 6.762 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/0.472, allocations: 170.2 kB / 0.5159 GB, free: 6.559 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.472, allocations: 38.56 kB / 0.516 GB, free: 6.512 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.523e-06/0.472, allocations: 0 / 0.516 GB, free: 6.512 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.002399/0.4744, allocations: 1.03 MB / 0.517 GB, free: 5.383 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.4745, allocations: 59.33 kB / 0.517 GB, free: 5.312 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.4748, allocations: 266.5 kB / 0.5173 GB, free: 5.043 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.4748, allocations: 33.7 kB / 0.5173 GB, free: 5.004 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.4749, allocations: 168.2 kB / 0.5175 GB, free: 4.836 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.35e-05/0.475, allocations: 98.62 kB / 0.5176 GB, free: 4.738 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.172e-05/0.4751, allocations: 61.7 kB / 0.5176 GB, free: 4.672 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4753, allocations: 342.8 kB / 0.518 GB, free: 4.328 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.4754, allocations: 79.97 kB / 0.518 GB, free: 4.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.4756, allocations: 183.7 kB / 0.5182 GB, free: 4.027 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.476, allocations: 279.8 kB / 0.5185 GB, free: 3.711 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.476, allocations: 4 kB / 0.5185 GB, free: 3.707 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000597/0.4766, allocations: 447.8 kB / 0.5189 GB, free: 3.238 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4766, allocations: 8 kB / 0.5189 GB, free: 3.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4766, allocations: 0 / 0.5189 GB, free: 3.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001592/0.4768, allocations: 46.11 kB / 0.519 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.4771, allocations: 79.89 kB / 0.519 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/0.4791, allocations: 2.76 MB / 0.5217 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.4793, allocations: 8 kB / 0.5217 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.4793, allocations: 19.98 kB / 0.5218 GB, free: 36 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001849/0.4795, allocations: 161.6 kB / 0.5219 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.205e-05/0.4796, allocations: 27.81 kB / 0.5219 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000525/0.4801, allocations: 355.9 kB / 0.5223 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4801, allocations: 4 kB / 0.5223 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.4801, allocations: 0 / 0.5223 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005469/0.4807, allocations: 0.6191 MB / 0.5229 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009494/0.4817, allocations: 0.7592 MB / 0.5236 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4817, allocations: 0 / 0.5236 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.482, allocations: 55.91 kB / 0.5237 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.838e-05/0.482, allocations: 20.84 kB / 0.5237 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.4821, allocations: 7.984 kB / 0.5237 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000911/0.483, allocations: 1.393 MB / 0.5251 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.483, allocations: 0 / 0.5251 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006072/0.4836, allocations: 0.503 MB / 0.5256 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.242e-05/0.4837, allocations: 104.8 kB / 0.5257 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.4837, allocations: 7.938 kB / 0.5257 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.484, allocations: 12.12 kB / 0.5257 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.484, allocations: 19.97 kB / 0.5257 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.4841, allocations: 15.98 kB / 0.5257 GB, free: 11.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001776/0.4842, allocations: 178 kB / 0.5259 GB, free: 11.38 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.262e-06/0.4843, allocations: 4 kB / 0.5259 GB, free: 11.38 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004351/0.4847, allocations: 111.9 kB / 0.526 GB, free: 11.27 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 24 * 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): 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.000268/0.485, allocations: 143.1 kB / 0.5261 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006542/0.4856, allocations: 453 kB / 0.5266 GB, free: 10.65 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4856, allocations: 0 / 0.5266 GB, free: 10.65 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.4859, allocations: 219.5 kB / 0.5268 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008212/0.4867, allocations: 161.3 kB / 0.5269 GB, free: 10.28 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.4879, allocations: 0.7109 MB / 0.5276 GB, free: 9.539 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.4882, allocations: 0.7606 MB / 0.5284 GB, free: 8.754 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.974e-05/0.4883, allocations: 39.42 kB / 0.5284 GB, free: 8.715 MB / 462.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4883, allocations: 0 / 0.5284 GB, free: 8.715 MB / 462.1 MB Notification: Performance of Templates: time 0.008757/0.4971, allocations: 6.451 MB / 0.5347 GB, free: 2.258 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches