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/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) 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(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/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 187 kB / 17.92 MB, free: 3.855 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.173/1.173, allocations: 205.1 MB / 223.8 MB, free: 8.473 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.0008975/0.0008975, allocations: 101.5 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007469/0.000747, allocations: 43.94 kB / 327.2 MB, free: 312 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1815, allocations: 46.61 MB / 373.8 MB, free: 45.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.2849/0.4664, allocations: 141.9 MB / 0.5036 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.468, allocations: 1.713 MB / 0.5053 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.4681, allocations: 1.969 kB / 0.5053 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004332/0.4686, allocations: 151.1 kB / 0.5054 GB, free: 0.668 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000352/0.469, allocations: 321.2 kB / 0.5057 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006824/0.4697, allocations: 393.6 kB / 0.5061 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008799/0.4706, allocations: 1.302 MB / 0.5074 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.4707, allocations: 90.02 kB / 0.5075 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004691/0.4712, allocations: 356.7 kB / 0.5078 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004445/0.4717, allocations: 332 kB / 0.5081 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.327e-05/0.4717, allocations: 17.09 kB / 0.5081 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000325/0.472, allocations: 150.8 kB / 0.5083 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.4722, allocations: 85.36 kB / 0.5084 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.4724, allocations: 174.2 kB / 0.5085 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004072/0.4728, allocations: 485.7 kB / 0.509 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4728, allocations: 0 / 0.509 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.4728, allocations: 0 / 0.509 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.4728, allocations: 0 / 0.509 GB, free: 0.5742 MB / 378.7 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.0007464/0.4736, allocations: 0.5916 MB / 0.5096 GB, free: 16.13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.4736, allocations: 10.78 kB / 0.5096 GB, free: 16.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002354/0.4738, allocations: 47.95 kB / 0.5096 GB, free: 16.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.4741, allocations: 282.9 kB / 0.5099 GB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.4741, allocations: 18.81 kB / 0.5099 GB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.4742, allocations: 25.16 kB / 0.5099 GB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.4745, allocations: 301.2 kB / 0.5102 GB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.4746, allocations: 2.75 kB / 0.5102 GB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.4746, allocations: 11.25 kB / 0.5102 GB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.4746, allocations: 12.17 kB / 0.5102 GB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.4749, allocations: 200.3 kB / 0.5104 GB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.4763, allocations: 1.288 MB / 0.5117 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.4766, allocations: 192.4 kB / 0.5119 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.4767, allocations: 92.67 kB / 0.512 GB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.4769, allocations: 170.1 kB / 0.5121 GB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.4769, allocations: 39.72 kB / 0.5122 GB, free: 14.67 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 1.292e-06/0.4769, allocations: 0 / 0.5122 GB, free: 14.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.002276/0.4792, allocations: 1.037 MB / 0.5132 GB, free: 14.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.4793, allocations: 54.12 kB / 0.5132 GB, free: 14.08 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.4795, allocations: 254 kB / 0.5135 GB, free: 13.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.4796, allocations: 30.83 kB / 0.5135 GB, free: 13.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.4797, allocations: 184.1 kB / 0.5137 GB, free: 13.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.989e-05/0.4797, allocations: 87.83 kB / 0.5138 GB, free: 13.76 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.035e-05/0.4798, allocations: 70.44 kB / 0.5138 GB, free: 13.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.48, allocations: 338.1 kB / 0.5141 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.4801, allocations: 84.06 kB / 0.5142 GB, free: 13.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.4803, allocations: 178 kB / 0.5144 GB, free: 13.31 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.4806, allocations: 283 kB / 0.5147 GB, free: 13.19 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4806, allocations: 3.203 kB / 0.5147 GB, free: 13.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005588/0.4812, allocations: 448.7 kB / 0.5151 GB, free: 13.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4812, allocations: 6.75 kB / 0.5151 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.4813, allocations: 3.625 kB / 0.5151 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/0.4814, allocations: 47.73 kB / 0.5152 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/0.4817, allocations: 79.19 kB / 0.5152 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.4834, allocations: 2.573 MB / 0.5177 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.4836, allocations: 19.8 kB / 0.5178 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.4836, allocations: 12.94 kB / 0.5178 GB, free: 10.48 MB / 394.7 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.000134/0.4837, allocations: 157.2 kB / 0.5179 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.366e-05/0.4838, allocations: 34.03 kB / 0.518 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004718/0.4843, allocations: 368.8 kB / 0.5183 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4843, allocations: 2.312 kB / 0.5183 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.4843, allocations: 0 / 0.5183 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004592/0.4848, allocations: 0.6117 MB / 0.5189 GB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008583/0.4856, allocations: 0.7592 MB / 0.5196 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4857, allocations: 1.125 kB / 0.5196 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.4859, allocations: 57.3 kB / 0.5197 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.065e-05/0.486, allocations: 17.09 kB / 0.5197 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.486, allocations: 9.984 kB / 0.5197 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006903/0.4867, allocations: 1.284 MB / 0.521 GB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4867, allocations: 5.188 kB / 0.521 GB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003877/0.4906, allocations: 3.851 MB / 0.5247 GB, free: 5.309 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.4907, allocations: 104.3 kB / 0.5248 GB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.4907, allocations: 6.938 kB / 0.5249 GB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.491, allocations: 18.95 kB / 0.5249 GB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.491, allocations: 16.97 kB / 0.5249 GB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.491, allocations: 14.5 kB / 0.5249 GB, free: 5.195 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001341/0.4912, allocations: 182.6 kB / 0.5251 GB, free: 5.113 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4912, allocations: 0 / 0.5251 GB, free: 5.113 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005172/0.4917, allocations: 157.6 kB / 0.5252 GB, free: 5.105 MB / 394.7 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.000226/0.4919, allocations: 144.3 kB / 0.5254 GB, free: 5.004 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005082/0.4925, allocations: 449.7 kB / 0.5258 GB, free: 4.781 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4925, allocations: 0 / 0.5258 GB, free: 4.781 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.4927, allocations: 219.7 kB / 0.526 GB, free: 4.668 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008508/0.4936, allocations: 161.2 kB / 0.5262 GB, free: 4.652 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.4947, allocations: 1.094 MB / 0.5272 GB, free: 3.957 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.495, allocations: 0.768 MB / 0.528 GB, free: 3.258 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002577/0.4952, allocations: 61.5 kB / 0.528 GB, free: 3.238 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.4953, allocations: 32.25 kB / 0.5281 GB, free: 3.23 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.4953, allocations: 0 / 0.5281 GB, free: 3.23 MB / 394.7 MB Notification: Performance of Templates: time 0.009188/0.5045, allocations: 6.879 MB / 0.5348 GB, free: 2.102 MB / 394.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../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