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.001533/0.001533, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.627/1.627, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0009159/0.000916, allocations: 86.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.034e-05/3.036e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1144, allocations: 47.57 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.565/1.68, allocations: 0.5393 GB / 0.9006 GB, free: 118 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/1.68, allocations: 96.41 kB / 0.9007 GB, free: 118 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5512/2.231, allocations: 146.3 MB / 1.044 GB, free: 96.74 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.597e-06/2.231, allocations: 0 / 1.044 GB, free: 96.74 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.379e-05/2.231, allocations: 6.156 kB / 1.044 GB, free: 96.74 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.001257/2.232, allocations: 0.6008 MB / 1.044 GB, free: 96.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/2.232, allocations: 9.812 kB / 1.044 GB, free: 96.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003133/2.233, allocations: 39.66 kB / 1.044 GB, free: 96.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/2.233, allocations: 279.5 kB / 1.044 GB, free: 96.17 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/2.233, allocations: 15.34 kB / 1.045 GB, free: 96.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.824e-05/2.233, allocations: 30.22 kB / 1.045 GB, free: 96.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/2.234, allocations: 312.8 kB / 1.045 GB, free: 96.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/2.234, allocations: 3.531 kB / 1.045 GB, free: 96.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.133e-05/2.234, allocations: 14.97 kB / 1.045 GB, free: 96.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/2.234, allocations: 7.734 kB / 1.045 GB, free: 96.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/2.234, allocations: 195.8 kB / 1.045 GB, free: 96.07 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001671/2.236, allocations: 1.576 MB / 1.047 GB, free: 94.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/2.236, allocations: 159.4 kB / 1.047 GB, free: 94.87 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/2.236, allocations: 94.64 kB / 1.047 GB, free: 94.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.697e-05/2.236, allocations: 10.75 kB / 1.047 GB, free: 94.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/2.236, allocations: 41.28 kB / 1.047 GB, free: 94.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 3.186e-06/2.236, allocations: 3.797 kB / 1.047 GB, free: 94.82 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.005151/2.242, allocations: 1.242 MB / 1.048 GB, free: 94.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/2.242, allocations: 58.64 kB / 1.048 GB, free: 94.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/2.242, allocations: 220 kB / 1.048 GB, free: 94.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/2.242, allocations: 32.8 kB / 1.048 GB, free: 94.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/2.242, allocations: 180.8 kB / 1.049 GB, free: 94.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.038e-05/2.242, allocations: 94.39 kB / 1.049 GB, free: 94.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.94e-05/2.242, allocations: 10.53 kB / 1.049 GB, free: 94.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/2.242, allocations: 332.3 kB / 1.049 GB, free: 93.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/2.243, allocations: 86.98 kB / 1.049 GB, free: 93.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/2.243, allocations: 188.1 kB / 1.049 GB, free: 93.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/2.243, allocations: 115.2 kB / 1.049 GB, free: 93.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/2.243, allocations: 0 / 1.049 GB, free: 93.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006747/2.244, allocations: 399.1 kB / 1.05 GB, free: 93.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.578e-05/2.244, allocations: 6.625 kB / 1.05 GB, free: 93.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/2.244, allocations: 3.25 kB / 1.05 GB, free: 93.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000283/2.244, allocations: 75.12 kB / 1.05 GB, free: 93.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/2.245, allocations: 82.89 kB / 1.05 GB, free: 93.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/2.246, allocations: 1.847 MB / 1.052 GB, free: 91.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/2.246, allocations: 28.41 kB / 1.052 GB, free: 91.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/2.246, allocations: 38.44 kB / 1.052 GB, free: 91.76 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 () * 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.0001318/2.246, allocations: 128.3 kB / 1.052 GB, free: 91.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/2.247, allocations: 27.34 kB / 1.052 GB, free: 91.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009441/2.247, allocations: 442.1 kB / 1.052 GB, free: 91.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/2.247, allocations: 7.531 kB / 1.052 GB, free: 91.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/2.247, allocations: 0 / 1.052 GB, free: 91.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004978/2.248, allocations: 0.5516 MB / 1.053 GB, free: 91.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009183/2.249, allocations: 0.7227 MB / 1.054 GB, free: 90.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/2.249, allocations: 2.656 kB / 1.054 GB, free: 90.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/2.249, allocations: 72.66 kB / 1.054 GB, free: 90.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.556e-05/2.249, allocations: 15.31 kB / 1.054 GB, free: 90.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/2.249, allocations: 21.86 kB / 1.054 GB, free: 90.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006463/2.25, allocations: 1.279 MB / 1.055 GB, free: 89.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/2.25, allocations: 0 / 1.055 GB, free: 89.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/2.251, allocations: 0.4892 MB / 1.055 GB, free: 89.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.274e-05/2.251, allocations: 104.4 kB / 1.056 GB, free: 89.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/2.251, allocations: 10.41 kB / 1.056 GB, free: 89.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/2.251, allocations: 11.78 kB / 1.056 GB, free: 89.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/2.251, allocations: 29.77 kB / 1.056 GB, free: 89.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.059e-05/2.251, allocations: 30.75 kB / 1.056 GB, free: 89.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000169/2.251, allocations: 187.1 kB / 1.056 GB, free: 89.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/2.251, allocations: 0 / 1.056 GB, free: 89.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000811/2.252, allocations: 186.6 kB / 1.056 GB, free: 89.12 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 () * 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.001191/2.253, allocations: 0.7886 MB / 1.057 GB, free: 88.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006465/2.254, allocations: 377 kB / 1.057 GB, free: 88.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/2.254, allocations: 0 / 1.057 GB, free: 88.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002429/2.254, allocations: 236.6 kB / 1.057 GB, free: 88.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008608/2.255, allocations: 159.8 kB / 1.057 GB, free: 88.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009071/2.256, allocations: 499.7 kB / 1.058 GB, free: 88.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/2.256, allocations: 0.7693 MB / 1.059 GB, free: 87.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005496/2.257, allocations: 113.2 kB / 1.059 GB, free: 87.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/2.257, allocations: 66.69 kB / 1.059 GB, free: 87.83 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/2.257, allocations: 0 / 1.059 GB, free: 87.83 MB / 426.7 MB Notification: Performance of Templates: time 0.02702/2.284, allocations: 19.91 MB / 1.078 GB, free: 86.87 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/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