Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.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 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 181.6 kB / 8.516 MB, free: 1.848 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 221.4 MB / 230.3 MB, free: 7.609 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 86.11 kB / 281.2 MB, free: 5.426 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2241/0.2241, allocations: 44.14 MB / 376.1 MB, free: 3.195 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.664e-06/7.684e-06, allocations: 0 / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1543, allocations: 61.91 MB / 0.4941 GB, free: 1.605 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.609/1.763, allocations: 0.6954 GB / 1.189 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001692/1.763, allocations: 71.95 kB / 1.19 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.06981/1.833, allocations: 33.47 MB / 1.222 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.246e-05/1.833, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.5261 GB 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.0004258/1.833, allocations: 418.2 kB / 1.223 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/1.833, allocations: 17.22 kB / 1.223 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/1.835, allocations: 223.5 kB / 1.223 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/1.836, allocations: 206.9 kB / 1.223 GB, free: 112 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/1.836, allocations: 0 / 1.223 GB, free: 112 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.35e-05/1.836, allocations: 11.91 kB / 1.223 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003639/1.836, allocations: 192.3 kB / 1.223 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/1.836, allocations: 142.9 kB / 1.223 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/1.836, allocations: 0 / 1.223 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/1.836, allocations: 7.938 kB / 1.223 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.836, allocations: 4 kB / 1.223 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/1.838, allocations: 0.5781 MB / 1.224 GB, free: 111 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/1.838, allocations: 134.6 kB / 1.224 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/1.838, allocations: 76.84 kB / 1.224 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/1.838, allocations: 97.08 kB / 1.224 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/1.838, allocations: 34.56 kB / 1.224 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 2.314e-06/1.838, allocations: 0 / 1.224 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.003828/1.842, allocations: 0.9896 MB / 1.225 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/1.842, allocations: 51.41 kB / 1.225 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.06e-05/1.842, allocations: 101 kB / 1.225 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/1.842, allocations: 25.7 kB / 1.225 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.096e-05/1.842, allocations: 100.2 kB / 1.226 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/1.842, allocations: 59.11 kB / 1.226 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.696e-05/1.842, allocations: 4 kB / 1.226 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.734e-05/1.842, allocations: 326.7 kB / 1.226 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/1.842, allocations: 75.84 kB / 1.226 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/1.843, allocations: 105.4 kB / 1.226 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/1.843, allocations: 80.66 kB / 1.226 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/1.843, allocations: 4 kB / 1.226 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003866/1.843, allocations: 230.3 kB / 1.226 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/1.843, allocations: 4 kB / 1.226 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.843, allocations: 0 / 1.226 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001213/1.843, allocations: 28.78 kB / 1.226 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/1.844, allocations: 47.97 kB / 1.226 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002788/1.844, allocations: 0.5485 MB / 1.227 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/1.844, allocations: 4 kB / 1.227 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/1.844, allocations: 7.984 kB / 1.227 GB, free: 107.7 MB / 0.5261 GB 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.325e-05/1.844, allocations: 105 kB / 1.227 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/1.844, allocations: 11.81 kB / 1.227 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005556/1.845, allocations: 275.2 kB / 1.227 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/1.845, allocations: 4 kB / 1.227 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.845, allocations: 0 / 1.227 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.845, allocations: 0 / 1.227 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007877/1.846, allocations: 0.5877 MB / 1.228 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.846, allocations: 8.094 kB / 1.228 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/1.846, allocations: 51.89 kB / 1.228 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.785e-05/1.846, allocations: 20.84 kB / 1.228 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/1.846, allocations: 0 / 1.228 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000616/1.847, allocations: 1.213 MB / 1.229 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.847, allocations: 7.844 kB / 1.229 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004898/1.847, allocations: 424.6 kB / 1.23 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/1.848, allocations: 85.02 kB / 1.23 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/1.848, allocations: 3.906 kB / 1.23 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/1.848, allocations: 7.984 kB / 1.23 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/1.848, allocations: 20.05 kB / 1.23 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/1.848, allocations: 11.98 kB / 1.23 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.142e-05/1.848, allocations: 83.28 kB / 1.23 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007267/1.849, allocations: 159.8 kB / 1.23 GB, free: 104.3 MB / 0.5261 GB 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.001297/1.85, allocations: 0.7288 MB / 1.231 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004124/1.85, allocations: 190.4 kB / 1.231 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/1.85, allocations: 0 / 1.231 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002574/1.851, allocations: 205.5 kB / 1.231 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/1.851, allocations: 32.34 kB / 1.231 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006373/1.852, allocations: 316.6 kB / 1.231 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003262/1.852, allocations: 0.7351 MB / 1.232 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of SimCode: time 2.91e-07/1.852, allocations: 0 / 1.232 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.01332/1.865, allocations: 9.203 MB / 1.241 GB, free: 92.9 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches