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.001416/0.001416, allocations: 182.6 kB / 18.04 MB, free: 3.785 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.412/1.412, allocations: 205.4 MB / 224.2 MB, free: 9.043 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.000779/0.0007791, allocations: 82.42 kB / 272.5 MB, free: 8.285 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003458, allocations: 12 kB / 329.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2251, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.021/1.246, allocations: 0.5889 GB / 0.9571 GB, free: 23.14 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/1.247, allocations: 103.9 kB / 0.9572 GB, free: 23.04 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4952/1.742, allocations: 151.5 MB / 1.105 GB, free: 42.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.974e-06/1.742, allocations: 4.375 kB / 1.105 GB, free: 42.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.738e-05/1.742, allocations: 4 kB / 1.105 GB, free: 42.45 MB / 426.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.00115/1.743, allocations: 0.6168 MB / 1.106 GB, free: 41.78 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/1.743, allocations: 12.03 kB / 1.106 GB, free: 41.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003337/1.744, allocations: 52.55 kB / 1.106 GB, free: 41.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/1.744, allocations: 283.8 kB / 1.106 GB, free: 41.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/1.744, allocations: 16.94 kB / 1.106 GB, free: 41.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/1.744, allocations: 24.38 kB / 1.106 GB, free: 41.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/1.745, allocations: 312.2 kB / 1.106 GB, free: 41.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/1.745, allocations: 8.188 kB / 1.106 GB, free: 41.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.794e-05/1.745, allocations: 15.94 kB / 1.106 GB, free: 41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/1.745, allocations: 4 kB / 1.106 GB, free: 41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/1.745, allocations: 209.5 kB / 1.107 GB, free: 40.79 MB / 426.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.001568/1.747, allocations: 1.593 MB / 1.108 GB, free: 39.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/1.747, allocations: 164.7 kB / 1.108 GB, free: 38.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/1.747, allocations: 97.14 kB / 1.108 GB, free: 38.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/1.747, allocations: 7.938 kB / 1.108 GB, free: 38.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/1.747, allocations: 34.56 kB / 1.108 GB, free: 38.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 2.235e-06/1.747, allocations: 4 kB / 1.108 GB, free: 38.73 MB / 426.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.005025/1.752, allocations: 1.613 MB / 1.11 GB, free: 36.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/1.752, allocations: 63.38 kB / 1.11 GB, free: 36.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/1.752, allocations: 249 kB / 1.11 GB, free: 36.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/1.753, allocations: 37.7 kB / 1.11 GB, free: 36.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.479e-05/1.753, allocations: 176.2 kB / 1.111 GB, free: 36.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.531e-05/1.753, allocations: 94.64 kB / 1.111 GB, free: 36.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/1.753, allocations: 8 kB / 1.111 GB, free: 36.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.096e-05/1.753, allocations: 343 kB / 1.111 GB, free: 36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/1.753, allocations: 83.97 kB / 1.111 GB, free: 35.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/1.753, allocations: 191.7 kB / 1.111 GB, free: 35.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003485/1.753, allocations: 304.3 kB / 1.112 GB, free: 35.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.753, allocations: 3.938 kB / 1.112 GB, free: 35.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005668/1.754, allocations: 387.1 kB / 1.112 GB, free: 34.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/1.754, allocations: 8 kB / 1.112 GB, free: 34.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/1.754, allocations: 3.984 kB / 1.112 GB, free: 34.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002149/1.754, allocations: 77.62 kB / 1.112 GB, free: 34.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/1.755, allocations: 79.89 kB / 1.112 GB, free: 34.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009895/1.756, allocations: 1.86 MB / 1.114 GB, free: 32.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/1.756, allocations: 24.2 kB / 1.114 GB, free: 32.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/1.756, allocations: 36 kB / 1.114 GB, free: 32.7 MB / 426.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.000175/1.756, allocations: 153.7 kB / 1.114 GB, free: 32.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/1.756, allocations: 35.64 kB / 1.114 GB, free: 32.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008722/1.757, allocations: 436.7 kB / 1.115 GB, free: 32.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.757, allocations: 7.938 kB / 1.115 GB, free: 32.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/1.757, allocations: 0 / 1.115 GB, free: 32.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004087/1.758, allocations: 0.563 MB / 1.115 GB, free: 31.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009515/1.758, allocations: 0.7213 MB / 1.116 GB, free: 30.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.759, allocations: 4 kB / 1.116 GB, free: 30.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/1.759, allocations: 75.83 kB / 1.116 GB, free: 30.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.43e-05/1.759, allocations: 28.83 kB / 1.116 GB, free: 30.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/1.759, allocations: 11.98 kB / 1.116 GB, free: 30.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007028/1.76, allocations: 1.276 MB / 1.117 GB, free: 29.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.76, allocations: 4.031 kB / 1.117 GB, free: 29.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006642/1.76, allocations: 486.5 kB / 1.118 GB, free: 28.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/1.761, allocations: 100.8 kB / 1.118 GB, free: 28.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.74e-05/1.761, allocations: 8 kB / 1.118 GB, free: 28.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/1.761, allocations: 15.98 kB / 1.118 GB, free: 28.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/1.761, allocations: 31.97 kB / 1.118 GB, free: 28.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.877e-05/1.761, allocations: 35.98 kB / 1.118 GB, free: 28.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001783/1.761, allocations: 182 kB / 1.118 GB, free: 28.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/1.761, allocations: 0 / 1.118 GB, free: 28.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009868/1.762, allocations: 191.9 kB / 1.118 GB, free: 28 MB / 426.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.001239/1.763, allocations: 0.7768 MB / 1.119 GB, free: 27.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000645/1.764, allocations: 375.2 kB / 1.119 GB, free: 26.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.764, allocations: 7.938 kB / 1.119 GB, free: 26.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002851/1.764, allocations: 234.4 kB / 1.12 GB, free: 26.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009305/1.765, allocations: 164.4 kB / 1.12 GB, free: 26.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/1.766, allocations: 0.8163 MB / 1.12 GB, free: 25.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/1.767, allocations: 0.7609 MB / 1.121 GB, free: 24.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005569/1.767, allocations: 110.9 kB / 1.121 GB, free: 24.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/1.767, allocations: 67.41 kB / 1.121 GB, free: 24.63 MB / 426.7 MB Notification: Performance of SimCode: time 3.61e-07/1.767, allocations: 0 / 1.121 GB, free: 24.63 MB / 426.7 MB Notification: Performance of Templates: time 0.02147/1.789, allocations: 18.27 MB / 1.139 GB, free: 6.34 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/jenkins1/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_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches