Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001642/0.001643, allocations: 176 kB / 8.15 MB, free: 2.184 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 92.03 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2542/0.2542, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.666e-06/8.716e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2955, allocations: 58.84 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.425/1.72, allocations: 0.7263 GB / 1.192 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/1.721, allocations: 76.27 kB / 1.192 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.2831/2.004, allocations: 32.82 MB / 1.224 GB, free: 175.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.426e-05/2.004, allocations: 2.562 kB / 1.224 GB, free: 175.2 MB / 0.4948 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.0005523/2.004, allocations: 416.3 kB / 1.224 GB, free: 174.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/2.004, allocations: 9.188 kB / 1.224 GB, free: 174.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003171/2.008, allocations: 216 kB / 1.224 GB, free: 174.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/2.008, allocations: 201.9 kB / 1.225 GB, free: 174.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/2.008, allocations: 7.188 kB / 1.225 GB, free: 174.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.534e-05/2.008, allocations: 5.406 kB / 1.225 GB, free: 174.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000687/2.009, allocations: 200.4 kB / 1.225 GB, free: 174.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/2.009, allocations: 151 kB / 1.225 GB, free: 174.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/2.009, allocations: 1.75 kB / 1.225 GB, free: 174.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/2.009, allocations: 4 kB / 1.225 GB, free: 174.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/2.009, allocations: 2.344 kB / 1.225 GB, free: 174.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/2.011, allocations: 0.5866 MB / 1.225 GB, free: 173.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/2.012, allocations: 140.6 kB / 1.226 GB, free: 173.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/2.012, allocations: 76.62 kB / 1.226 GB, free: 173.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002823/2.012, allocations: 89.95 kB / 1.226 GB, free: 173.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/2.012, allocations: 36.94 kB / 1.226 GB, free: 173.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 2.334e-06/2.012, allocations: 224 / 1.226 GB, free: 173.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0074/2.02, allocations: 0.9879 MB / 1.227 GB, free: 173 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/2.02, allocations: 58.25 kB / 1.227 GB, free: 173 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.505e-05/2.02, allocations: 99.86 kB / 1.227 GB, free: 172.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/2.02, allocations: 25.7 kB / 1.227 GB, free: 172.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/2.02, allocations: 169.2 kB / 1.227 GB, free: 172.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.439e-05/2.02, allocations: 64.52 kB / 1.227 GB, free: 172.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/2.02, allocations: 0 / 1.227 GB, free: 172.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.929e-05/2.02, allocations: 323.5 kB / 1.227 GB, free: 172.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/2.02, allocations: 70.83 kB / 1.228 GB, free: 172.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/2.021, allocations: 106.5 kB / 1.228 GB, free: 172.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/2.021, allocations: 84 kB / 1.228 GB, free: 172.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/2.021, allocations: 1.219 kB / 1.228 GB, free: 172.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006793/2.022, allocations: 235.2 kB / 1.228 GB, free: 172 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/2.022, allocations: 5.438 kB / 1.228 GB, free: 172 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/2.022, allocations: 2.094 kB / 1.228 GB, free: 172 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000136/2.022, allocations: 21.14 kB / 1.228 GB, free: 172 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007074/2.022, allocations: 53.86 kB / 1.228 GB, free: 172 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003667/2.023, allocations: 0.5438 MB / 1.229 GB, free: 171.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003804/2.023, allocations: 5.656 kB / 1.229 GB, free: 171.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/2.023, allocations: 11.7 kB / 1.229 GB, free: 171.5 MB / 0.4948 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 9.831e-05/2.023, allocations: 36.05 kB / 1.229 GB, free: 171.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.71e-05/2.023, allocations: 13.39 kB / 1.229 GB, free: 171.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009824/2.024, allocations: 269.4 kB / 1.229 GB, free: 171.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/2.024, allocations: 3.25 kB / 1.229 GB, free: 171.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/2.024, allocations: 0 / 1.229 GB, free: 171.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/2.025, allocations: 1.219 kB / 1.229 GB, free: 171.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/2.026, allocations: 0.5964 MB / 1.229 GB, free: 170.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/2.026, allocations: 9.75 kB / 1.229 GB, free: 170.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007156/2.027, allocations: 45.39 kB / 1.23 GB, free: 170.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.883e-05/2.027, allocations: 21.19 kB / 1.23 GB, free: 170.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/2.027, allocations: 5.406 kB / 1.23 GB, free: 170.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008415/2.028, allocations: 1.212 MB / 1.231 GB, free: 169.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.135e-05/2.028, allocations: 1.125 kB / 1.231 GB, free: 169.6 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008606/2.029, allocations: 430.3 kB / 1.231 GB, free: 169.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/2.029, allocations: 85.97 kB / 1.231 GB, free: 169.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.747e-05/2.029, allocations: 6.031 kB / 1.231 GB, free: 169.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004704/2.029, allocations: 9.797 kB / 1.231 GB, free: 169.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/2.029, allocations: 19.06 kB / 1.231 GB, free: 169.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.864e-05/2.029, allocations: 8.719 kB / 1.231 GB, free: 169.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.263e-05/2.029, allocations: 86.25 kB / 1.231 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008646/2.03, allocations: 147 kB / 1.231 GB, free: 169.1 MB / 0.4948 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.00173/2.032, allocations: 0.7331 MB / 1.232 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006376/2.033, allocations: 180.7 kB / 1.232 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/2.033, allocations: 1.5 kB / 1.232 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003987/2.033, allocations: 194.2 kB / 1.233 GB, free: 168.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/2.034, allocations: 46.03 kB / 1.233 GB, free: 168.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008883/2.034, allocations: 335.7 kB / 1.233 GB, free: 168.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004268/2.035, allocations: 0.735 MB / 1.234 GB, free: 167.7 MB / 0.4948 GB Notification: Performance of SimCode: time 7.01e-07/2.035, allocations: 5.125 kB / 1.234 GB, free: 167.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.01633/2.051, allocations: 7.381 MB / 1.241 GB, free: 165.1 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches