Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.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.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MixtureGases") [: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.001032/0.001032, allocations: 172.6 kB / 8.47 MB, free: 1.852 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.419/1.419, allocations: 205.2 MB / 214.1 MB, free: 5.156 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.0009174/0.0009174, allocations: 78.53 kB / 262.1 MB, free: 5.195 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.011e-06/6.041e-06, allocations: 0 / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07824/0.07827, allocations: 47.58 MB / 362.5 MB, free: 9.957 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.519/1.598, allocations: 0.7372 GB / 1.091 GB, free: 152.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/1.598, allocations: 66.59 kB / 1.091 GB, free: 152.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.2073/1.805, allocations: 106.5 MB / 1.195 GB, free: 44.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.93e-05/1.805, allocations: 4 kB / 1.195 GB, free: 44.16 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002825/1.808, allocations: 0.7829 MB / 1.196 GB, free: 43.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/1.808, allocations: 15.97 kB / 1.196 GB, free: 43.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00188/1.81, allocations: 299.1 kB / 1.196 GB, free: 43.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/1.81, allocations: 290.6 kB / 1.197 GB, free: 42.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/1.811, allocations: 8 kB / 1.197 GB, free: 42.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.431e-05/1.811, allocations: 23.84 kB / 1.197 GB, free: 42.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000925/1.812, allocations: 0.6066 MB / 1.197 GB, free: 42.06 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008967/1.812, allocations: 0.5853 MB / 1.198 GB, free: 41.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/1.812, allocations: 3.938 kB / 1.198 GB, free: 41.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.181e-05/1.813, allocations: 4 kB / 1.198 GB, free: 41.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/1.813, allocations: 16.42 kB / 1.198 GB, free: 41.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003657/1.816, allocations: 1.751 MB / 1.2 GB, free: 39.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004985/1.817, allocations: 357.1 kB / 1.2 GB, free: 39.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/1.817, allocations: 181.5 kB / 1.2 GB, free: 39.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001667/1.819, allocations: 0.9158 MB / 1.201 GB, free: 37.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/1.819, allocations: 38.56 kB / 1.201 GB, free: 37.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 2.585e-06/1.819, allocations: 0 / 1.201 GB, free: 37.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.007448/1.826, allocations: 2.192 MB / 1.203 GB, free: 35.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/1.826, allocations: 81.11 kB / 1.203 GB, free: 35.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/1.826, allocations: 162.2 kB / 1.203 GB, free: 35.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.491e-05/1.827, allocations: 25.7 kB / 1.203 GB, free: 35.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/1.827, allocations: 180.1 kB / 1.204 GB, free: 35.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/1.827, allocations: 169.5 kB / 1.204 GB, free: 34.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/1.827, allocations: 0 / 1.204 GB, free: 34.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.104e-05/1.827, allocations: 338.8 kB / 1.204 GB, free: 34.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/1.827, allocations: 197.3 kB / 1.204 GB, free: 34.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/1.827, allocations: 356.9 kB / 1.205 GB, free: 33.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/1.828, allocations: 249.1 kB / 1.205 GB, free: 33.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.828, allocations: 4 kB / 1.205 GB, free: 33.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001033/1.829, allocations: 0.6211 MB / 1.205 GB, free: 33.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/1.829, allocations: 4 kB / 1.205 GB, free: 33.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/1.829, allocations: 4 kB / 1.205 GB, free: 33.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/1.829, allocations: 53.69 kB / 1.205 GB, free: 33.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/1.83, allocations: 184 kB / 1.206 GB, free: 32.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005622/1.831, allocations: 1.089 MB / 1.207 GB, free: 31.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007263/1.832, allocations: 43.8 kB / 1.207 GB, free: 31.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.323e-05/1.832, allocations: 39.98 kB / 1.207 GB, free: 31.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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.0001603/1.832, allocations: 119.2 kB / 1.207 GB, free: 31.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/1.832, allocations: 23.72 kB / 1.207 GB, free: 31.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/1.834, allocations: 0.6969 MB / 1.208 GB, free: 30.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.834, allocations: 4 kB / 1.208 GB, free: 30.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/1.834, allocations: 0 / 1.208 GB, free: 30.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/1.834, allocations: 0 / 1.208 GB, free: 30.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/1.836, allocations: 1.368 MB / 1.209 GB, free: 29.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/1.836, allocations: 0 / 1.209 GB, free: 29.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/1.837, allocations: 147.7 kB / 1.209 GB, free: 29.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001461/1.837, allocations: 45.67 kB / 1.209 GB, free: 29.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.149e-05/1.837, allocations: 16.14 kB / 1.209 GB, free: 29.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/1.839, allocations: 2.426 MB / 1.211 GB, free: 26.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.839, allocations: 3.906 kB / 1.211 GB, free: 26.46 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001501/1.84, allocations: 0.9802 MB / 1.212 GB, free: 25.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.689e-05/1.841, allocations: 96.83 kB / 1.213 GB, free: 25.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/1.841, allocations: 11.91 kB / 1.213 GB, free: 25.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007642/1.841, allocations: 31.95 kB / 1.213 GB, free: 25.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.671e-05/1.842, allocations: 35.95 kB / 1.213 GB, free: 25.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.932e-05/1.842, allocations: 35.97 kB / 1.213 GB, free: 25.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001041/1.842, allocations: 120.4 kB / 1.213 GB, free: 25.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002564/1.844, allocations: 411.6 kB / 1.213 GB, free: 24.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003562/1.848, allocations: 1.389 MB / 1.215 GB, free: 23.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001062/1.849, allocations: 0.5259 MB / 1.215 GB, free: 22.72 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.849, allocations: 0 / 1.215 GB, free: 22.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005981/1.85, allocations: 460.9 kB / 1.215 GB, free: 22.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006244/1.85, allocations: 80.56 kB / 1.216 GB, free: 22.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/1.852, allocations: 0.7093 MB / 1.216 GB, free: 21.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008655/1.853, allocations: 0.8776 MB / 1.217 GB, free: 20.52 MB / 426.7 MB Notification: Performance of SimCode: time 1.423e-06/1.853, allocations: 0 / 1.217 GB, free: 20.52 MB / 426.7 MB Notification: Performance of Templates: time 0.26/2.113, allocations: 21.08 MB / 1.238 GB, free: 162.1 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches