Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001963/0.001963, allocations: 184 kB / 8.138 MB, free: 2.219 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.351/1.351, allocations: 221.4 MB / 229.9 MB, free: 3.035 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.001218/0.001218, allocations: 99.39 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.012e-06/6.032e-06, allocations: 0 / 336.5 MB, free: 9.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2553, allocations: 50.39 MB / 386.9 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.66/10.91, allocations: 5.75 GB / 6.128 GB, free: 159.1 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/10.91, allocations: 73.41 kB / 6.128 GB, free: 159.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.076/14.99, allocations: 1.308 GB / 7.436 GB, free: 38.87 MB / 0.6203 GB Notification: Performance of Transformations before backend: time 2.263e-05/14.99, allocations: 12.16 kB / 7.436 GB, free: 38.86 MB / 0.6203 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.03973/15.03, allocations: 2.187 MB / 7.438 GB, free: 37.07 MB / 0.6203 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/15.03, allocations: 8.031 kB / 7.438 GB, free: 37.06 MB / 0.6203 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007587/15.03, allocations: 104 kB / 7.438 GB, free: 36.98 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/15.03, allocations: 374.2 kB / 7.438 GB, free: 36.7 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/15.03, allocations: 12 kB / 7.438 GB, free: 36.68 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.274e-05/15.03, allocations: 28 kB / 7.439 GB, free: 36.66 MB / 0.6203 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006146/15.03, allocations: 454 kB / 7.439 GB, free: 36.41 MB / 0.6203 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000624/15.03, allocations: 0.5148 MB / 7.439 GB, free: 36.04 MB / 0.6203 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/15.03, allocations: 0 / 7.439 GB, free: 36.04 MB / 0.6203 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/15.03, allocations: 0 / 7.439 GB, free: 36.04 MB / 0.6203 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/15.03, allocations: 12 kB / 7.439 GB, free: 36.03 MB / 0.6203 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005792/15.04, allocations: 6.509 MB / 7.446 GB, free: 30.6 MB / 0.6203 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003887/15.04, allocations: 243.5 kB / 7.446 GB, free: 30.45 MB / 0.6203 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/15.04, allocations: 172.6 kB / 7.446 GB, free: 30.35 MB / 0.6203 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002384/15.04, allocations: 2.448 MB / 7.449 GB, free: 27.73 MB / 0.6203 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/15.04, allocations: 44.97 kB / 7.449 GB, free: 27.69 MB / 0.6203 GB Notification: Performance of pre-optimization done (n=44): time 2.034e-06/15.04, allocations: 0 / 7.449 GB, free: 27.69 MB / 0.6203 GB Notification: Performance of matching and sorting (n=52): time 0.007046/15.05, allocations: 1.655 MB / 7.45 GB, free: 26.56 MB / 0.6203 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.732e-05/15.05, allocations: 55.84 kB / 7.45 GB, free: 26.49 MB / 0.6203 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/15.05, allocations: 247.5 kB / 7.451 GB, free: 26.3 MB / 0.6203 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/15.05, allocations: 25.7 kB / 7.451 GB, free: 26.27 MB / 0.6203 GB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/15.05, allocations: 227.6 kB / 7.451 GB, free: 26.11 MB / 0.6203 GB Notification: Performance of collectInitialBindings (initialization): time 8.859e-05/15.05, allocations: 175.1 kB / 7.451 GB, free: 26 MB / 0.6203 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/15.05, allocations: 4 kB / 7.451 GB, free: 25.99 MB / 0.6203 GB Notification: Performance of setup shared object (initialization): time 6.028e-05/15.05, allocations: 343.1 kB / 7.451 GB, free: 25.67 MB / 0.6203 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/15.05, allocations: 170.9 kB / 7.451 GB, free: 25.58 MB / 0.6203 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/15.05, allocations: 312.9 kB / 7.452 GB, free: 25.31 MB / 0.6203 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/15.05, allocations: 336 kB / 7.452 GB, free: 25.13 MB / 0.6203 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/15.05, allocations: 0 / 7.452 GB, free: 25.13 MB / 0.6203 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002724/15.05, allocations: 0.7895 MB / 7.453 GB, free: 24.62 MB / 0.6203 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/15.05, allocations: 12.09 kB / 7.453 GB, free: 24.61 MB / 0.6203 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/15.05, allocations: 4 kB / 7.453 GB, free: 24.6 MB / 0.6203 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003405/15.05, allocations: 89.12 kB / 7.453 GB, free: 24.54 MB / 0.6203 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006459/15.05, allocations: 149 kB / 7.453 GB, free: 24.42 MB / 0.6203 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/15.06, allocations: 2.968 MB / 7.456 GB, free: 21.42 MB / 0.6203 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003869/15.06, allocations: 37.33 kB / 7.456 GB, free: 21.39 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.444e-05/15.06, allocations: 26.31 kB / 7.456 GB, free: 21.37 MB / 0.6203 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.0001084/15.06, allocations: 123.8 kB / 7.456 GB, free: 21.25 MB / 0.6203 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003139/15.06, allocations: 95.84 kB / 7.456 GB, free: 21.18 MB / 0.6203 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/15.06, allocations: 1.184 MB / 7.457 GB, free: 20.44 MB / 0.6203 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/15.06, allocations: 11 kB / 7.457 GB, free: 20.43 MB / 0.6203 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/15.06, allocations: 0 / 7.457 GB, free: 20.43 MB / 0.6203 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001797/15.06, allocations: 1.132 MB / 7.459 GB, free: 19.6 MB / 0.6203 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00277/15.06, allocations: 1.701 MB / 7.46 GB, free: 18.61 MB / 0.6203 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/15.06, allocations: 0 / 7.46 GB, free: 18.61 MB / 0.6203 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004103/15.06, allocations: 99.52 kB / 7.46 GB, free: 18.53 MB / 0.6203 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004276/15.06, allocations: 128.7 kB / 7.46 GB, free: 18.45 MB / 0.6203 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/15.06, allocations: 7.688 kB / 7.46 GB, free: 18.45 MB / 0.6203 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005219/15.07, allocations: 1.184 MB / 7.462 GB, free: 17.3 MB / 0.6203 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/15.07, allocations: 5.344 kB / 7.462 GB, free: 17.3 MB / 0.6203 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002397/15.07, allocations: 1.303 MB / 7.463 GB, free: 16.47 MB / 0.6203 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/15.07, allocations: 135.7 kB / 7.463 GB, free: 16.34 MB / 0.6203 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.006e-05/15.07, allocations: 3.375 kB / 7.463 GB, free: 16.34 MB / 0.6203 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003165/15.07, allocations: 20.73 kB / 7.463 GB, free: 16.32 MB / 0.6203 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/15.07, allocations: 37.75 kB / 7.463 GB, free: 16.3 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.822e-05/15.07, allocations: 22.14 kB / 7.463 GB, free: 16.29 MB / 0.6203 GB Notification: Performance of sort global known variables: time 0.0001885/15.07, allocations: 189.5 kB / 7.463 GB, free: 16.14 MB / 0.6203 GB Notification: Performance of remove unused functions: time 0.01286/15.08, allocations: 1.127 MB / 7.464 GB, free: 15.22 MB / 0.6203 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.2243/15.31, allocations: 45.55 MB / 7.509 GB, free: 2.375 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.001686/15.31, allocations: 0.7656 MB / 7.51 GB, free: 1.863 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/15.31, allocations: 0 / 7.51 GB, free: 1.863 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.0006309/15.31, allocations: 454.5 kB / 7.51 GB, free: 1.625 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/15.31, allocations: 202.6 kB / 7.51 GB, free: 1.504 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/15.31, allocations: 1.06 MB / 7.511 GB, free: 0.6758 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005354/15.31, allocations: 0.9277 MB / 7.512 GB, free: 15.8 MB / 0.6671 GB Notification: Performance of SimCode: time 2.9e-07/15.31, allocations: 0 / 7.512 GB, free: 15.8 MB / 0.6671 GB Notification: Performance of Templates: time 0.2769/15.59, allocations: 38.89 MB / 7.55 GB, free: 142.9 MB / 0.6671 GB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches