Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.002763/0.002763, allocations: 178.7 kB / 8.476 MB, free: 1.871 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.734/1.734, allocations: 205.2 MB / 214.1 MB, free: 5.25 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.001139/0.001139, allocations: 102.2 kB / 262.1 MB, free: 5.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.126e-05/1.128e-05, allocations: 4 kB / 315 MB, free: 41.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1142, allocations: 47.58 MB / 362.5 MB, free: 9.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.96/13.07, allocations: 5.795 GB / 6.149 GB, free: 150.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/13.07, allocations: 71.53 kB / 6.149 GB, free: 150.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.571/17.64, allocations: 1.307 GB / 7.457 GB, free: 14.65 MB / 0.6046 GB Notification: Performance of Transformations before backend: time 3.352e-05/17.64, allocations: 9.172 kB / 7.457 GB, free: 14.64 MB / 0.6046 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.04728/17.69, allocations: 2.189 MB / 7.459 GB, free: 12.65 MB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/17.69, allocations: 8.031 kB / 7.459 GB, free: 12.64 MB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009112/17.69, allocations: 95.28 kB / 7.459 GB, free: 12.55 MB / 0.6046 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005938/17.69, allocations: 374.3 kB / 7.459 GB, free: 12.16 MB / 0.6046 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/17.69, allocations: 16 kB / 7.459 GB, free: 12.15 MB / 0.6046 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.051e-05/17.69, allocations: 31.91 kB / 7.459 GB, free: 12.12 MB / 0.6046 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007084/17.69, allocations: 445.8 kB / 7.46 GB, free: 11.68 MB / 0.6046 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007576/17.69, allocations: 0.5093 MB / 7.46 GB, free: 11.13 MB / 0.6046 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/17.69, allocations: 7.938 kB / 7.46 GB, free: 11.12 MB / 0.6046 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/17.69, allocations: 0 / 7.46 GB, free: 11.12 MB / 0.6046 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/17.69, allocations: 16 kB / 7.46 GB, free: 11.11 MB / 0.6046 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007781/17.7, allocations: 6.511 MB / 7.466 GB, free: 4.254 MB / 0.6046 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004101/17.7, allocations: 230.3 kB / 7.467 GB, free: 4.023 MB / 0.6046 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002675/17.7, allocations: 181 kB / 7.467 GB, free: 3.844 MB / 0.6046 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003166/17.71, allocations: 2.442 MB / 7.469 GB, free: 1.004 MB / 0.6046 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/17.71, allocations: 42.5 kB / 7.469 GB, free: 0.9531 MB / 0.6046 GB Notification: Performance of pre-optimization done (n=44): time 3.146e-06/17.71, allocations: 0 / 7.469 GB, free: 0.9531 MB / 0.6046 GB Notification: Performance of matching and sorting (n=52): time 0.007365/17.71, allocations: 1.655 MB / 7.471 GB, free: 15.26 MB / 0.6203 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/17.71, allocations: 59.78 kB / 7.471 GB, free: 15.19 MB / 0.6203 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/17.71, allocations: 249.3 kB / 7.471 GB, free: 14.95 MB / 0.6203 GB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/17.71, allocations: 29.7 kB / 7.471 GB, free: 14.91 MB / 0.6203 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/17.71, allocations: 214.3 kB / 7.471 GB, free: 14.71 MB / 0.6203 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/17.71, allocations: 189.2 kB / 7.472 GB, free: 14.55 MB / 0.6203 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/17.71, allocations: 0 / 7.472 GB, free: 14.55 MB / 0.6203 GB Notification: Performance of setup shared object (initialization): time 0.0001787/17.71, allocations: 346.8 kB / 7.472 GB, free: 14.2 MB / 0.6203 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/17.71, allocations: 165.3 kB / 7.472 GB, free: 14.04 MB / 0.6203 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/17.72, allocations: 310.8 kB / 7.472 GB, free: 13.68 MB / 0.6203 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/17.72, allocations: 332.5 kB / 7.473 GB, free: 13.35 MB / 0.6203 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/17.72, allocations: 0 / 7.473 GB, free: 13.35 MB / 0.6203 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002925/17.72, allocations: 0.7918 MB / 7.473 GB, free: 12.54 MB / 0.6203 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/17.72, allocations: 4 kB / 7.474 GB, free: 12.54 MB / 0.6203 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/17.72, allocations: 4 kB / 7.474 GB, free: 12.54 MB / 0.6203 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003759/17.72, allocations: 94.92 kB / 7.474 GB, free: 12.43 MB / 0.6203 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006629/17.72, allocations: 147.8 kB / 7.474 GB, free: 12.29 MB / 0.6203 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/17.72, allocations: 2.962 MB / 7.477 GB, free: 9.133 MB / 0.6203 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/17.72, allocations: 35.91 kB / 7.477 GB, free: 9.102 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/17.72, allocations: 32 kB / 7.477 GB, free: 9.07 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.0001677/17.72, allocations: 119.5 kB / 7.477 GB, free: 8.949 MB / 0.6203 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/17.72, allocations: 91.47 kB / 7.477 GB, free: 8.859 MB / 0.6203 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002644/17.73, allocations: 1.187 MB / 7.478 GB, free: 7.656 MB / 0.6203 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/17.73, allocations: 11.98 kB / 7.478 GB, free: 7.645 MB / 0.6203 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/17.73, allocations: 0 / 7.478 GB, free: 7.645 MB / 0.6203 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002016/17.73, allocations: 1.13 MB / 7.479 GB, free: 6.441 MB / 0.6203 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002988/17.73, allocations: 1.701 MB / 7.481 GB, free: 4.703 MB / 0.6203 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/17.73, allocations: 0 / 7.481 GB, free: 4.703 MB / 0.6203 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004275/17.73, allocations: 99.88 kB / 7.481 GB, free: 4.605 MB / 0.6203 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004352/17.73, allocations: 121.6 kB / 7.481 GB, free: 4.48 MB / 0.6203 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/17.73, allocations: 11.89 kB / 7.481 GB, free: 4.469 MB / 0.6203 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000775/17.73, allocations: 1.179 MB / 7.482 GB, free: 3.238 MB / 0.6203 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/17.73, allocations: 8.094 kB / 7.482 GB, free: 3.23 MB / 0.6203 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002677/17.74, allocations: 1.316 MB / 7.483 GB, free: 1.871 MB / 0.6203 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/17.74, allocations: 128.5 kB / 7.484 GB, free: 1.727 MB / 0.6203 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.316e-05/17.74, allocations: 7.938 kB / 7.484 GB, free: 1.719 MB / 0.6203 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/17.74, allocations: 25.89 kB / 7.484 GB, free: 1.695 MB / 0.6203 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.989e-05/17.74, allocations: 32.36 kB / 7.484 GB, free: 1.664 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.263e-05/17.74, allocations: 23.98 kB / 7.484 GB, free: 1.641 MB / 0.6203 GB Notification: Performance of sort global known variables: time 0.0001973/17.74, allocations: 191.1 kB / 7.484 GB, free: 1.453 MB / 0.6203 GB Notification: Performance of remove unused functions: time 0.01478/17.75, allocations: 1.121 MB / 7.485 GB, free: 416 kB / 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.4944/18.25, allocations: 45.53 MB / 7.529 GB, free: 105.9 MB / 0.6359 GB Notification: Performance of simCode: created initialization part: time 0.001736/18.25, allocations: 0.7626 MB / 7.53 GB, free: 105.8 MB / 0.6359 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/18.25, allocations: 0 / 7.53 GB, free: 105.8 MB / 0.6359 GB Notification: Performance of simCode: created simulation system equations: time 0.0005716/18.25, allocations: 466.1 kB / 7.531 GB, free: 105.8 MB / 0.6359 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/18.25, allocations: 205 kB / 7.531 GB, free: 105.8 MB / 0.6359 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/18.25, allocations: 1.051 MB / 7.532 GB, free: 105.5 MB / 0.6359 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003956/18.25, allocations: 0.9323 MB / 7.533 GB, free: 104.8 MB / 0.6359 GB Notification: Performance of SimCode: time 4.11e-07/18.25, allocations: 0 / 7.533 GB, free: 104.8 MB / 0.6359 GB Notification: Performance of Templates: time 0.05193/18.3, allocations: 38.89 MB / 7.571 GB, free: 102.6 MB / 0.6359 GB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches