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.001092/0.001092, allocations: 106.4 kB / 17.73 MB, free: 5.367 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.001072/0.001072, allocations: 183.1 kB / 18.66 MB, free: 4.445 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.33/1.33, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001483/0.001483, allocations: 55.94 kB / 328.6 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08891/0.0904, allocations: 46.62 MB / 375.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3511/0.4415, allocations: 144 MB / 0.507 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.4438, allocations: 1.727 MB / 0.5087 GB, free: 13.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.444, allocations: 4 kB / 0.5087 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005739/0.4446, allocations: 178.9 kB / 0.5089 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004915/0.4451, allocations: 334.2 kB / 0.5092 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009747/0.4461, allocations: 418.4 kB / 0.5096 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008775/0.447, allocations: 0.8446 MB / 0.5104 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.4472, allocations: 92.67 kB / 0.5105 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005453/0.4478, allocations: 402.7 kB / 0.5109 GB, free: 11.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004087/0.4482, allocations: 334.8 kB / 0.5112 GB, free: 11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.793e-05/0.4482, allocations: 32 kB / 0.5113 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002984/0.4485, allocations: 135.7 kB / 0.5114 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.4487, allocations: 91.78 kB / 0.5115 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.4489, allocations: 191.2 kB / 0.5117 GB, free: 10.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004921/0.4493, allocations: 491.8 kB / 0.5121 GB, free: 10.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4494, allocations: 0 / 0.5121 GB, free: 10.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4494, allocations: 1.5 kB / 0.5121 GB, free: 10.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.4494, allocations: 4 kB / 0.5121 GB, free: 10.08 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.0008052/0.4502, allocations: 0.5894 MB / 0.5127 GB, free: 9.445 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.4502, allocations: 11.89 kB / 0.5127 GB, free: 9.434 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002701/0.4505, allocations: 40.56 kB / 0.5128 GB, free: 9.395 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.4509, allocations: 299.7 kB / 0.513 GB, free: 9.062 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.4509, allocations: 20.94 kB / 0.5131 GB, free: 9.043 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/0.451, allocations: 24.38 kB / 0.5131 GB, free: 9.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004694/0.4514, allocations: 301.7 kB / 0.5134 GB, free: 8.707 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.4515, allocations: 0 / 0.5134 GB, free: 8.707 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.4515, allocations: 15.94 kB / 0.5134 GB, free: 8.691 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/0.4515, allocations: 8 kB / 0.5134 GB, free: 8.684 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000325/0.4519, allocations: 202.2 kB / 0.5136 GB, free: 8.488 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.4536, allocations: 1.293 MB / 0.5149 GB, free: 7.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.454, allocations: 190.6 kB / 0.515 GB, free: 6.875 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.4542, allocations: 92.83 kB / 0.5151 GB, free: 6.781 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.4543, allocations: 166.2 kB / 0.5153 GB, free: 6.582 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.4544, allocations: 42.5 kB / 0.5153 GB, free: 6.531 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.4544, allocations: 0 / 0.5153 GB, free: 6.531 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.002445/0.4568, allocations: 1.03 MB / 0.5163 GB, free: 5.402 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.4569, allocations: 63.34 kB / 0.5164 GB, free: 5.328 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.4572, allocations: 262.5 kB / 0.5166 GB, free: 5.062 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.4572, allocations: 29.7 kB / 0.5167 GB, free: 5.027 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.4573, allocations: 176.2 kB / 0.5168 GB, free: 4.852 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.33e-05/0.4574, allocations: 94.59 kB / 0.5169 GB, free: 4.758 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.172e-05/0.4575, allocations: 69.69 kB / 0.517 GB, free: 4.684 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.4576, allocations: 330.8 kB / 0.5173 GB, free: 4.352 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.4578, allocations: 87.97 kB / 0.5174 GB, free: 4.266 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.458, allocations: 175.8 kB / 0.5176 GB, free: 4.051 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.4584, allocations: 287.8 kB / 0.5178 GB, free: 3.727 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4584, allocations: 0 / 0.5178 GB, free: 3.727 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006454/0.459, allocations: 443.9 kB / 0.5183 GB, free: 3.262 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.4591, allocations: 8 kB / 0.5183 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.4591, allocations: 5.812 kB / 0.5183 GB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001423/0.4592, allocations: 49.62 kB / 0.5183 GB, free: 3.195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.4595, allocations: 72.22 kB / 0.5184 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/0.4615, allocations: 2.775 MB / 0.5211 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.4617, allocations: 8 kB / 0.5211 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.4617, allocations: 16 kB / 0.5211 GB, free: 48 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.0001958/0.4619, allocations: 157.6 kB / 0.5213 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.37e-05/0.462, allocations: 27.72 kB / 0.5213 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000564/0.4626, allocations: 354.8 kB / 0.5216 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4626, allocations: 4 kB / 0.5216 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.4626, allocations: 0 / 0.5216 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005665/0.4632, allocations: 0.6268 MB / 0.5222 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009089/0.4641, allocations: 0.7514 MB / 0.523 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4641, allocations: 0 / 0.523 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003122/0.4644, allocations: 55.95 kB / 0.523 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.598e-05/0.4645, allocations: 24.78 kB / 0.5231 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.4645, allocations: 11.88 kB / 0.5231 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009468/0.4655, allocations: 1.378 MB / 0.5244 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4655, allocations: 0 / 0.5244 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006359/0.4661, allocations: 0.511 MB / 0.5249 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.809e-05/0.4662, allocations: 96.86 kB / 0.525 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.4663, allocations: 7.938 kB / 0.525 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.4665, allocations: 11.98 kB / 0.525 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.4666, allocations: 23.86 kB / 0.5251 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.4666, allocations: 16.05 kB / 0.5251 GB, free: 11.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001947/0.4668, allocations: 193.9 kB / 0.5253 GB, free: 11.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4668, allocations: 0 / 0.5253 GB, free: 11.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004248/0.4672, allocations: 99.94 kB / 0.5253 GB, free: 11.29 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.0002653/0.4675, allocations: 135.2 kB / 0.5255 GB, free: 11.15 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006915/0.4682, allocations: 453.1 kB / 0.5259 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4682, allocations: 0 / 0.5259 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002871/0.4685, allocations: 218.5 kB / 0.5261 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009091/0.4694, allocations: 170.4 kB / 0.5263 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.4705, allocations: 0.678 MB / 0.5269 GB, free: 9.598 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.4709, allocations: 0.7645 MB / 0.5277 GB, free: 8.809 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002129/0.4711, allocations: 54.89 kB / 0.5277 GB, free: 8.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.049e-05/0.4712, allocations: 35.42 kB / 0.5278 GB, free: 8.715 MB / 462.1 MB Notification: Performance of SimCode: time 1.9e-07/0.4712, allocations: 0 / 0.5278 GB, free: 8.715 MB / 462.1 MB Notification: Performance of Templates: time 0.01015/0.4813, allocations: 6.21 MB / 0.5338 GB, free: 2.5 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