Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.00103/0.00103, 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.198/1.198, allocations: 205.1 MB / 223.8 MB, free: 8.48 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.0008703/0.0008703, allocations: 98.28 kB / 271.2 MB, free: 8.449 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007484/0.0007484, allocations: 43.94 kB / 327.2 MB, free: 324 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1983, allocations: 46.61 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.3296/0.528, allocations: 170.6 MB / 0.5317 GB, free: 15.97 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002896/0.5309, allocations: 3.236 MB / 0.5349 GB, free: 15.88 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.5311, allocations: 5.938 kB / 0.5349 GB, free: 15.88 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004776/0.5316, allocations: 140.6 kB / 0.535 GB, free: 15.88 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006246/0.5323, allocations: 392.5 kB / 0.5354 GB, free: 15.86 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006333/0.5329, allocations: 310 kB / 0.5357 GB, free: 15.85 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009229/0.5338, allocations: 1.35 MB / 0.537 GB, free: 15.84 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.534, allocations: 78.62 kB / 0.5371 GB, free: 15.83 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.5353, allocations: 0.7178 MB / 0.5378 GB, free: 15.81 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.5356, allocations: 293.4 kB / 0.538 GB, free: 15.8 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.406e-05/0.5356, allocations: 15.66 kB / 0.538 GB, free: 15.8 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.5359, allocations: 114.8 kB / 0.5382 GB, free: 15.79 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.049e-05/0.536, allocations: 83.84 kB / 0.5382 GB, free: 15.79 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.5361, allocations: 174.5 kB / 0.5384 GB, free: 15.79 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004503/0.5366, allocations: 0.4974 MB / 0.5389 GB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.5366, allocations: 3.625 kB / 0.5389 GB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.5366, allocations: 4 kB / 0.5389 GB, free: 15.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.5366, allocations: 0 / 0.5389 GB, free: 15.77 MB / 394.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.0007672/0.5374, allocations: 0.5888 MB / 0.5395 GB, free: 15.33 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.5374, allocations: 10.69 kB / 0.5395 GB, free: 15.33 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002519/0.5377, allocations: 42.25 kB / 0.5395 GB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.5381, allocations: 286.7 kB / 0.5398 GB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.5381, allocations: 18.25 kB / 0.5398 GB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.5381, allocations: 30.12 kB / 0.5398 GB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004401/0.5386, allocations: 314.3 kB / 0.5401 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.5386, allocations: 6.031 kB / 0.5401 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.5386, allocations: 12.22 kB / 0.5402 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.5387, allocations: 7.266 kB / 0.5402 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.5389, allocations: 210.4 kB / 0.5404 GB, free: 14.98 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.001583/0.5405, allocations: 1.589 MB / 0.5419 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.5408, allocations: 175.6 kB / 0.5421 GB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.541, allocations: 98.88 kB / 0.5422 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.541, allocations: 6.516 kB / 0.5422 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.541, allocations: 37.61 kB / 0.5422 GB, free: 13.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.332e-06/0.541, allocations: 0 / 0.5422 GB, free: 13.71 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.005049/0.5461, allocations: 1.613 MB / 0.5438 GB, free: 12.97 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.5461, allocations: 54 kB / 0.5439 GB, free: 12.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.5463, allocations: 253.8 kB / 0.5441 GB, free: 12.81 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.5464, allocations: 31.89 kB / 0.5441 GB, free: 12.78 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.038e-05/0.5465, allocations: 173.7 kB / 0.5443 GB, free: 12.65 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.992e-05/0.5465, allocations: 101.9 kB / 0.5444 GB, free: 12.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.5467, allocations: 87.39 kB / 0.5445 GB, free: 12.56 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.535e-05/0.5468, allocations: 333.2 kB / 0.5448 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.5469, allocations: 93.41 kB / 0.5449 GB, free: 12.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.5471, allocations: 195 kB / 0.5451 GB, free: 12.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.5474, allocations: 306.2 kB / 0.5454 GB, free: 11.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.5475, allocations: 4 kB / 0.5454 GB, free: 11.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005391/0.548, allocations: 395.2 kB / 0.5457 GB, free: 11.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.548, allocations: 7.281 kB / 0.5457 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.548, allocations: 7.156 kB / 0.5457 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002007/0.5482, allocations: 74.38 kB / 0.5458 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.5486, allocations: 83.58 kB / 0.5459 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.5497, allocations: 1.861 MB / 0.5477 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.5499, allocations: 21.39 kB / 0.5477 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.734e-05/0.55, allocations: 40.16 kB / 0.5478 GB, free: 10.02 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.5502, allocations: 160.5 kB / 0.5479 GB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/0.5502, allocations: 28.22 kB / 0.548 GB, free: 9.887 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008426/0.5511, allocations: 436 kB / 0.5484 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.5511, allocations: 2.094 kB / 0.5484 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.5511, allocations: 0 / 0.5484 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004449/0.5515, allocations: 0.5591 MB / 0.5489 GB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008334/0.5524, allocations: 0.7432 MB / 0.5496 GB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.5524, allocations: 0 / 0.5496 GB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002777/0.5527, allocations: 71.17 kB / 0.5497 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-05/0.5528, allocations: 22.12 kB / 0.5497 GB, free: 8.809 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.5528, allocations: 11.03 kB / 0.5497 GB, free: 8.809 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006887/0.5535, allocations: 1.285 MB / 0.551 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5535, allocations: 0 / 0.551 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02638/0.5799, allocations: 5.785 MB / 0.5566 GB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.591e-05/0.58, allocations: 95.7 kB / 0.5567 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.58, allocations: 10.09 kB / 0.5567 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.5803, allocations: 19.11 kB / 0.5568 GB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.5803, allocations: 22.88 kB / 0.5568 GB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.5804, allocations: 35.95 kB / 0.5568 GB, free: 4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000176/0.5806, allocations: 190.1 kB / 0.557 GB, free: 3.898 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5806, allocations: 0 / 0.557 GB, free: 3.898 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008805/0.5815, allocations: 332.1 kB / 0.5573 GB, free: 3.887 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 (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.00112/0.5826, allocations: 210.2 kB / 0.5575 GB, free: 3.742 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006247/0.5832, allocations: 375.1 kB / 0.5579 GB, free: 3.594 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5832, allocations: 0.9375 kB / 0.5579 GB, free: 3.594 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.5835, allocations: 231.5 kB / 0.5581 GB, free: 3.469 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009703/0.5845, allocations: 155.7 kB / 0.5582 GB, free: 3.422 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.5859, allocations: 1.144 MB / 0.5594 GB, free: 2.637 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.5862, allocations: 0.7742 MB / 0.5601 GB, free: 1.902 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006837/0.5869, allocations: 162.1 kB / 0.5603 GB, free: 1.828 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000309/0.5872, allocations: 105 kB / 0.5604 GB, free: 1.793 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5872, allocations: 0 / 0.5604 GB, free: 1.793 MB / 394.7 MB Notification: Performance of Templates: time 0.02577/0.613, allocations: 21.14 MB / 0.581 GB, free: 12.98 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_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/IdealGases/Air/Air.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches