Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.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.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.001235/0.001234, allocations: 174.2 kB / 8.476 MB, free: 1.848 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.764/1.764, allocations: 205.2 MB / 214.1 MB, free: 5.09 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.00137/0.001369, allocations: 90.25 kB / 262.1 MB, free: 5.129 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.395e-05/1.399e-05, allocations: 4 kB / 315 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1192, allocations: 47.58 MB / 362.5 MB, free: 9.953 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.85/12.97, allocations: 5.795 GB / 6.149 GB, free: 150.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/12.97, allocations: 74.28 kB / 6.149 GB, free: 150.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.787/16.76, allocations: 1.044 GB / 7.193 GB, free: 31.26 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 3.31e-05/16.76, allocations: 13.41 kB / 7.193 GB, free: 31.25 MB / 0.5421 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.04623/16.81, allocations: 1.67 MB / 7.195 GB, free: 29.77 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/16.81, allocations: 8.031 kB / 7.195 GB, free: 29.77 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007627/16.81, allocations: 71.48 kB / 7.195 GB, free: 29.7 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005392/16.81, allocations: 312 kB / 7.195 GB, free: 29.41 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/16.81, allocations: 12 kB / 7.195 GB, free: 29.4 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5e-05/16.81, allocations: 23.8 kB / 7.195 GB, free: 29.38 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005648/16.81, allocations: 325 kB / 7.196 GB, free: 29.18 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/16.81, allocations: 384.5 kB / 7.196 GB, free: 28.84 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/16.81, allocations: 0 / 7.196 GB, free: 28.84 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/16.81, allocations: 4 kB / 7.196 GB, free: 28.84 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/16.81, allocations: 11.91 kB / 7.196 GB, free: 28.82 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006193/16.81, allocations: 5.627 MB / 7.202 GB, free: 22.92 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/16.81, allocations: 163.2 kB / 7.202 GB, free: 22.75 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/16.81, allocations: 117.5 kB / 7.202 GB, free: 22.64 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001839/16.82, allocations: 1.664 MB / 7.203 GB, free: 20.7 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/16.82, allocations: 39.03 kB / 7.203 GB, free: 20.65 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=28): time 3.206e-06/16.82, allocations: 0 / 7.203 GB, free: 20.65 MB / 0.5421 GB Notification: Performance of matching and sorting (n=32): time 0.00516/16.82, allocations: 1.128 MB / 7.205 GB, free: 19.48 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/16.82, allocations: 55.41 kB / 7.205 GB, free: 19.41 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/16.82, allocations: 212.8 kB / 7.205 GB, free: 19.2 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/16.82, allocations: 29.7 kB / 7.205 GB, free: 19.17 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 9.353e-05/16.82, allocations: 179.8 kB / 7.205 GB, free: 19 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 7.67e-05/16.82, allocations: 109.4 kB / 7.205 GB, free: 18.91 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-05/16.82, allocations: 0 / 7.205 GB, free: 18.91 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.000104/16.82, allocations: 338.7 kB / 7.205 GB, free: 18.57 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/16.82, allocations: 100.9 kB / 7.206 GB, free: 18.47 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/16.82, allocations: 223.1 kB / 7.206 GB, free: 18.2 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/16.82, allocations: 223.8 kB / 7.206 GB, free: 17.98 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/16.82, allocations: 0 / 7.206 GB, free: 17.98 MB / 0.5421 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001889/16.83, allocations: 0.5441 MB / 7.206 GB, free: 17.43 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/16.83, allocations: 4 kB / 7.206 GB, free: 17.43 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/16.83, allocations: 11.84 kB / 7.206 GB, free: 17.41 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/16.83, allocations: 62.12 kB / 7.207 GB, free: 17.35 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/16.83, allocations: 91.83 kB / 7.207 GB, free: 17.26 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/16.83, allocations: 1.785 MB / 7.208 GB, free: 15.34 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/16.83, allocations: 26.02 kB / 7.208 GB, free: 15.31 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/16.83, allocations: 20 kB / 7.208 GB, free: 15.29 MB / 0.5421 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.000101/16.83, allocations: 110.9 kB / 7.209 GB, free: 15.18 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/16.83, allocations: 71.66 kB / 7.209 GB, free: 15.11 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/16.83, allocations: 0.7683 MB / 7.209 GB, free: 14.33 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/16.83, allocations: 11.98 kB / 7.209 GB, free: 14.32 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/16.83, allocations: 0 / 7.209 GB, free: 14.32 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001279/16.83, allocations: 0.8782 MB / 7.21 GB, free: 13.35 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/16.83, allocations: 1.164 MB / 7.211 GB, free: 12.15 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/16.83, allocations: 0 / 7.211 GB, free: 12.15 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/16.83, allocations: 62.09 kB / 7.211 GB, free: 12.09 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002171/16.83, allocations: 60.7 kB / 7.211 GB, free: 12.03 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/16.83, allocations: 4 kB / 7.211 GB, free: 12.02 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002765/16.83, allocations: 0.5992 MB / 7.212 GB, free: 11.4 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/16.83, allocations: 0 / 7.212 GB, free: 11.4 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001457/16.84, allocations: 0.8638 MB / 7.213 GB, free: 10.5 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/16.84, allocations: 112.6 kB / 7.213 GB, free: 10.37 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/16.84, allocations: 4 kB / 7.213 GB, free: 10.36 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/16.84, allocations: 13.95 kB / 7.213 GB, free: 10.35 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/16.84, allocations: 20.25 kB / 7.213 GB, free: 10.33 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/16.84, allocations: 19.98 kB / 7.213 GB, free: 10.31 MB / 0.5421 GB Notification: Performance of sort global known variables: time 0.000123/16.84, allocations: 168.5 kB / 7.213 GB, free: 10.15 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.02519/16.86, allocations: 0.8602 MB / 7.214 GB, free: 9.344 MB / 0.5421 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.2032/17.06, allocations: 36.68 MB / 7.25 GB, free: 4.883 MB / 0.5734 GB Notification: Performance of simCode: created initialization part: time 0.00116/17.07, allocations: 0.509 MB / 7.25 GB, free: 4.367 MB / 0.5734 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/17.07, allocations: 0 / 7.25 GB, free: 4.367 MB / 0.5734 GB Notification: Performance of simCode: created simulation system equations: time 0.0003977/17.07, allocations: 288.3 kB / 7.251 GB, free: 4.086 MB / 0.5734 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008631/17.07, allocations: 132 kB / 7.251 GB, free: 3.961 MB / 0.5734 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/17.07, allocations: 0.6664 MB / 7.251 GB, free: 3.27 MB / 0.5734 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004349/17.07, allocations: 0.8467 MB / 7.252 GB, free: 2.395 MB / 0.5734 GB Notification: Performance of SimCode: time 3.51e-07/17.07, allocations: 4 kB / 7.252 GB, free: 2.391 MB / 0.5734 GB Notification: Performance of Templates: time 0.3465/17.42, allocations: 30.62 MB / 7.282 GB, free: 120.2 MB / 0.589 GB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches