Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") [: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 trunk/package.mo): time 0.001354/0.001353, allocations: 203 kB / 8.542 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.604/1.604, allocations: 225.5 MB / 234.4 MB, free: 3.363 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001232/0.001232, allocations: 91.55 kB / 286.3 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.148e-05/1.151e-05, allocations: 4 kB / 343.1 MB, free: 8.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1603, allocations: 51.47 MB / 394.6 MB, free: 5.195 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.2/13.36, allocations: 5.751 GB / 6.136 GB, free: 109.1 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/13.36, allocations: 77 kB / 6.136 GB, free: 109 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.773/17.13, allocations: 1.044 GB / 7.18 GB, free: 10.3 MB / 0.5734 GB Notification: Performance of Transformations before backend: time 3.247e-05/17.13, allocations: 15.05 kB / 7.18 GB, free: 10.29 MB / 0.5734 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.03666/17.17, allocations: 1.674 MB / 7.182 GB, free: 8.742 MB / 0.5734 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/17.17, allocations: 8.031 kB / 7.182 GB, free: 8.734 MB / 0.5734 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006815/17.17, allocations: 71.48 kB / 7.182 GB, free: 8.664 MB / 0.5734 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005315/17.17, allocations: 313.5 kB / 7.182 GB, free: 8.332 MB / 0.5734 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/17.17, allocations: 12 kB / 7.182 GB, free: 8.32 MB / 0.5734 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.533e-05/17.17, allocations: 24 kB / 7.182 GB, free: 8.297 MB / 0.5734 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005597/17.17, allocations: 325.2 kB / 7.183 GB, free: 7.98 MB / 0.5734 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005507/17.17, allocations: 382.6 kB / 7.183 GB, free: 7.57 MB / 0.5734 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/17.17, allocations: 3.938 kB / 7.183 GB, free: 7.566 MB / 0.5734 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/17.17, allocations: 4 kB / 7.183 GB, free: 7.562 MB / 0.5734 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/17.17, allocations: 8 kB / 7.183 GB, free: 7.555 MB / 0.5734 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007277/17.18, allocations: 5.62 MB / 7.188 GB, free: 1.648 MB / 0.5734 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/17.18, allocations: 169.6 kB / 7.189 GB, free: 1.48 MB / 0.5734 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/17.18, allocations: 113.3 kB / 7.189 GB, free: 1.367 MB / 0.5734 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002434/17.18, allocations: 1.666 MB / 7.19 GB, free: 15.43 MB / 0.589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/17.18, allocations: 42.47 kB / 7.19 GB, free: 15.38 MB / 0.589 GB Notification: Performance of pre-optimization done (n=28): time 2.895e-06/17.18, allocations: 0 / 7.19 GB, free: 15.38 MB / 0.589 GB Notification: Performance of matching and sorting (n=32): time 0.005317/17.19, allocations: 1.113 MB / 7.191 GB, free: 14.22 MB / 0.589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/17.19, allocations: 59.41 kB / 7.192 GB, free: 14.15 MB / 0.589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/17.19, allocations: 218.7 kB / 7.192 GB, free: 13.93 MB / 0.589 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/17.19, allocations: 25.7 kB / 7.192 GB, free: 13.9 MB / 0.589 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/17.19, allocations: 184.8 kB / 7.192 GB, free: 13.73 MB / 0.589 GB Notification: Performance of collectInitialBindings (initialization): time 7.584e-05/17.19, allocations: 105.4 kB / 7.192 GB, free: 13.64 MB / 0.589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.552e-05/17.19, allocations: 0 / 7.192 GB, free: 13.64 MB / 0.589 GB Notification: Performance of setup shared object (initialization): time 0.0001233/17.19, allocations: 342.7 kB / 7.192 GB, free: 13.29 MB / 0.589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/17.19, allocations: 100.9 kB / 7.192 GB, free: 13.2 MB / 0.589 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/17.19, allocations: 221.2 kB / 7.193 GB, free: 12.93 MB / 0.589 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/17.19, allocations: 220.1 kB / 7.193 GB, free: 12.72 MB / 0.589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/17.19, allocations: 4 kB / 7.193 GB, free: 12.71 MB / 0.589 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002106/17.19, allocations: 0.5415 MB / 7.193 GB, free: 12.16 MB / 0.589 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/17.19, allocations: 4.438 kB / 7.193 GB, free: 12.16 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/17.19, allocations: 8 kB / 7.193 GB, free: 12.15 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000263/17.19, allocations: 57.59 kB / 7.193 GB, free: 12.09 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/17.19, allocations: 87.89 kB / 7.194 GB, free: 12 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/17.19, allocations: 1.79 MB / 7.195 GB, free: 10.07 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/17.19, allocations: 31.06 kB / 7.195 GB, free: 10.04 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/17.19, allocations: 20 kB / 7.195 GB, free: 10.02 MB / 0.589 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001431/17.19, allocations: 123.8 kB / 7.195 GB, free: 9.898 MB / 0.589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002662/17.19, allocations: 59.67 kB / 7.196 GB, free: 9.84 MB / 0.589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/17.2, allocations: 0.7631 MB / 7.196 GB, free: 9.066 MB / 0.589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/17.2, allocations: 7.984 kB / 7.196 GB, free: 9.059 MB / 0.589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/17.2, allocations: 3.938 kB / 7.196 GB, free: 9.055 MB / 0.589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001361/17.2, allocations: 0.8837 MB / 7.197 GB, free: 8.086 MB / 0.589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/17.2, allocations: 1.155 MB / 7.198 GB, free: 6.887 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/17.2, allocations: 0 / 7.198 GB, free: 6.887 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/17.2, allocations: 63.91 kB / 7.198 GB, free: 6.824 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002543/17.2, allocations: 60.77 kB / 7.198 GB, free: 6.762 MB / 0.589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/17.2, allocations: 8 kB / 7.198 GB, free: 6.754 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003973/17.2, allocations: 0.5874 MB / 7.199 GB, free: 6.141 MB / 0.589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/17.2, allocations: 3.938 kB / 7.199 GB, free: 6.137 MB / 0.589 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001729/17.2, allocations: 0.8729 MB / 7.2 GB, free: 5.23 MB / 0.589 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/17.2, allocations: 112.7 kB / 7.2 GB, free: 5.102 MB / 0.589 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/17.2, allocations: 11.89 kB / 7.2 GB, free: 5.09 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/17.2, allocations: 12.06 kB / 7.2 GB, free: 5.078 MB / 0.589 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/17.2, allocations: 16.25 kB / 7.2 GB, free: 5.062 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/17.2, allocations: 15.98 kB / 7.2 GB, free: 5.047 MB / 0.589 GB Notification: Performance of sort global known variables: time 0.0001623/17.2, allocations: 164.5 kB / 7.2 GB, free: 4.883 MB / 0.589 GB Notification: Performance of remove unused functions: time 0.01473/17.22, allocations: 0.8757 MB / 7.201 GB, free: 4.066 MB / 0.589 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse1.phase,$cse2,$cse3.phase,$cse4) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.445/17.66, allocations: 36.68 MB / 7.237 GB, free: 102.9 MB / 0.6047 GB Notification: Performance of simCode: created initialization part: time 0.0009757/17.66, allocations: 0.5126 MB / 7.237 GB, free: 102.8 MB / 0.6047 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/17.66, allocations: 0 / 7.237 GB, free: 102.8 MB / 0.6047 GB Notification: Performance of simCode: created simulation system equations: time 0.0003392/17.66, allocations: 285.9 kB / 7.238 GB, free: 102.8 MB / 0.6047 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008356/17.66, allocations: 141.4 kB / 7.238 GB, free: 102.8 MB / 0.6047 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/17.67, allocations: 0.6522 MB / 7.238 GB, free: 102.6 MB / 0.6047 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/17.67, allocations: 0.8511 MB / 7.239 GB, free: 101.9 MB / 0.6047 GB Notification: Performance of SimCode: time 9.12e-07/17.67, allocations: 3.391 kB / 7.239 GB, free: 101.9 MB / 0.6047 GB Notification: Performance of Templates: time 0.03658/17.7, allocations: 30.68 MB / 7.269 GB, free: 100.1 MB / 0.6047 GB make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches