Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002784/0.002784, allocations: 186 kB / 8.151 MB, free: 0.8594 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.2 MB / 213.7 MB, free: 8.574 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001273/0.001273, allocations: 93.44 kB / 261.7 MB, free: 5.125 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 1.067e-05/1.086e-05, allocations: 0 / 314.3 MB, free: 2.43 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1119, allocations: 47.56 MB / 361.8 MB, free: 2.746 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.06/13.17, allocations: 5.795 GB / 6.149 GB, free: 55 MB / 418.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/13.17, allocations: 79.11 kB / 6.149 GB, free: 54.96 MB / 418.8 MB Notification: Performance of FrontEnd: time 6.161/19.33, allocations: 1.258 GB / 7.407 GB, free: 56.01 MB / 0.5969 GB Notification: Performance of Transformations before backend: time 4.094e-05/19.33, allocations: 11.53 kB / 7.407 GB, free: 56.01 MB / 0.5969 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.07357/19.41, allocations: 2.191 MB / 7.409 GB, free: 55.16 MB / 0.5969 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/19.41, allocations: 10.31 kB / 7.409 GB, free: 55.16 MB / 0.5969 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/19.41, allocations: 98.84 kB / 7.409 GB, free: 55.14 MB / 0.5969 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009535/19.41, allocations: 384.5 kB / 7.409 GB, free: 54.93 MB / 0.5969 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/19.41, allocations: 14.56 kB / 7.409 GB, free: 54.93 MB / 0.5969 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/19.41, allocations: 24.97 kB / 7.409 GB, free: 54.93 MB / 0.5969 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001475/19.41, allocations: 452.9 kB / 7.41 GB, free: 54.93 MB / 0.5969 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/19.41, allocations: 0.5067 MB / 7.41 GB, free: 54.78 MB / 0.5969 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/19.41, allocations: 7.125 kB / 7.41 GB, free: 54.77 MB / 0.5969 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.911e-05/19.41, allocations: 1.641 kB / 7.41 GB, free: 54.77 MB / 0.5969 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/19.41, allocations: 12.19 kB / 7.41 GB, free: 54.77 MB / 0.5969 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01211/19.42, allocations: 6.504 MB / 7.417 GB, free: 51.8 MB / 0.5969 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006964/19.43, allocations: 233.2 kB / 7.417 GB, free: 51.78 MB / 0.5969 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004378/19.43, allocations: 178.6 kB / 7.417 GB, free: 51.77 MB / 0.5969 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004344/19.43, allocations: 2.436 MB / 7.419 GB, free: 49.69 MB / 0.5969 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.501e-05/19.43, allocations: 41.81 kB / 7.419 GB, free: 49.65 MB / 0.5969 GB Notification: Performance of pre-optimization done (n=44): time 4.127e-06/19.43, allocations: 0 / 7.419 GB, free: 49.65 MB / 0.5969 GB Notification: Performance of matching and sorting (n=52): time 0.01205/19.44, allocations: 1.662 MB / 7.421 GB, free: 49.27 MB / 0.5969 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/19.44, allocations: 61.55 kB / 7.421 GB, free: 49.21 MB / 0.5969 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004261/19.44, allocations: 246.1 kB / 7.421 GB, free: 49.11 MB / 0.5969 GB Notification: Performance of collectPreVariables (initialization): time 8.797e-05/19.44, allocations: 25.7 kB / 7.421 GB, free: 49.07 MB / 0.5969 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/19.44, allocations: 283.3 kB / 7.422 GB, free: 48.86 MB / 0.5969 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/19.44, allocations: 174 kB / 7.422 GB, free: 48.77 MB / 0.5969 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/19.44, allocations: 4 kB / 7.422 GB, free: 48.77 MB / 0.5969 GB Notification: Performance of setup shared object (initialization): time 9e-05/19.44, allocations: 340.6 kB / 7.422 GB, free: 48.45 MB / 0.5969 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004984/19.44, allocations: 163 kB / 7.422 GB, free: 48.45 MB / 0.5969 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005709/19.44, allocations: 320 kB / 7.423 GB, free: 48.29 MB / 0.5969 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002828/19.45, allocations: 326 kB / 7.423 GB, free: 48.28 MB / 0.5969 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/19.45, allocations: 1.375 kB / 7.423 GB, free: 48.28 MB / 0.5969 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004904/19.45, allocations: 0.7755 MB / 7.424 GB, free: 48.2 MB / 0.5969 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/19.45, allocations: 11.78 kB / 7.424 GB, free: 48.19 MB / 0.5969 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/19.45, allocations: 9.984 kB / 7.424 GB, free: 48.19 MB / 0.5969 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005576/19.45, allocations: 89.02 kB / 7.424 GB, free: 48.17 MB / 0.5969 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/19.45, allocations: 144.7 kB / 7.424 GB, free: 48.17 MB / 0.5969 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/19.46, allocations: 2.955 MB / 7.427 GB, free: 45.35 MB / 0.5969 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006916/19.46, allocations: 36.14 kB / 7.427 GB, free: 45.34 MB / 0.5969 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.892e-05/19.46, allocations: 33.53 kB / 7.427 GB, free: 45.34 MB / 0.5969 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.0002054/19.46, allocations: 49.11 kB / 7.427 GB, free: 45.3 MB / 0.5969 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005689/19.46, allocations: 89.2 kB / 7.427 GB, free: 45.29 MB / 0.5969 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004327/19.46, allocations: 1.19 MB / 7.428 GB, free: 45.17 MB / 0.5969 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/19.46, allocations: 14.94 kB / 7.428 GB, free: 45.17 MB / 0.5969 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/19.46, allocations: 0 / 7.428 GB, free: 45.17 MB / 0.5969 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003178/19.47, allocations: 1.13 MB / 7.429 GB, free: 44.78 MB / 0.5969 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004962/19.47, allocations: 1.694 MB / 7.431 GB, free: 44.45 MB / 0.5969 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/19.47, allocations: 2.625 kB / 7.431 GB, free: 44.45 MB / 0.5969 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007871/19.47, allocations: 102.7 kB / 7.431 GB, free: 44.45 MB / 0.5969 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007336/19.47, allocations: 124.3 kB / 7.431 GB, free: 44.43 MB / 0.5969 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-05/19.47, allocations: 10.64 kB / 7.431 GB, free: 44.43 MB / 0.5969 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008776/19.47, allocations: 1.188 MB / 7.432 GB, free: 43.38 MB / 0.5969 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/19.47, allocations: 3.375 kB / 7.432 GB, free: 43.38 MB / 0.5969 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004433/19.48, allocations: 1.306 MB / 7.434 GB, free: 43.13 MB / 0.5969 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002897/19.48, allocations: 126.8 kB / 7.434 GB, free: 43.01 MB / 0.5969 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/19.48, allocations: 3.438 kB / 7.434 GB, free: 43.01 MB / 0.5969 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000605/19.48, allocations: 20.28 kB / 7.434 GB, free: 43 MB / 0.5969 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/19.48, allocations: 31.84 kB / 7.434 GB, free: 43 MB / 0.5969 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/19.48, allocations: 30.36 kB / 7.434 GB, free: 43 MB / 0.5969 GB Notification: Performance of sort global known variables: time 0.0003496/19.48, allocations: 188 kB / 7.434 GB, free: 42.92 MB / 0.5969 GB Notification: Performance of remove unused functions: time 0.02304/19.5, allocations: 1.127 MB / 7.435 GB, free: 42.73 MB / 0.5969 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.3971/19.9, allocations: 45.53 MB / 7.48 GB, free: 10.23 MB / 0.5969 GB Notification: Performance of simCode: created initialization part: time 0.002454/19.9, allocations: 0.7695 MB / 7.48 GB, free: 9.727 MB / 0.5969 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/19.9, allocations: 0 / 7.48 GB, free: 9.727 MB / 0.5969 GB Notification: Performance of simCode: created simulation system equations: time 0.0009923/19.9, allocations: 460.9 kB / 7.481 GB, free: 9.5 MB / 0.5969 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/19.91, allocations: 197.8 kB / 7.481 GB, free: 9.383 MB / 0.5969 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/19.91, allocations: 1.093 MB / 7.482 GB, free: 8.527 MB / 0.5969 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000617/19.91, allocations: 0.9323 MB / 7.483 GB, free: 7.648 MB / 0.5969 GB Notification: Performance of SimCode: time 1.563e-06/19.91, allocations: 0 / 7.483 GB, free: 7.648 MB / 0.5969 GB Notification: Performance of Templates: time 0.09928/20.01, allocations: 46.43 MB / 7.528 GB, free: 9.152 MB / 0.6281 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches