Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 176.9 kB / 16.41 MB, free: 5.727 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.361/1.361, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0008058/0.000806, allocations: 99.66 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002941, allocations: 8 kB / 327 MB, free: 184 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2084, allocations: 47.57 MB / 374.6 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.326/0.5345, allocations: 156.9 MB / 0.519 GB, free: 1.227 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003079/0.5376, allocations: 3 MB / 0.522 GB, free: 1.141 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003237/0.5379, allocations: 8.281 kB / 0.522 GB, free: 1.137 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004658/0.5384, allocations: 124.6 kB / 0.5221 GB, free: 1.133 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007592/0.5392, allocations: 370.2 kB / 0.5224 GB, free: 1.109 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007403/0.5399, allocations: 276.2 kB / 0.5227 GB, free: 1.102 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001481/0.5414, allocations: 1.117 MB / 0.5238 GB, free: 1.098 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.5417, allocations: 78.09 kB / 0.5239 GB, free: 1.078 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00246/0.5441, allocations: 0.6649 MB / 0.5245 GB, free: 1.066 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004769/0.5446, allocations: 275.9 kB / 0.5248 GB, free: 1.066 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.422e-05/0.5447, allocations: 14.44 kB / 0.5248 GB, free: 1.066 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004517/0.5452, allocations: 107.2 kB / 0.5249 GB, free: 1.059 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.5453, allocations: 80.84 kB / 0.525 GB, free: 1.059 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.5454, allocations: 88.02 kB / 0.5251 GB, free: 1.027 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005707/0.546, allocations: 399.4 kB / 0.5254 GB, free: 1.004 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.546, allocations: 0.75 kB / 0.5254 GB, free: 1.004 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.546, allocations: 0 / 0.5254 GB, free: 1.004 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.546, allocations: 0 / 0.5254 GB, free: 1.004 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.001046/0.5471, allocations: 0.5219 MB / 0.526 GB, free: 16.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.5472, allocations: 8.5 kB / 0.526 GB, free: 16.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003378/0.5475, allocations: 45.66 kB / 0.526 GB, free: 16.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.5479, allocations: 269.4 kB / 0.5263 GB, free: 16.35 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.548, allocations: 16.75 kB / 0.5263 GB, free: 16.35 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.075e-05/0.5481, allocations: 28.59 kB / 0.5263 GB, free: 16.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006669/0.5487, allocations: 322.2 kB / 0.5266 GB, free: 16.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.5488, allocations: 3.281 kB / 0.5266 GB, free: 16.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.959e-05/0.5488, allocations: 10.56 kB / 0.5266 GB, free: 16.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.5488, allocations: 6.125 kB / 0.5266 GB, free: 16.24 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005043/0.5494, allocations: 201.5 kB / 0.5268 GB, free: 16.24 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002247/0.5516, allocations: 1.586 MB / 0.5284 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003939/0.552, allocations: 172 kB / 0.5285 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.5522, allocations: 94.34 kB / 0.5286 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.5523, allocations: 15.56 kB / 0.5286 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.5523, allocations: 38.58 kB / 0.5287 GB, free: 14.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 4.238e-06/0.5523, allocations: 0 / 0.5287 GB, free: 14.97 MB / 394.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.007202/0.5596, allocations: 1.631 MB / 0.5303 GB, free: 14.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.5596, allocations: 53.91 kB / 0.5303 GB, free: 14.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.5599, allocations: 254.1 kB / 0.5306 GB, free: 14.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.56, allocations: 31.86 kB / 0.5306 GB, free: 14.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.5601, allocations: 169.3 kB / 0.5308 GB, free: 13.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.302e-05/0.5602, allocations: 102.6 kB / 0.5309 GB, free: 13.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.5602, allocations: 9.344 kB / 0.5309 GB, free: 13.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.5604, allocations: 333.2 kB / 0.5312 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.5605, allocations: 99.14 kB / 0.5313 GB, free: 13.51 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.5607, allocations: 186 kB / 0.5315 GB, free: 13.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.5609, allocations: 114.6 kB / 0.5316 GB, free: 13.39 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5609, allocations: 2.625 kB / 0.5316 GB, free: 13.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005764/0.5615, allocations: 401.9 kB / 0.5319 GB, free: 13.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.5615, allocations: 9.375 kB / 0.532 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.5615, allocations: 3.031 kB / 0.532 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001889/0.5617, allocations: 71.86 kB / 0.532 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.5621, allocations: 86.77 kB / 0.5321 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.5634, allocations: 1.856 MB / 0.5339 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.5636, allocations: 18.41 kB / 0.5339 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.733e-05/0.5637, allocations: 40.03 kB / 0.534 GB, free: 11.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001641/0.5639, allocations: 164.2 kB / 0.5341 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.5639, allocations: 26.16 kB / 0.5342 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000869/0.5648, allocations: 437.9 kB / 0.5346 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.5648, allocations: 3.312 kB / 0.5346 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.5648, allocations: 0 / 0.5346 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005334/0.5654, allocations: 0.5698 MB / 0.5351 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009062/0.5663, allocations: 0.7278 MB / 0.5358 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5663, allocations: 4.062 kB / 0.5359 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/0.5666, allocations: 69.53 kB / 0.5359 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.171e-05/0.5667, allocations: 21.52 kB / 0.5359 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.5667, allocations: 13.94 kB / 0.536 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007781/0.5675, allocations: 1.279 MB / 0.5372 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5675, allocations: 0 / 0.5372 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005736/0.5681, allocations: 484.5 kB / 0.5377 GB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.6e-05/0.5682, allocations: 104.4 kB / 0.5378 GB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.5683, allocations: 6.531 kB / 0.5378 GB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.5685, allocations: 20.56 kB / 0.5378 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.5686, allocations: 26.89 kB / 0.5378 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/0.5686, allocations: 28.77 kB / 0.5378 GB, free: 8.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001613/0.5688, allocations: 195.7 kB / 0.538 GB, free: 8.844 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5688, allocations: 1.75 kB / 0.538 GB, free: 8.844 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005092/0.5693, allocations: 122.1 kB / 0.5381 GB, free: 8.84 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003652/0.5697, allocations: 158.8 kB / 0.5383 GB, free: 8.738 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005733/0.5703, allocations: 366.5 kB / 0.5386 GB, free: 8.621 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.5703, allocations: 6.5 kB / 0.5387 GB, free: 8.621 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002464/0.5705, allocations: 228.6 kB / 0.5389 GB, free: 8.508 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008894/0.5714, allocations: 161.6 kB / 0.539 GB, free: 8.492 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.5725, allocations: 0.8741 MB / 0.5399 GB, free: 8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.5728, allocations: 0.7654 MB / 0.5406 GB, free: 7.297 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/0.573, allocations: 81.47 kB / 0.5407 GB, free: 7.277 MB / 394.7 MB Notification: Performance of SimCode: time 6.12e-07/0.573, allocations: 0 / 0.5407 GB, free: 7.277 MB / 394.7 MB Notification: Performance of Templates: time 0.008867/0.5819, allocations: 7.45 MB / 0.548 GB, free: 3.5 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Air/Air.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches