Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001674/0.001674, allocations: 176.5 kB / 8.477 MB, free: 1.875 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.2 MB / 214.1 MB, free: 5.09 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 94.7 kB / 262.1 MB, free: 5.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.017e-06/9.037e-06, allocations: 4 kB / 315 MB, free: 41.46 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1167, allocations: 47.57 MB / 362.5 MB, free: 9.934 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.342/1.459, allocations: 0.7171 GB / 1.071 GB, free: 4.711 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/1.459, allocations: 79.28 kB / 1.071 GB, free: 4.637 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.255/1.714, allocations: 33.1 MB / 1.104 GB, free: 151.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.423e-05/1.714, allocations: 0 / 1.104 GB, free: 151.5 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004757/1.715, allocations: 414.6 kB / 1.104 GB, free: 151 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/1.715, allocations: 8.781 kB / 1.104 GB, free: 151 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/1.716, allocations: 219.5 kB / 1.104 GB, free: 150.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/1.717, allocations: 210.7 kB / 1.104 GB, free: 150.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/1.717, allocations: 8 kB / 1.104 GB, free: 150.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/1.717, allocations: 4 kB / 1.104 GB, free: 150.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003795/1.717, allocations: 200.2 kB / 1.105 GB, free: 150.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/1.717, allocations: 152.2 kB / 1.105 GB, free: 150.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/1.717, allocations: 3.984 kB / 1.105 GB, free: 150.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/1.717, allocations: 0 / 1.105 GB, free: 150.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/1.717, allocations: 7.906 kB / 1.105 GB, free: 150.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/1.719, allocations: 0.5905 MB / 1.105 GB, free: 149.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/1.719, allocations: 150.4 kB / 1.105 GB, free: 149.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/1.719, allocations: 74.55 kB / 1.106 GB, free: 149.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002053/1.719, allocations: 96.92 kB / 1.106 GB, free: 149.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/1.719, allocations: 30.56 kB / 1.106 GB, free: 149.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/1.719, allocations: 4 kB / 1.106 GB, free: 149.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.00382/1.723, allocations: 0.9754 MB / 1.107 GB, free: 148.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/1.723, allocations: 55.41 kB / 1.107 GB, free: 148 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.992e-05/1.723, allocations: 101 kB / 1.107 GB, free: 147.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/1.723, allocations: 25.7 kB / 1.107 GB, free: 147.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/1.723, allocations: 100.3 kB / 1.107 GB, free: 147.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/1.723, allocations: 67 kB / 1.107 GB, free: 147.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-05/1.723, allocations: 0 / 1.107 GB, free: 147.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.719e-05/1.724, allocations: 318.8 kB / 1.107 GB, free: 147.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/1.724, allocations: 68 kB / 1.107 GB, free: 147.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/1.724, allocations: 107.3 kB / 1.107 GB, free: 147.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/1.724, allocations: 86.16 kB / 1.108 GB, free: 147.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/1.724, allocations: 0 / 1.108 GB, free: 147.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003684/1.724, allocations: 234.1 kB / 1.108 GB, free: 146.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/1.724, allocations: 8.094 kB / 1.108 GB, free: 146.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/1.724, allocations: 7.984 kB / 1.108 GB, free: 146.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001128/1.724, allocations: 16.86 kB / 1.108 GB, free: 146.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/1.725, allocations: 55.89 kB / 1.108 GB, free: 146.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002874/1.725, allocations: 0.5407 MB / 1.108 GB, free: 146.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/1.725, allocations: 7.938 kB / 1.108 GB, free: 146.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/1.725, allocations: 12.31 kB / 1.108 GB, free: 146.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 8.694e-05/1.725, allocations: 104.9 kB / 1.108 GB, free: 146.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/1.726, allocations: 15.89 kB / 1.108 GB, free: 146.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005569/1.726, allocations: 270.7 kB / 1.109 GB, free: 145.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/1.726, allocations: 4 kB / 1.109 GB, free: 145.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.726, allocations: 4 kB / 1.109 GB, free: 145.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/1.726, allocations: 4 kB / 1.109 GB, free: 145.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000792/1.727, allocations: 0.6035 MB / 1.109 GB, free: 145.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/1.727, allocations: 0 / 1.109 GB, free: 145.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003673/1.727, allocations: 43.97 kB / 1.109 GB, free: 145.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.425e-05/1.727, allocations: 24.94 kB / 1.109 GB, free: 145.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/1.727, allocations: 7.984 kB / 1.109 GB, free: 145.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006168/1.728, allocations: 1.216 MB / 1.111 GB, free: 143.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.728, allocations: 0 / 1.111 GB, free: 143.8 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004767/1.729, allocations: 431.8 kB / 1.111 GB, free: 143.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/1.729, allocations: 85.02 kB / 1.111 GB, free: 143.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/1.729, allocations: 0 / 1.111 GB, free: 143.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/1.729, allocations: 7.984 kB / 1.111 GB, free: 143.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/1.729, allocations: 19.83 kB / 1.111 GB, free: 143.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/1.729, allocations: 15.98 kB / 1.111 GB, free: 143.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.764e-05/1.729, allocations: 83.34 kB / 1.111 GB, free: 143.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006454/1.73, allocations: 151.9 kB / 1.111 GB, free: 142.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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.001161/1.731, allocations: 0.7285 MB / 1.112 GB, free: 142.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003918/1.731, allocations: 184.1 kB / 1.112 GB, free: 142.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.731, allocations: 0 / 1.112 GB, free: 142.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002445/1.732, allocations: 197.8 kB / 1.112 GB, free: 141.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/1.732, allocations: 48.03 kB / 1.112 GB, free: 141.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006013/1.732, allocations: 304.5 kB / 1.113 GB, free: 141.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/1.733, allocations: 0.7428 MB / 1.113 GB, free: 140.7 MB / 426.7 MB Notification: Performance of SimCode: time 8.02e-07/1.733, allocations: 0 / 1.113 GB, free: 140.7 MB / 426.7 MB Notification: Performance of Templates: time 0.01232/1.745, allocations: 9.24 MB / 1.123 GB, free: 131.5 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches