Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001615/0.001615, allocations: 176.7 kB / 8.151 MB, free: 2.211 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.812/1.812, allocations: 205.2 MB / 213.8 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001281/0.001281, allocations: 93.67 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.977e-06/9.248e-06, allocations: 0 / 314.3 MB, free: 9.035 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2596, allocations: 47.55 MB / 361.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.99/13.25, allocations: 5.795 GB / 6.149 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/13.25, allocations: 77 kB / 6.149 GB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.078/18.33, allocations: 0.9948 GB / 7.143 GB, free: 69.27 MB / 0.5578 GB Notification: Performance of Transformations before backend: time 3.096e-05/18.33, allocations: 8.812 kB / 7.143 GB, free: 69.27 MB / 0.5578 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.04971/18.38, allocations: 1.674 MB / 7.145 GB, free: 68.42 MB / 0.5578 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/18.38, allocations: 7.719 kB / 7.145 GB, free: 68.42 MB / 0.5578 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008897/18.38, allocations: 69.33 kB / 7.145 GB, free: 68.4 MB / 0.5578 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006638/18.38, allocations: 315.9 kB / 7.145 GB, free: 68.19 MB / 0.5578 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/18.38, allocations: 12.27 kB / 7.145 GB, free: 68.19 MB / 0.5578 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.32e-05/18.38, allocations: 20.47 kB / 7.146 GB, free: 68.19 MB / 0.5578 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008793/18.38, allocations: 325 kB / 7.146 GB, free: 68.19 MB / 0.5578 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008235/18.38, allocations: 384.5 kB / 7.146 GB, free: 68.06 MB / 0.5578 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/18.38, allocations: 3.094 kB / 7.146 GB, free: 68.06 MB / 0.5578 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-05/18.38, allocations: 3.062 kB / 7.146 GB, free: 68.06 MB / 0.5578 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/18.38, allocations: 11.34 kB / 7.146 GB, free: 68.05 MB / 0.5578 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/18.39, allocations: 5.615 MB / 7.152 GB, free: 65.71 MB / 0.5578 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/18.39, allocations: 170.4 kB / 7.152 GB, free: 65.69 MB / 0.5578 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/18.39, allocations: 117.3 kB / 7.152 GB, free: 65.68 MB / 0.5578 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003007/18.39, allocations: 1.661 MB / 7.154 GB, free: 64.27 MB / 0.5578 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.896e-05/18.39, allocations: 38.14 kB / 7.154 GB, free: 64.23 MB / 0.5578 GB Notification: Performance of pre-optimization done (n=28): time 3.477e-06/18.39, allocations: 0 / 7.154 GB, free: 64.23 MB / 0.5578 GB Notification: Performance of matching and sorting (n=32): time 0.007955/18.4, allocations: 1.115 MB / 7.155 GB, free: 63.9 MB / 0.5578 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/18.4, allocations: 58.45 kB / 7.155 GB, free: 63.83 MB / 0.5578 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/18.4, allocations: 214.5 kB / 7.155 GB, free: 63.73 MB / 0.5578 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/18.4, allocations: 25.7 kB / 7.155 GB, free: 63.7 MB / 0.5578 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/18.4, allocations: 244.9 kB / 7.155 GB, free: 63.5 MB / 0.5578 GB Notification: Performance of collectInitialBindings (initialization): time 9.92e-05/18.4, allocations: 115.5 kB / 7.155 GB, free: 63.45 MB / 0.5578 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/18.4, allocations: 0 / 7.155 GB, free: 63.45 MB / 0.5578 GB Notification: Performance of setup shared object (initialization): time 8.068e-05/18.4, allocations: 327 kB / 7.156 GB, free: 63.13 MB / 0.5578 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000297/18.4, allocations: 108.6 kB / 7.156 GB, free: 63.13 MB / 0.5578 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/18.4, allocations: 216.5 kB / 7.156 GB, free: 63 MB / 0.5578 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/18.41, allocations: 230 kB / 7.156 GB, free: 62.99 MB / 0.5578 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/18.41, allocations: 3.531 kB / 7.156 GB, free: 62.99 MB / 0.5578 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.003173/18.41, allocations: 0.5323 MB / 7.157 GB, free: 62.91 MB / 0.5578 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/18.41, allocations: 4.312 kB / 7.157 GB, free: 62.91 MB / 0.5578 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/18.41, allocations: 4.25 kB / 7.157 GB, free: 62.91 MB / 0.5578 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003708/18.41, allocations: 55.7 kB / 7.157 GB, free: 62.9 MB / 0.5578 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006291/18.41, allocations: 95.17 kB / 7.157 GB, free: 62.89 MB / 0.5578 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/18.41, allocations: 1.792 MB / 7.159 GB, free: 61.18 MB / 0.5578 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/18.41, allocations: 22.69 kB / 7.159 GB, free: 61.17 MB / 0.5578 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.796e-05/18.41, allocations: 24.66 kB / 7.159 GB, free: 61.17 MB / 0.5578 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.0001426/18.41, allocations: 37.83 kB / 7.159 GB, free: 61.14 MB / 0.5578 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004347/18.41, allocations: 69.78 kB / 7.159 GB, free: 61.12 MB / 0.5578 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002809/18.42, allocations: 0.7712 MB / 7.16 GB, free: 61 MB / 0.5578 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/18.42, allocations: 7.281 kB / 7.16 GB, free: 61 MB / 0.5578 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/18.42, allocations: 0 / 7.16 GB, free: 61 MB / 0.5578 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002056/18.42, allocations: 0.875 MB / 7.16 GB, free: 60.53 MB / 0.5578 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/18.42, allocations: 1.147 MB / 7.161 GB, free: 60.22 MB / 0.5578 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/18.42, allocations: 3.719 kB / 7.161 GB, free: 60.22 MB / 0.5578 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005117/18.42, allocations: 59.23 kB / 7.162 GB, free: 60.22 MB / 0.5578 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003798/18.42, allocations: 65.78 kB / 7.162 GB, free: 60.21 MB / 0.5578 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/18.42, allocations: 6.5 kB / 7.162 GB, free: 60.21 MB / 0.5578 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004767/18.42, allocations: 0.6043 MB / 7.162 GB, free: 59.68 MB / 0.5578 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/18.42, allocations: 3.938 kB / 7.162 GB, free: 59.68 MB / 0.5578 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002751/18.43, allocations: 0.8617 MB / 7.163 GB, free: 59.46 MB / 0.5578 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/18.43, allocations: 112.5 kB / 7.163 GB, free: 59.35 MB / 0.5578 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.601e-05/18.43, allocations: 6.188 kB / 7.163 GB, free: 59.35 MB / 0.5578 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/18.43, allocations: 20.12 kB / 7.163 GB, free: 59.34 MB / 0.5578 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/18.43, allocations: 17.83 kB / 7.163 GB, free: 59.34 MB / 0.5578 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/18.43, allocations: 18.97 kB / 7.163 GB, free: 59.34 MB / 0.5578 GB Notification: Performance of sort global known variables: time 0.0002335/18.43, allocations: 170.4 kB / 7.163 GB, free: 59.26 MB / 0.5578 GB Notification: Performance of remove unused functions: time 0.01582/18.44, allocations: 0.857 MB / 7.164 GB, free: 59.12 MB / 0.5578 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.3127/18.76, allocations: 36.69 MB / 7.2 GB, free: 39.99 MB / 0.5578 GB Notification: Performance of simCode: created initialization part: time 0.001608/18.76, allocations: 0.5023 MB / 7.201 GB, free: 39.88 MB / 0.5578 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/18.76, allocations: 3.562 kB / 7.201 GB, free: 39.88 MB / 0.5578 GB Notification: Performance of simCode: created simulation system equations: time 0.0006647/18.76, allocations: 274.6 kB / 7.201 GB, free: 39.87 MB / 0.5578 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/18.76, allocations: 132.1 kB / 7.201 GB, free: 39.87 MB / 0.5578 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/18.76, allocations: 0.6944 MB / 7.202 GB, free: 39.64 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005092/18.76, allocations: 0.8547 MB / 7.202 GB, free: 38.93 MB / 0.5578 GB Notification: Performance of SimCode: time 1.433e-06/18.76, allocations: 2.875 kB / 7.202 GB, free: 38.93 MB / 0.5578 GB Notification: Performance of Templates: time 0.06968/18.83, allocations: 35.04 MB / 7.237 GB, free: 21.38 MB / 0.5578 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches