Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a2") [: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.001976/0.001976, allocations: 191.5 kB / 8.533 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 225.5 MB / 234.4 MB, free: 3.41 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001018/0.001018, allocations: 90.97 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.504e-05/1.542e-05, allocations: 4 kB / 343.1 MB, free: 8.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1309, allocations: 51.47 MB / 394.6 MB, free: 5.219 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.43/12.56, allocations: 5.751 GB / 6.136 GB, free: 109.2 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/12.56, allocations: 78.73 kB / 6.136 GB, free: 109.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.549/17.11, allocations: 1.307 GB / 7.443 GB, free: 2.227 MB / 0.6359 GB Notification: Performance of Transformations before backend: time 4.288e-05/17.11, allocations: 16 kB / 7.443 GB, free: 2.211 MB / 0.6359 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.04609/17.15, allocations: 2.19 MB / 7.446 GB, free: 228 kB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/17.15, allocations: 8.031 kB / 7.446 GB, free: 220 kB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009808/17.15, allocations: 99.28 kB / 7.446 GB, free: 120 kB / 0.6359 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007549/17.15, allocations: 364.8 kB / 7.446 GB, free: 15.74 MB / 0.6515 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/17.15, allocations: 23.98 kB / 7.446 GB, free: 15.72 MB / 0.6515 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/17.15, allocations: 31.91 kB / 7.446 GB, free: 15.69 MB / 0.6515 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009096/17.16, allocations: 453.8 kB / 7.446 GB, free: 15.25 MB / 0.6515 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008959/17.16, allocations: 0.5054 MB / 7.447 GB, free: 14.69 MB / 0.6515 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/17.16, allocations: 11.98 kB / 7.447 GB, free: 14.68 MB / 0.6515 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.024e-05/17.16, allocations: 0 / 7.447 GB, free: 14.68 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/17.16, allocations: 12 kB / 7.447 GB, free: 14.67 MB / 0.6515 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008725/17.17, allocations: 6.491 MB / 7.453 GB, free: 7.84 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/17.17, allocations: 239.7 kB / 7.454 GB, free: 7.602 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/17.17, allocations: 178.3 kB / 7.454 GB, free: 7.426 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003106/17.17, allocations: 2.442 MB / 7.456 GB, free: 4.582 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/17.17, allocations: 38.56 kB / 7.456 GB, free: 4.535 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=44): time 2.284e-06/17.17, allocations: 0 / 7.456 GB, free: 4.535 MB / 0.6515 GB Notification: Performance of matching and sorting (n=52): time 0.007727/17.18, allocations: 1.656 MB / 7.458 GB, free: 2.844 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/17.18, allocations: 55.84 kB / 7.458 GB, free: 2.777 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/17.18, allocations: 250.3 kB / 7.458 GB, free: 2.531 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/17.18, allocations: 25.7 kB / 7.458 GB, free: 2.5 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/17.18, allocations: 219.3 kB / 7.458 GB, free: 2.301 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/17.18, allocations: 181.3 kB / 7.458 GB, free: 2.145 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/17.18, allocations: 0 / 7.458 GB, free: 2.145 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0001382/17.18, allocations: 350.8 kB / 7.459 GB, free: 1.793 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/17.18, allocations: 169.3 kB / 7.459 GB, free: 1.625 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/17.18, allocations: 314.8 kB / 7.459 GB, free: 1.254 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/17.18, allocations: 324.5 kB / 7.46 GB, free: 0.9414 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/17.18, allocations: 4 kB / 7.46 GB, free: 0.9375 MB / 0.6515 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003102/17.18, allocations: 0.7858 MB / 7.46 GB, free: 136 kB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/17.18, allocations: 4 kB / 7.46 GB, free: 132 kB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/17.18, allocations: 8.562 kB / 7.46 GB, free: 124 kB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003784/17.18, allocations: 90.53 kB / 7.46 GB, free: 24 kB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007584/17.18, allocations: 151.7 kB / 7.461 GB, free: 15.88 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/17.19, allocations: 2.97 MB / 7.464 GB, free: 12.71 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004635/17.19, allocations: 35.03 kB / 7.464 GB, free: 12.68 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.858e-05/17.19, allocations: 35.97 kB / 7.464 GB, free: 12.64 MB / 0.6671 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001675/17.19, allocations: 127.5 kB / 7.464 GB, free: 12.52 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003831/17.19, allocations: 91.47 kB / 7.464 GB, free: 12.43 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002843/17.19, allocations: 1.191 MB / 7.465 GB, free: 11.21 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/17.19, allocations: 8 kB / 7.465 GB, free: 11.2 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/17.19, allocations: 0 / 7.465 GB, free: 11.2 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002165/17.19, allocations: 1.134 MB / 7.466 GB, free: 9.992 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003166/17.2, allocations: 1.694 MB / 7.468 GB, free: 8.258 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/17.2, allocations: 0 / 7.468 GB, free: 8.258 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/17.2, allocations: 103.8 kB / 7.468 GB, free: 8.156 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004529/17.2, allocations: 117.6 kB / 7.468 GB, free: 8.035 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.07e-05/17.2, allocations: 27.89 kB / 7.468 GB, free: 8.008 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008494/17.2, allocations: 1.171 MB / 7.469 GB, free: 6.785 MB / 0.6671 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/17.2, allocations: 8.156 kB / 7.469 GB, free: 6.777 MB / 0.6671 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00269/17.2, allocations: 1.315 MB / 7.47 GB, free: 5.426 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/17.2, allocations: 124.5 kB / 7.471 GB, free: 5.285 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.785e-05/17.2, allocations: 0 / 7.471 GB, free: 5.285 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/17.2, allocations: 22.94 kB / 7.471 GB, free: 5.266 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/17.2, allocations: 36.44 kB / 7.471 GB, free: 5.23 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/17.2, allocations: 23.98 kB / 7.471 GB, free: 5.207 MB / 0.6671 GB Notification: Performance of sort global known variables: time 0.0002179/17.2, allocations: 187.1 kB / 7.471 GB, free: 5.023 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.0149/17.22, allocations: 1.141 MB / 7.472 GB, free: 3.957 MB / 0.6671 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.5042/17.72, allocations: 45.53 MB / 7.516 GB, free: 97.46 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.001883/17.72, allocations: 0.7621 MB / 7.517 GB, free: 97.36 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/17.72, allocations: 2.125 kB / 7.517 GB, free: 97.36 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.0006675/17.72, allocations: 466.3 kB / 7.518 GB, free: 97.36 MB / 0.6671 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/17.72, allocations: 197.1 kB / 7.518 GB, free: 97.36 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/17.73, allocations: 1.044 MB / 7.519 GB, free: 97.12 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004318/17.73, allocations: 0.9251 MB / 7.52 GB, free: 96.41 MB / 0.6671 GB Notification: Performance of SimCode: time 1.102e-06/17.73, allocations: 1.656 kB / 7.52 GB, free: 96.41 MB / 0.6671 GB Notification: Performance of Templates: time 0.05232/17.78, allocations: 38.96 MB / 7.558 GB, free: 94.15 MB / 0.6671 GB make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches