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.001223/0.001223, allocations: 105.3 kB / 17.73 MB, free: 5.32 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.001169/0.00117, allocations: 192.2 kB / 18.67 MB, free: 4.387 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.43/1.43, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001232/0.001232, allocations: 51.94 kB / 328.6 MB, free: 3.246 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1144, allocations: 46.62 MB / 375.2 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4611/0.5755, allocations: 172.8 MB / 0.5351 GB, free: 2.289 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003758/0.5794, allocations: 3.223 MB / 0.5382 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.5796, allocations: 11.94 kB / 0.5383 GB, free: 15.04 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006112/0.5802, allocations: 167 kB / 0.5384 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007585/0.581, allocations: 401.7 kB / 0.5388 GB, free: 14.48 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007519/0.5817, allocations: 352.4 kB / 0.5391 GB, free: 14.14 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008321/0.5826, allocations: 0.8876 MB / 0.54 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.5828, allocations: 104.7 kB / 0.5401 GB, free: 13.15 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001517/0.5843, allocations: 0.7942 MB / 0.5409 GB, free: 12.36 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003304/0.5846, allocations: 274.9 kB / 0.5411 GB, free: 12.09 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.035e-05/0.5847, allocations: 32 kB / 0.5412 GB, free: 12.05 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002824/0.585, allocations: 123.8 kB / 0.5413 GB, free: 11.93 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.5851, allocations: 91.8 kB / 0.5414 GB, free: 11.84 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.5853, allocations: 187.2 kB / 0.5416 GB, free: 11.66 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005615/0.5859, allocations: 0.5178 MB / 0.5421 GB, free: 11.14 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5859, allocations: 4 kB / 0.5421 GB, free: 11.14 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5859, allocations: 0 / 0.5421 GB, free: 11.14 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.5859, allocations: 0 / 0.5421 GB, free: 11.14 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.0008163/0.5867, allocations: 0.5921 MB / 0.5426 GB, free: 10.49 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.5868, allocations: 15.89 kB / 0.5427 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002633/0.587, allocations: 43.8 kB / 0.5427 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.5875, allocations: 290.6 kB / 0.543 GB, free: 10.11 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.5875, allocations: 20.56 kB / 0.543 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.998e-05/0.5876, allocations: 24 kB / 0.543 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/0.5881, allocations: 319.7 kB / 0.5433 GB, free: 9.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.5881, allocations: 7.875 kB / 0.5433 GB, free: 9.723 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/0.5881, allocations: 15.98 kB / 0.5433 GB, free: 9.707 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.5882, allocations: 4 kB / 0.5434 GB, free: 9.703 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.5885, allocations: 209.5 kB / 0.5436 GB, free: 9.5 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.001669/0.5902, allocations: 1.585 MB / 0.5451 GB, free: 7.766 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.5905, allocations: 171.1 kB / 0.5453 GB, free: 7.59 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.5906, allocations: 100.8 kB / 0.5454 GB, free: 7.488 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.5907, allocations: 7.984 kB / 0.5454 GB, free: 7.48 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.5907, allocations: 34.56 kB / 0.5454 GB, free: 7.438 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.242e-06/0.5907, allocations: 0 / 0.5454 GB, free: 7.438 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.005131/0.5958, allocations: 1.627 MB / 0.547 GB, free: 5.68 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.5959, allocations: 55.41 kB / 0.547 GB, free: 5.613 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.5961, allocations: 253 kB / 0.5473 GB, free: 5.359 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.5962, allocations: 37.7 kB / 0.5473 GB, free: 5.316 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.5963, allocations: 184.5 kB / 0.5475 GB, free: 5.129 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.132e-05/0.5964, allocations: 99.12 kB / 0.5476 GB, free: 5.031 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.5965, allocations: 81.69 kB / 0.5477 GB, free: 4.945 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.5966, allocations: 334.8 kB / 0.548 GB, free: 4.609 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.5968, allocations: 87.95 kB / 0.5481 GB, free: 4.523 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.597, allocations: 187.8 kB / 0.5482 GB, free: 4.297 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.5974, allocations: 304.2 kB / 0.5485 GB, free: 3.957 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5974, allocations: 4 kB / 0.5485 GB, free: 3.953 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006092/0.598, allocations: 403.2 kB / 0.5489 GB, free: 3.547 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.598, allocations: 8 kB / 0.5489 GB, free: 3.539 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5981, allocations: 4 kB / 0.5489 GB, free: 3.535 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/0.5983, allocations: 73.67 kB / 0.549 GB, free: 3.457 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.5986, allocations: 87.83 kB / 0.5491 GB, free: 3.371 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.6, allocations: 1.952 MB / 0.551 GB, free: 1.258 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.6001, allocations: 8 kB / 0.551 GB, free: 1.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.112e-05/0.6002, allocations: 39.98 kB / 0.551 GB, free: 1.211 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.0001442/0.6004, allocations: 158.4 kB / 0.5512 GB, free: 1.047 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/0.6004, allocations: 31.81 kB / 0.5512 GB, free: 1.016 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007886/0.6012, allocations: 441.8 kB / 0.5516 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.6012, allocations: 0 / 0.5516 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.6012, allocations: 4 kB / 0.5517 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2307/0.832, allocations: 0.5653 MB / 0.5522 GB, free: 170.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.8333, allocations: 0.731 MB / 0.5529 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.8333, allocations: 1.375 kB / 0.5529 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.8336, allocations: 70.56 kB / 0.553 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001042/0.8337, allocations: 24.5 kB / 0.553 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/0.8338, allocations: 12.11 kB / 0.553 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007904/0.8346, allocations: 1.38 MB / 0.5544 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.8346, allocations: 0.7969 kB / 0.5544 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006779/0.8353, allocations: 484.2 kB / 0.5548 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.429e-05/0.8354, allocations: 107.1 kB / 0.5549 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/0.8354, allocations: 7.047 kB / 0.5549 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.8357, allocations: 9.047 kB / 0.5549 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.8357, allocations: 25.17 kB / 0.555 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.814e-05/0.8358, allocations: 31.2 kB / 0.555 GB, free: 168.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002673/0.8361, allocations: 193.9 kB / 0.5552 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8361, allocations: 0.5938 kB / 0.5552 GB, free: 168.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006164/0.8367, allocations: 121.9 kB / 0.5553 GB, free: 168.7 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.0003855/0.8371, allocations: 153.5 kB / 0.5554 GB, free: 168.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008377/0.8379, allocations: 378.7 kB / 0.5558 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.8379, allocations: 1.531 kB / 0.5558 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002763/0.8382, allocations: 233.5 kB / 0.556 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009705/0.8392, allocations: 166.9 kB / 0.5562 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.8404, allocations: 0.6957 MB / 0.5569 GB, free: 168.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.8407, allocations: 0.7675 MB / 0.5576 GB, free: 167.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004/0.8411, allocations: 118.6 kB / 0.5577 GB, free: 167.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.8413, allocations: 68.77 kB / 0.5578 GB, free: 167.4 MB / 478.1 MB Notification: Performance of SimCode: time 4.2e-07/0.8413, allocations: 4 kB / 0.5578 GB, free: 167.4 MB / 478.1 MB Notification: Performance of Templates: time 0.01761/0.8589, allocations: 8.766 MB / 0.5664 GB, free: 165.7 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/jenkins/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/jenkins/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