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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 113.3 kB / 18.4 MB, free: 4.68 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.001719/0.001719, allocations: 189.2 kB / 19.33 MB, free: 3.758 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.454/1.454, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.00119/0.00119, allocations: 51.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08369/0.08489, allocations: 46.62 MB / 375.9 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.3608/0.4457, allocations: 172.8 MB / 0.5358 GB, free: 2.336 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004311/0.4501, allocations: 3.217 MB / 0.5389 GB, free: 15.1 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003595/0.4505, allocations: 4 kB / 0.5389 GB, free: 15.1 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000721/0.4512, allocations: 178.9 kB / 0.5391 GB, free: 14.92 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.4524, allocations: 399.3 kB / 0.5395 GB, free: 14.53 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000932/0.4533, allocations: 343.8 kB / 0.5398 GB, free: 14.2 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00122/0.4546, allocations: 0.8914 MB / 0.5407 GB, free: 13.3 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.4548, allocations: 108.6 kB / 0.5408 GB, free: 13.2 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/0.4568, allocations: 0.795 MB / 0.5415 GB, free: 12.41 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004993/0.4573, allocations: 270.9 kB / 0.5418 GB, free: 12.14 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.828e-05/0.4574, allocations: 32 kB / 0.5418 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003981/0.4578, allocations: 123.9 kB / 0.5419 GB, free: 11.99 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.458, allocations: 91.78 kB / 0.542 GB, free: 11.9 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.4583, allocations: 195.2 kB / 0.5422 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006509/0.4589, allocations: 0.5063 MB / 0.5427 GB, free: 11.2 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.4589, allocations: 7.984 kB / 0.5427 GB, free: 11.19 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4589, allocations: 0 / 0.5427 GB, free: 11.19 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.459, allocations: 0 / 0.5427 GB, free: 11.19 MB / 478.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.0009933/0.46, allocations: 0.5892 MB / 0.5433 GB, free: 10.55 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.46, allocations: 11.89 kB / 0.5433 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003155/0.4603, allocations: 43.61 kB / 0.5433 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004966/0.4608, allocations: 302.3 kB / 0.5436 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.4609, allocations: 16.56 kB / 0.5437 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.4609, allocations: 24 kB / 0.5437 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005231/0.4615, allocations: 319.7 kB / 0.544 GB, free: 9.785 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.4615, allocations: 3.938 kB / 0.544 GB, free: 9.781 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.99e-05/0.4615, allocations: 12 kB / 0.544 GB, free: 9.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.4615, allocations: 8 kB / 0.544 GB, free: 9.762 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003522/0.4619, allocations: 201.6 kB / 0.5442 GB, free: 9.566 MB / 478.1 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.001961/0.4639, allocations: 1.589 MB / 0.5457 GB, free: 7.828 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.4642, allocations: 176 kB / 0.5459 GB, free: 7.648 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.4644, allocations: 99.42 kB / 0.546 GB, free: 7.551 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/0.4644, allocations: 7.938 kB / 0.546 GB, free: 7.543 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.4644, allocations: 34.56 kB / 0.5461 GB, free: 7.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.4645, allocations: 8 kB / 0.5461 GB, free: 7.492 MB / 478.1 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.005673/0.4701, allocations: 1.606 MB / 0.5476 GB, free: 5.754 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.4702, allocations: 55.41 kB / 0.5477 GB, free: 5.688 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.4705, allocations: 256.9 kB / 0.5479 GB, free: 5.43 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.549e-05/0.4705, allocations: 29.7 kB / 0.548 GB, free: 5.395 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.4707, allocations: 180.1 kB / 0.5481 GB, free: 5.211 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.57e-05/0.4708, allocations: 94.64 kB / 0.5482 GB, free: 5.117 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.4709, allocations: 81.69 kB / 0.5483 GB, free: 5.031 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.4711, allocations: 338.8 kB / 0.5486 GB, free: 4.691 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.4713, allocations: 83.97 kB / 0.5487 GB, free: 4.609 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.4715, allocations: 203.7 kB / 0.5489 GB, free: 4.367 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004318/0.4719, allocations: 304.2 kB / 0.5492 GB, free: 4.027 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4719, allocations: 0 / 0.5492 GB, free: 4.027 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006707/0.4726, allocations: 407 kB / 0.5496 GB, free: 3.617 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4726, allocations: 8 kB / 0.5496 GB, free: 3.609 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.4727, allocations: 4.875 kB / 0.5496 GB, free: 3.605 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002149/0.4729, allocations: 69.69 kB / 0.5496 GB, free: 3.531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/0.4732, allocations: 83.89 kB / 0.5497 GB, free: 3.449 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/0.4749, allocations: 1.953 MB / 0.5516 GB, free: 1.336 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.4751, allocations: 16.06 kB / 0.5517 GB, free: 1.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.288e-05/0.4752, allocations: 39.98 kB / 0.5517 GB, free: 1.281 MB / 478.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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002018/0.4754, allocations: 162.4 kB / 0.5518 GB, free: 1.113 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.58e-05/0.4755, allocations: 23.72 kB / 0.5519 GB, free: 1.09 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008691/0.4764, allocations: 449 kB / 0.5523 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.4764, allocations: 4 kB / 0.5523 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.4764, allocations: 0 / 0.5523 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1954/0.6718, allocations: 0.5537 MB / 0.5528 GB, free: 170.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.673, allocations: 0.7297 MB / 0.5536 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.673, allocations: 5.031 kB / 0.5536 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003235/0.6734, allocations: 71.16 kB / 0.5536 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-05/0.6735, allocations: 19.7 kB / 0.5536 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.6735, allocations: 13.67 kB / 0.5537 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000638/0.6741, allocations: 1.374 MB / 0.555 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.6741, allocations: 5.125 kB / 0.555 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000576/0.6747, allocations: 479.3 kB / 0.5555 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/0.6748, allocations: 100.7 kB / 0.5556 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.051e-05/0.6749, allocations: 6.031 kB / 0.5556 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.6751, allocations: 9.359 kB / 0.5556 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.6752, allocations: 32.98 kB / 0.5556 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/0.6752, allocations: 26.84 kB / 0.5556 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000171/0.6754, allocations: 196.6 kB / 0.5558 GB, free: 168.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6754, allocations: 1.5 kB / 0.5558 GB, free: 168.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005719/0.676, allocations: 118.7 kB / 0.5559 GB, free: 168.6 MB / 478.1 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.000349/0.6763, allocations: 153.7 kB / 0.5561 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007982/0.6771, allocations: 373.9 kB / 0.5564 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6771, allocations: 1.422 kB / 0.5564 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003752/0.6775, allocations: 232.7 kB / 0.5567 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009899/0.6785, allocations: 170.7 kB / 0.5568 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.6796, allocations: 0.719 MB / 0.5575 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.6798, allocations: 0.7655 MB / 0.5583 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.6801, allocations: 82.47 kB / 0.5583 GB, free: 167.3 MB / 478.1 MB Notification: Performance of SimCode: time 2.41e-07/0.6801, allocations: 1.156 kB / 0.5583 GB, free: 167.3 MB / 478.1 MB Notification: Performance of Templates: time 0.01128/0.6914, allocations: 7.526 MB / 0.5657 GB, free: 166.2 MB / 478.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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