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.001482/0.001482, allocations: 113.3 kB / 18.4 MB, free: 4.688 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.001741/0.001741, allocations: 189.2 kB / 19.33 MB, free: 3.77 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.472/1.472, allocations: 205.1 MB / 225.2 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.00125/0.00125, allocations: 51.92 kB / 329.2 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1136, allocations: 46.61 MB / 375.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.4064/0.52, allocations: 144 MB / 0.5077 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002694/0.5227, allocations: 1.727 MB / 0.5094 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003854/0.5231, allocations: 7.938 kB / 0.5094 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008068/0.524, allocations: 174.9 kB / 0.5096 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008777/0.5249, allocations: 326.2 kB / 0.5099 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.5261, allocations: 426.6 kB / 0.5103 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.5272, allocations: 0.8368 MB / 0.5111 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/0.5275, allocations: 96.67 kB / 0.5112 GB, free: 11.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008919/0.5284, allocations: 406.6 kB / 0.5116 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006471/0.5291, allocations: 326.9 kB / 0.5119 GB, free: 11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.871e-05/0.5292, allocations: 32 kB / 0.5119 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004707/0.5296, allocations: 131.7 kB / 0.512 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.5298, allocations: 95.7 kB / 0.5121 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002851/0.5301, allocations: 192.8 kB / 0.5123 GB, free: 10.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006562/0.5308, allocations: 487.8 kB / 0.5128 GB, free: 10.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5308, allocations: 0 / 0.5128 GB, free: 10.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5308, allocations: 0 / 0.5128 GB, free: 10.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.5308, allocations: 8 kB / 0.5128 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.001142/0.532, allocations: 0.5894 MB / 0.5134 GB, free: 9.445 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.532, allocations: 11.89 kB / 0.5134 GB, free: 9.434 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003397/0.5324, allocations: 44.55 kB / 0.5134 GB, free: 9.391 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005787/0.5329, allocations: 299.7 kB / 0.5137 GB, free: 9.059 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.533, allocations: 16.94 kB / 0.5137 GB, free: 9.043 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.54e-05/0.5331, allocations: 24.38 kB / 0.5137 GB, free: 9.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005116/0.5336, allocations: 305.7 kB / 0.514 GB, free: 8.703 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.5336, allocations: 0 / 0.514 GB, free: 8.703 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/0.5336, allocations: 12 kB / 0.514 GB, free: 8.691 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.5337, allocations: 8 kB / 0.514 GB, free: 8.684 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003352/0.534, allocations: 214 kB / 0.5143 GB, free: 8.477 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.5359, allocations: 1.289 MB / 0.5155 GB, free: 7.062 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004126/0.5363, allocations: 186.6 kB / 0.5157 GB, free: 6.871 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.5365, allocations: 96.77 kB / 0.5158 GB, free: 6.773 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.5366, allocations: 166.2 kB / 0.5159 GB, free: 6.574 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.5367, allocations: 42.55 kB / 0.516 GB, free: 6.523 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/0.5367, allocations: 0 / 0.516 GB, free: 6.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.00259/0.5393, allocations: 1.03 MB / 0.517 GB, free: 5.395 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.5393, allocations: 55.41 kB / 0.517 GB, free: 5.328 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.5397, allocations: 262.5 kB / 0.5173 GB, free: 5.062 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.5397, allocations: 37.69 kB / 0.5173 GB, free: 5.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.5398, allocations: 168.2 kB / 0.5175 GB, free: 4.852 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.525e-05/0.5399, allocations: 90.66 kB / 0.5176 GB, free: 4.762 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.284e-05/0.54, allocations: 69.62 kB / 0.5176 GB, free: 4.688 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.5401, allocations: 338.8 kB / 0.518 GB, free: 4.348 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.5403, allocations: 79.97 kB / 0.518 GB, free: 4.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.5405, allocations: 179.8 kB / 0.5182 GB, free: 4.051 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.5408, allocations: 288.7 kB / 0.5185 GB, free: 3.727 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5408, allocations: 0 / 0.5185 GB, free: 3.727 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006384/0.5415, allocations: 443.8 kB / 0.5189 GB, free: 3.262 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.5415, allocations: 8 kB / 0.5189 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.5415, allocations: 0 / 0.5189 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001687/0.5417, allocations: 45.98 kB / 0.519 GB, free: 3.203 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/0.542, allocations: 79.91 kB / 0.519 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.5441, allocations: 2.768 MB / 0.5217 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.5443, allocations: 12.03 kB / 0.5218 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.5443, allocations: 16 kB / 0.5218 GB, free: 52 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.0002203/0.5446, allocations: 157.6 kB / 0.5219 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-05/0.5446, allocations: 23.72 kB / 0.5219 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005458/0.5452, allocations: 362.8 kB / 0.5223 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.5452, allocations: 0 / 0.5223 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.5452, allocations: 0 / 0.5223 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005354/0.5458, allocations: 0.6268 MB / 0.5229 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009973/0.5468, allocations: 0.7553 MB / 0.5236 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5468, allocations: 1.875 kB / 0.5236 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.5471, allocations: 55.91 kB / 0.5237 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.281e-05/0.5471, allocations: 20.84 kB / 0.5237 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.5472, allocations: 4 kB / 0.5237 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009057/0.5481, allocations: 1.386 MB / 0.5251 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.5481, allocations: 0 / 0.5251 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006284/0.5487, allocations: 0.5032 MB / 0.5256 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.209e-05/0.5488, allocations: 114.7 kB / 0.5257 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/0.5489, allocations: 11.94 kB / 0.5257 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.5492, allocations: 8 kB / 0.5257 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.5492, allocations: 15.97 kB / 0.5257 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/0.5492, allocations: 20.05 kB / 0.5257 GB, free: 11.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.5494, allocations: 182 kB / 0.5259 GB, free: 11.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5495, allocations: 3.938 kB / 0.5259 GB, free: 11.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004763/0.5499, allocations: 103.9 kB / 0.526 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.0003158/0.5503, allocations: 143.1 kB / 0.5261 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000796/0.5511, allocations: 449.1 kB / 0.5266 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.5511, allocations: 4 kB / 0.5266 GB, free: 10.67 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002838/0.5514, allocations: 219.4 kB / 0.5268 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.0009584/0.5523, allocations: 160.8 kB / 0.5269 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.5537, allocations: 0.7034 MB / 0.5276 GB, free: 9.566 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.5541, allocations: 0.7645 MB / 0.5284 GB, free: 8.777 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.5542, allocations: 31.44 kB / 0.5284 GB, free: 8.746 MB / 462.1 MB Notification: Performance of SimCode: time 2.485e-06/0.5542, allocations: 0 / 0.5284 GB, free: 8.746 MB / 462.1 MB Notification: Performance of Templates: time 0.01139/0.5656, allocations: 6.431 MB / 0.5347 GB, free: 2.309 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