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.001481/0.001482, allocations: 113.2 kB / 17.73 MB, free: 5.336 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.001705/0.001705, allocations: 188.2 kB / 18.67 MB, free: 4.402 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.453/1.453, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.00124/0.00124, allocations: 55.92 kB / 328.6 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08901/0.09026, allocations: 46.61 MB / 375.2 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3359/0.4262, allocations: 144 MB / 0.507 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002971/0.4293, allocations: 1.726 MB / 0.5087 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003963/0.4297, allocations: 4 kB / 0.5087 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008246/0.4306, allocations: 178.9 kB / 0.5089 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009964/0.4316, allocations: 326.2 kB / 0.5092 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.433, allocations: 427.5 kB / 0.5096 GB, free: 12.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.4344, allocations: 0.8446 MB / 0.5104 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002889/0.4347, allocations: 92.69 kB / 0.5105 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.4358, allocations: 402.7 kB / 0.5109 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004278/0.4362, allocations: 322.8 kB / 0.5112 GB, free: 11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.623e-05/0.4363, allocations: 32 kB / 0.5112 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003325/0.4366, allocations: 131.7 kB / 0.5114 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.4367, allocations: 99.77 kB / 0.5115 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.4369, allocations: 183.2 kB / 0.5116 GB, free: 10.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005882/0.4375, allocations: 497.8 kB / 0.5121 GB, free: 10.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-05/0.4376, allocations: 0 / 0.5121 GB, free: 10.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.4376, allocations: 11.94 kB / 0.5121 GB, free: 10.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.4376, allocations: 0 / 0.5121 GB, free: 10.07 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.0009289/0.4385, allocations: 0.5937 MB / 0.5127 GB, free: 9.426 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.4386, allocations: 11.89 kB / 0.5127 GB, free: 9.414 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004362/0.439, allocations: 44.73 kB / 0.5128 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006398/0.4397, allocations: 303.8 kB / 0.5131 GB, free: 9.035 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.659e-05/0.4397, allocations: 16.94 kB / 0.5131 GB, free: 9.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-05/0.4398, allocations: 24.38 kB / 0.5131 GB, free: 8.996 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005956/0.4404, allocations: 301.7 kB / 0.5134 GB, free: 8.684 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.4404, allocations: 0 / 0.5134 GB, free: 8.684 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.883e-05/0.4405, allocations: 12 kB / 0.5134 GB, free: 8.672 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.4405, allocations: 12 kB / 0.5134 GB, free: 8.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.4408, allocations: 206.1 kB / 0.5136 GB, free: 8.461 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.4427, allocations: 1.293 MB / 0.5149 GB, free: 7.043 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/0.4431, allocations: 182.6 kB / 0.515 GB, free: 6.855 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.4433, allocations: 92.83 kB / 0.5151 GB, free: 6.762 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.4435, allocations: 174.1 kB / 0.5153 GB, free: 6.555 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.4435, allocations: 38.56 kB / 0.5153 GB, free: 6.508 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.753e-06/0.4435, allocations: 3.938 kB / 0.5153 GB, free: 6.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.00237/0.4459, allocations: 1.042 MB / 0.5163 GB, free: 5.363 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.4459, allocations: 51.41 kB / 0.5164 GB, free: 5.301 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.4462, allocations: 262.5 kB / 0.5166 GB, free: 5.035 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.4463, allocations: 33.7 kB / 0.5167 GB, free: 4.996 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.4464, allocations: 172.5 kB / 0.5168 GB, free: 4.824 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.096e-05/0.4465, allocations: 103.1 kB / 0.5169 GB, free: 4.723 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.082e-05/0.4466, allocations: 65.66 kB / 0.517 GB, free: 4.652 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.4467, allocations: 342.8 kB / 0.5173 GB, free: 4.309 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.4469, allocations: 79.91 kB / 0.5174 GB, free: 4.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.4471, allocations: 179.8 kB / 0.5176 GB, free: 4.012 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.4475, allocations: 288.7 kB / 0.5179 GB, free: 3.688 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4475, allocations: 0 / 0.5179 GB, free: 3.688 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006039/0.4481, allocations: 447.9 kB / 0.5183 GB, free: 3.219 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.4481, allocations: 8 kB / 0.5183 GB, free: 3.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4481, allocations: 4 kB / 0.5183 GB, free: 3.207 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/0.4483, allocations: 38.11 kB / 0.5183 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.4487, allocations: 83.83 kB / 0.5184 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002309/0.451, allocations: 2.768 MB / 0.5211 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.4512, allocations: 8 kB / 0.5211 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.4512, allocations: 19.98 kB / 0.5211 GB, free: 8 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.0001859/0.4514, allocations: 149.7 kB / 0.5213 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.461e-05/0.4515, allocations: 27.81 kB / 0.5213 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005456/0.4521, allocations: 366.7 kB / 0.5217 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4521, allocations: 0 / 0.5217 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.4521, allocations: 0 / 0.5217 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005294/0.4526, allocations: 0.6153 MB / 0.5223 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009162/0.4535, allocations: 0.763 MB / 0.523 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4536, allocations: 1.875 kB / 0.523 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.4538, allocations: 55.97 kB / 0.5231 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.939e-05/0.4539, allocations: 24.78 kB / 0.5231 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.4539, allocations: 4 kB / 0.5231 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008543/0.4548, allocations: 1.379 MB / 0.5244 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4548, allocations: 4.094 kB / 0.5244 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006186/0.4554, allocations: 0.5188 MB / 0.5249 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.351e-05/0.4555, allocations: 102.8 kB / 0.525 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.4556, allocations: 11.94 kB / 0.5251 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.4558, allocations: 8 kB / 0.5251 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.4559, allocations: 24.03 kB / 0.5251 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.4559, allocations: 11.98 kB / 0.5251 GB, free: 11.53 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001659/0.4561, allocations: 193.8 kB / 0.5253 GB, free: 11.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4561, allocations: 0 / 0.5253 GB, free: 11.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004447/0.4565, allocations: 103.9 kB / 0.5254 GB, free: 11.24 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.0002576/0.4568, allocations: 135.1 kB / 0.5255 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006607/0.4575, allocations: 449.1 kB / 0.5259 GB, free: 10.63 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4575, allocations: 4 kB / 0.5259 GB, free: 10.63 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.4577, allocations: 215.3 kB / 0.5261 GB, free: 10.41 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008963/0.4586, allocations: 164.2 kB / 0.5263 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.4598, allocations: 0.686 MB / 0.527 GB, free: 9.547 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.4601, allocations: 0.7645 MB / 0.5277 GB, free: 8.758 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002519/0.4604, allocations: 58.88 kB / 0.5278 GB, free: 8.695 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.183e-05/0.4605, allocations: 31.42 kB / 0.5278 GB, free: 8.664 MB / 462.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4605, allocations: 0 / 0.5278 GB, free: 8.664 MB / 462.1 MB Notification: Performance of Templates: time 0.01089/0.4714, allocations: 6.222 MB / 0.5339 GB, free: 2.438 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/jenkins/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/jenkins/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