Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo): time 0.0009047/0.0009048, allocations: 187 kB / 7.803 MB, free: 2.441 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.062/1.062, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0008057/0.0008058, allocations: 92.52 kB / 261.4 MB, free: 13.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.153/0.153, allocations: 43.49 MB / 352.8 MB, free: 2.008 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.899e-06/4.919e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2049, allocations: 58.84 MB / 476.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9344/1.139, allocations: 0.7263 GB / 1.192 GB, free: 69.97 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/1.14, allocations: 67.97 kB / 1.192 GB, free: 69.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.05937/1.199, allocations: 32.83 MB / 1.224 GB, free: 36.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.104e-05/1.199, allocations: 0 / 1.224 GB, free: 36.91 MB / 0.5105 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.0003314/1.199, allocations: 414.6 kB / 1.224 GB, free: 36.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/1.199, allocations: 8.031 kB / 1.224 GB, free: 36.45 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/1.201, allocations: 215.5 kB / 1.224 GB, free: 36.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/1.201, allocations: 203 kB / 1.225 GB, free: 36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/1.201, allocations: 11.91 kB / 1.225 GB, free: 35.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/1.201, allocations: 4 kB / 1.225 GB, free: 35.98 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003692/1.202, allocations: 200.2 kB / 1.225 GB, free: 35.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/1.202, allocations: 146.9 kB / 1.225 GB, free: 35.64 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/1.202, allocations: 0 / 1.225 GB, free: 35.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/1.202, allocations: 0 / 1.225 GB, free: 35.64 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/1.202, allocations: 4 kB / 1.225 GB, free: 35.63 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/1.203, allocations: 0.6033 MB / 1.226 GB, free: 34.99 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/1.203, allocations: 138.5 kB / 1.226 GB, free: 34.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.587e-05/1.204, allocations: 72.86 kB / 1.226 GB, free: 34.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/1.204, allocations: 97.06 kB / 1.226 GB, free: 34.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.345e-05/1.204, allocations: 38.56 kB / 1.226 GB, free: 34.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/1.204, allocations: 0 / 1.226 GB, free: 34.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.00353/1.207, allocations: 0.9815 MB / 1.227 GB, free: 33.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.399e-05/1.207, allocations: 51.41 kB / 1.227 GB, free: 33.47 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.78e-05/1.207, allocations: 101 kB / 1.227 GB, free: 33.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/1.207, allocations: 29.7 kB / 1.227 GB, free: 33.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.246e-05/1.207, allocations: 96.25 kB / 1.227 GB, free: 33.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/1.207, allocations: 59.11 kB / 1.227 GB, free: 33.17 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/1.207, allocations: 0 / 1.227 GB, free: 33.17 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.848e-05/1.208, allocations: 334.7 kB / 1.227 GB, free: 32.83 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.48e-05/1.208, allocations: 64 kB / 1.228 GB, free: 32.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/1.208, allocations: 111.3 kB / 1.228 GB, free: 32.65 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/1.208, allocations: 86.33 kB / 1.228 GB, free: 32.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/1.208, allocations: 0 / 1.228 GB, free: 32.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003428/1.208, allocations: 238.2 kB / 1.228 GB, free: 32.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/1.208, allocations: 4 kB / 1.228 GB, free: 32.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/1.208, allocations: 0 / 1.228 GB, free: 32.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.446e-05/1.208, allocations: 24.84 kB / 1.228 GB, free: 32.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/1.209, allocations: 51.91 kB / 1.228 GB, free: 32.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002257/1.209, allocations: 0.5446 MB / 1.229 GB, free: 31.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/1.209, allocations: 4 kB / 1.229 GB, free: 31.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/1.209, allocations: 11.92 kB / 1.229 GB, free: 31.66 MB / 0.5105 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 7.018e-05/1.209, allocations: 112.8 kB / 1.229 GB, free: 31.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/1.209, allocations: 11.91 kB / 1.229 GB, free: 31.53 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005224/1.21, allocations: 259.4 kB / 1.229 GB, free: 31.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/1.21, allocations: 4 kB / 1.229 GB, free: 31.26 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.21, allocations: 3.906 kB / 1.229 GB, free: 31.26 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/1.21, allocations: 0 / 1.229 GB, free: 31.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006961/1.211, allocations: 0.6004 MB / 1.23 GB, free: 30.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.211, allocations: 0 / 1.23 GB, free: 30.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/1.211, allocations: 56.05 kB / 1.23 GB, free: 30.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.784e-05/1.211, allocations: 16.84 kB / 1.23 GB, free: 30.52 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/1.211, allocations: 8 kB / 1.23 GB, free: 30.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000501/1.212, allocations: 1.212 MB / 1.231 GB, free: 29.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.212, allocations: 0 / 1.231 GB, free: 29.19 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004384/1.212, allocations: 420.6 kB / 1.231 GB, free: 28.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.997e-05/1.212, allocations: 84.92 kB / 1.231 GB, free: 28.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/1.212, allocations: 7.984 kB / 1.231 GB, free: 28.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/1.212, allocations: 11.88 kB / 1.231 GB, free: 28.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/1.212, allocations: 19.98 kB / 1.231 GB, free: 28.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/1.212, allocations: 11.98 kB / 1.231 GB, free: 28.58 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.242e-05/1.212, allocations: 87.28 kB / 1.231 GB, free: 28.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005137/1.213, allocations: 151.9 kB / 1.232 GB, free: 28.34 MB / 0.5105 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.0009163/1.214, allocations: 0.7213 MB / 1.232 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003218/1.214, allocations: 191.8 kB / 1.232 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/1.214, allocations: 0 / 1.232 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/1.214, allocations: 197.8 kB / 1.233 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/1.215, allocations: 43.77 kB / 1.233 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/1.215, allocations: 307 kB / 1.233 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/1.216, allocations: 0.735 MB / 1.234 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of SimCode: time 1.342e-06/1.216, allocations: 0 / 1.234 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of Templates: time 0.01051/1.226, allocations: 9.205 MB / 1.243 GB, free: 16.88 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches