Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.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) 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(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001172/0.001173, allocations: 181.8 kB / 8.134 MB, free: 2.207 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.291/1.291, allocations: 221.4 MB / 230 MB, free: 2.992 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.0008982/0.0008981, allocations: 102 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.274e-05/1.276e-05, allocations: 4 kB / 336.5 MB, free: 9.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2652, allocations: 50.4 MB / 386.9 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.89/11.16, allocations: 5.75 GB / 6.128 GB, free: 129.1 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000158/11.16, allocations: 80.7 kB / 6.128 GB, free: 129 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.362/14.52, allocations: 1.045 GB / 7.172 GB, free: 8.578 MB / 0.5578 GB Notification: Performance of Transformations before backend: time 2.028e-05/14.52, allocations: 5.719 kB / 7.172 GB, free: 8.574 MB / 0.5578 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.02955/14.55, allocations: 1.669 MB / 7.174 GB, free: 7.031 MB / 0.5578 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/14.55, allocations: 8.031 kB / 7.174 GB, free: 7.023 MB / 0.5578 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007323/14.55, allocations: 71.48 kB / 7.174 GB, free: 6.953 MB / 0.5578 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006489/14.55, allocations: 320.8 kB / 7.174 GB, free: 6.617 MB / 0.5578 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/14.55, allocations: 8 kB / 7.174 GB, free: 6.609 MB / 0.5578 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-05/14.55, allocations: 20 kB / 7.174 GB, free: 6.59 MB / 0.5578 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005604/14.55, allocations: 326.2 kB / 7.175 GB, free: 6.273 MB / 0.5578 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000561/14.55, allocations: 382.5 kB / 7.175 GB, free: 5.863 MB / 0.5578 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/14.55, allocations: 0 / 7.175 GB, free: 5.863 MB / 0.5578 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.314e-05/14.55, allocations: 4 kB / 7.175 GB, free: 5.859 MB / 0.5578 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/14.55, allocations: 11.91 kB / 7.175 GB, free: 5.848 MB / 0.5578 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006417/14.56, allocations: 5.618 MB / 7.181 GB, free: 15.94 MB / 0.5734 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/14.56, allocations: 171.7 kB / 7.181 GB, free: 15.77 MB / 0.5734 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/14.56, allocations: 115.3 kB / 7.181 GB, free: 15.65 MB / 0.5734 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002136/14.56, allocations: 1.66 MB / 7.182 GB, free: 13.72 MB / 0.5734 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/14.56, allocations: 35.03 kB / 7.183 GB, free: 13.68 MB / 0.5734 GB Notification: Performance of pre-optimization done (n=28): time 2.675e-06/14.56, allocations: 0 / 7.183 GB, free: 13.68 MB / 0.5734 GB Notification: Performance of matching and sorting (n=32): time 0.005139/14.57, allocations: 1.124 MB / 7.184 GB, free: 12.5 MB / 0.5734 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/14.57, allocations: 59.39 kB / 7.184 GB, free: 12.43 MB / 0.5734 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/14.57, allocations: 210.8 kB / 7.184 GB, free: 12.23 MB / 0.5734 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/14.57, allocations: 25.7 kB / 7.184 GB, free: 12.2 MB / 0.5734 GB Notification: Performance of collectInitialEqns (initialization): time 9.338e-05/14.57, allocations: 185.8 kB / 7.184 GB, free: 12.02 MB / 0.5734 GB Notification: Performance of collectInitialBindings (initialization): time 7.682e-05/14.57, allocations: 107.4 kB / 7.184 GB, free: 11.93 MB / 0.5734 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.582e-05/14.57, allocations: 0 / 7.184 GB, free: 11.93 MB / 0.5734 GB Notification: Performance of setup shared object (initialization): time 0.0001182/14.57, allocations: 342.7 kB / 7.185 GB, free: 11.59 MB / 0.5734 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/14.57, allocations: 104.9 kB / 7.185 GB, free: 11.48 MB / 0.5734 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/14.57, allocations: 217.2 kB / 7.185 GB, free: 11.22 MB / 0.5734 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/14.57, allocations: 224.3 kB / 7.185 GB, free: 11 MB / 0.5734 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/14.57, allocations: 0 / 7.185 GB, free: 11 MB / 0.5734 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002039/14.57, allocations: 0.5407 MB / 7.186 GB, free: 10.45 MB / 0.5734 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/14.57, allocations: 11.89 kB / 7.186 GB, free: 10.44 MB / 0.5734 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/14.57, allocations: 4.625 kB / 7.186 GB, free: 10.43 MB / 0.5734 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002384/14.57, allocations: 58.12 kB / 7.186 GB, free: 10.37 MB / 0.5734 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/14.57, allocations: 91.84 kB / 7.186 GB, free: 10.28 MB / 0.5734 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/14.57, allocations: 1.795 MB / 7.187 GB, free: 8.355 MB / 0.5734 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002824/14.57, allocations: 25.86 kB / 7.187 GB, free: 8.332 MB / 0.5734 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/14.57, allocations: 32.02 kB / 7.188 GB, free: 8.301 MB / 0.5734 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.0001109/14.57, allocations: 114.9 kB / 7.188 GB, free: 8.184 MB / 0.5734 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002636/14.57, allocations: 63.67 kB / 7.188 GB, free: 8.121 MB / 0.5734 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/14.58, allocations: 0.7655 MB / 7.188 GB, free: 7.348 MB / 0.5734 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/14.58, allocations: 7.984 kB / 7.188 GB, free: 7.34 MB / 0.5734 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/14.58, allocations: 0 / 7.188 GB, free: 7.34 MB / 0.5734 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001354/14.58, allocations: 0.8793 MB / 7.189 GB, free: 6.371 MB / 0.5734 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/14.58, allocations: 1.147 MB / 7.19 GB, free: 5.18 MB / 0.5734 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/14.58, allocations: 0 / 7.19 GB, free: 5.18 MB / 0.5734 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/14.58, allocations: 59.91 kB / 7.19 GB, free: 5.121 MB / 0.5734 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002448/14.58, allocations: 60.7 kB / 7.191 GB, free: 5.059 MB / 0.5734 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/14.58, allocations: 8 kB / 7.191 GB, free: 5.051 MB / 0.5734 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004341/14.58, allocations: 0.5991 MB / 7.191 GB, free: 4.426 MB / 0.5734 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/14.58, allocations: 0 / 7.191 GB, free: 4.426 MB / 0.5734 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001687/14.58, allocations: 0.8717 MB / 7.192 GB, free: 3.516 MB / 0.5734 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/14.58, allocations: 116.6 kB / 7.192 GB, free: 3.383 MB / 0.5734 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.272e-05/14.58, allocations: 3.984 kB / 7.192 GB, free: 3.379 MB / 0.5734 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/14.58, allocations: 8 kB / 7.192 GB, free: 3.371 MB / 0.5734 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/14.58, allocations: 24.19 kB / 7.192 GB, free: 3.348 MB / 0.5734 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/14.58, allocations: 15.98 kB / 7.192 GB, free: 3.332 MB / 0.5734 GB Notification: Performance of sort global known variables: time 0.0001605/14.58, allocations: 168.6 kB / 7.192 GB, free: 3.168 MB / 0.5734 GB Notification: Performance of remove unused functions: time 0.01141/14.59, allocations: 0.868 MB / 7.193 GB, free: 2.359 MB / 0.5734 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.388/14.98, allocations: 36.67 MB / 7.229 GB, free: 119.4 MB / 0.6046 GB Notification: Performance of simCode: created initialization part: time 0.0008765/14.98, allocations: 0.5138 MB / 7.229 GB, free: 119.3 MB / 0.6046 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/14.98, allocations: 2.906 kB / 7.229 GB, free: 119.3 MB / 0.6046 GB Notification: Performance of simCode: created simulation system equations: time 0.0003503/14.98, allocations: 279.6 kB / 7.23 GB, free: 119.3 MB / 0.6046 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008036/14.98, allocations: 138.5 kB / 7.23 GB, free: 119.3 MB / 0.6046 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/14.99, allocations: 0.6676 MB / 7.231 GB, free: 119.1 MB / 0.6046 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/14.99, allocations: 0.8523 MB / 7.231 GB, free: 118.4 MB / 0.6046 GB Notification: Performance of SimCode: time 3.8e-07/14.99, allocations: 0 / 7.231 GB, free: 118.4 MB / 0.6046 GB Notification: Performance of Templates: time 0.03748/15.02, allocations: 30.61 MB / 7.261 GB, free: 116.6 MB / 0.6046 GB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches