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.001384/0.001384, allocations: 113.9 kB / 17.73 MB, free: 5.234 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.001248/0.001248, allocations: 187.1 kB / 18.66 MB, free: 4.309 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.383/1.383, 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.001347/0.001347, allocations: 51.92 kB / 328.6 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09088/0.09224, allocations: 46.62 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.4528/0.5451, allocations: 144 MB / 0.507 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.5475, allocations: 1.718 MB / 0.5087 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.5477, allocations: 4 kB / 0.5087 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006287/0.5484, allocations: 182.8 kB / 0.5089 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006128/0.549, allocations: 332.2 kB / 0.5092 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.5501, allocations: 416.1 kB / 0.5096 GB, free: 12.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009773/0.5511, allocations: 0.8446 MB / 0.5104 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.5513, allocations: 92.7 kB / 0.5105 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007205/0.5521, allocations: 410.6 kB / 0.5109 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004622/0.5525, allocations: 318.9 kB / 0.5112 GB, free: 11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.666e-05/0.5526, allocations: 32 kB / 0.5112 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000389/0.553, allocations: 135.7 kB / 0.5114 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.5531, allocations: 95.77 kB / 0.5115 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.5534, allocations: 191.2 kB / 0.5116 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005371/0.5539, allocations: 491.8 kB / 0.5121 GB, free: 10.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.554, allocations: 7.938 kB / 0.5121 GB, free: 10.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.554, allocations: 0 / 0.5121 GB, free: 10.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.554, 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.0008079/0.5548, allocations: 0.5816 MB / 0.5127 GB, free: 9.441 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.5548, allocations: 15.89 kB / 0.5127 GB, free: 9.426 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002831/0.5551, allocations: 44.55 kB / 0.5127 GB, free: 9.383 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.5555, allocations: 296.5 kB / 0.513 GB, free: 9.055 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.5556, allocations: 20.94 kB / 0.5131 GB, free: 9.035 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.5556, allocations: 24.38 kB / 0.5131 GB, free: 9.012 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000467/0.5561, allocations: 298.9 kB / 0.5134 GB, free: 8.703 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.5561, allocations: 7.938 kB / 0.5134 GB, free: 8.695 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.5562, allocations: 16 kB / 0.5134 GB, free: 8.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.5562, allocations: 4 kB / 0.5134 GB, free: 8.676 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.5565, allocations: 202.1 kB / 0.5136 GB, free: 8.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.5584, allocations: 1.293 MB / 0.5148 GB, free: 7.062 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/0.5588, allocations: 186.7 kB / 0.515 GB, free: 6.871 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.559, allocations: 94.77 kB / 0.5151 GB, free: 6.777 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/0.5592, allocations: 170.2 kB / 0.5153 GB, free: 6.574 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.5592, allocations: 38.5 kB / 0.5153 GB, free: 6.527 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.463e-06/0.5592, allocations: 0 / 0.5153 GB, free: 6.527 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.002452/0.5617, allocations: 1.034 MB / 0.5163 GB, free: 5.395 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.5617, allocations: 63.28 kB / 0.5164 GB, free: 5.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.562, allocations: 262.5 kB / 0.5166 GB, free: 5.055 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/0.562, allocations: 29.7 kB / 0.5167 GB, free: 5.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.865e-05/0.5622, allocations: 176.2 kB / 0.5168 GB, free: 4.844 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/0.5622, allocations: 94.64 kB / 0.5169 GB, free: 4.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.47e-05/0.5623, allocations: 61.7 kB / 0.517 GB, free: 4.684 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.5624, allocations: 342.8 kB / 0.5173 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.5626, allocations: 83.95 kB / 0.5174 GB, free: 4.258 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.5628, allocations: 175.8 kB / 0.5175 GB, free: 4.043 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.5631, allocations: 291.8 kB / 0.5178 GB, free: 3.715 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5631, allocations: 0 / 0.5178 GB, free: 3.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005672/0.5637, allocations: 443.8 kB / 0.5182 GB, free: 3.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.5637, allocations: 4 kB / 0.5183 GB, free: 3.246 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.5637, allocations: 4.938 kB / 0.5183 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001412/0.5639, allocations: 54.03 kB / 0.5183 GB, free: 3.184 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.5642, allocations: 79.89 kB / 0.5184 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.5662, allocations: 2.761 MB / 0.5211 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.5664, allocations: 12 kB / 0.5211 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.5664, allocations: 12 kB / 0.5211 GB, free: 44 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.0001647/0.5666, allocations: 157.7 kB / 0.5213 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.5667, allocations: 31.81 kB / 0.5213 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005018/0.5672, allocations: 355.7 kB / 0.5216 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.5672, allocations: 4 kB / 0.5216 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.5672, allocations: 0 / 0.5216 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004817/0.5677, allocations: 0.619 MB / 0.5222 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000917/0.5686, allocations: 0.7592 MB / 0.523 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.5686, allocations: 4 kB / 0.523 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.5689, allocations: 59.89 kB / 0.523 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.338e-05/0.569, allocations: 12.86 kB / 0.523 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.569, allocations: 11.98 kB / 0.5231 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008989/0.5699, allocations: 1.394 MB / 0.5244 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.57, allocations: 0 / 0.5244 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006126/0.5706, allocations: 0.5069 MB / 0.5249 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.342e-05/0.5707, allocations: 96.86 kB / 0.525 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.5707, allocations: 7.938 kB / 0.525 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.571, allocations: 12.12 kB / 0.525 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.571, allocations: 19.91 kB / 0.525 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/0.571, allocations: 19.98 kB / 0.5251 GB, free: 11.56 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001833/0.5712, allocations: 182 kB / 0.5252 GB, free: 11.38 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.763e-06/0.5712, allocations: 0 / 0.5252 GB, free: 11.38 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004437/0.5717, allocations: 107.9 kB / 0.5253 GB, free: 11.28 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.0002775/0.572, allocations: 135.2 kB / 0.5255 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006769/0.5727, allocations: 457 kB / 0.5259 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5727, allocations: 0 / 0.5259 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.5729, allocations: 215.4 kB / 0.5261 GB, free: 10.44 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009041/0.5739, allocations: 169.3 kB / 0.5263 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.575, allocations: 0.6678 MB / 0.5269 GB, free: 9.594 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.5753, allocations: 0.7606 MB / 0.5277 GB, free: 8.809 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002456/0.5756, allocations: 66.86 kB / 0.5277 GB, free: 8.738 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.699e-05/0.5756, allocations: 31.44 kB / 0.5278 GB, free: 8.707 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5757, allocations: 0 / 0.5278 GB, free: 8.707 MB / 462.1 MB Notification: Performance of Templates: time 0.01078/0.5864, allocations: 6.221 MB / 0.5338 GB, free: 2.48 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