Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.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.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2") [: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.002327/0.002327, allocations: 178.1 kB / 8.149 MB, free: 2.051 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.898/1.898, allocations: 205.2 MB / 213.8 MB, free: 13.87 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.001321/0.001321, allocations: 95.02 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.005e-06/8.105e-06, allocations: 0 / 314.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2604, allocations: 47.56 MB / 361.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.526/1.786, allocations: 0.6377 GB / 0.991 GB, free: 112.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/1.786, allocations: 77.14 kB / 0.9911 GB, free: 112.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.4572/2.244, allocations: 147.3 MB / 1.135 GB, free: 15.26 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.949e-05/2.244, allocations: 8 kB / 1.135 GB, free: 15.25 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001524/2.245, allocations: 0.666 MB / 1.136 GB, free: 14.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/2.245, allocations: 8.031 kB / 1.136 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008634/2.246, allocations: 79.39 kB / 1.136 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006218/2.247, allocations: 323.4 kB / 1.136 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/2.247, allocations: 12 kB / 1.136 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.301e-05/2.247, allocations: 27.91 kB / 1.136 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007002/2.248, allocations: 257.5 kB / 1.136 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008014/2.248, allocations: 398.8 kB / 1.137 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/2.248, allocations: 0 / 1.137 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/2.249, allocations: 4 kB / 1.137 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/2.249, allocations: 12 kB / 1.137 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01928/2.268, allocations: 6.296 MB / 1.143 GB, free: 6.527 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004788/2.268, allocations: 166.2 kB / 1.143 GB, free: 6.359 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003242/2.269, allocations: 136.9 kB / 1.143 GB, free: 6.223 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01548/2.284, allocations: 3.528 MB / 1.147 GB, free: 2.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/2.284, allocations: 42.55 kB / 1.147 GB, free: 2.359 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.958e-06/2.284, allocations: 7.938 kB / 1.147 GB, free: 2.352 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.006588/2.291, allocations: 1.401 MB / 1.148 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/2.291, allocations: 59.41 kB / 1.148 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/2.291, allocations: 229 kB / 1.148 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.566e-05/2.291, allocations: 25.7 kB / 1.148 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/2.292, allocations: 266.3 kB / 1.149 GB, free: 304 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/2.292, allocations: 157.7 kB / 1.149 GB, free: 144 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/2.292, allocations: 0 / 1.149 GB, free: 144 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.1578/2.45, allocations: 334.6 kB / 1.149 GB, free: 135.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/2.45, allocations: 137.2 kB / 1.149 GB, free: 135.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004382/2.451, allocations: 251.8 kB / 1.149 GB, free: 135.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/2.452, allocations: 257.8 kB / 1.15 GB, free: 135.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/2.452, allocations: 0 / 1.15 GB, free: 135.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002319/2.454, allocations: 0.5876 MB / 1.15 GB, free: 135.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/2.454, allocations: 14.11 kB / 1.15 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/2.454, allocations: 3.906 kB / 1.15 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00061/2.455, allocations: 101.1 kB / 1.15 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000783/2.456, allocations: 113.6 kB / 1.15 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002641/2.458, allocations: 2.478 MB / 1.153 GB, free: 132.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005504/2.459, allocations: 25.7 kB / 1.153 GB, free: 132.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/2.459, allocations: 22.75 kB / 1.153 GB, free: 132.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001706/2.459, allocations: 42.98 kB / 1.153 GB, free: 132.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/2.459, allocations: 38.94 kB / 1.153 GB, free: 132.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002519/2.462, allocations: 0.8363 MB / 1.154 GB, free: 132.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/2.462, allocations: 13.44 kB / 1.154 GB, free: 132.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/2.462, allocations: 2.938 kB / 1.154 GB, free: 132.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001911/2.464, allocations: 0.9344 MB / 1.155 GB, free: 132.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003484/2.467, allocations: 1.402 MB / 1.156 GB, free: 132.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/2.468, allocations: 0 / 1.156 GB, free: 132.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006235/2.468, allocations: 79.34 kB / 1.156 GB, free: 132.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008579/2.469, allocations: 186.8 kB / 1.156 GB, free: 132.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-05/2.469, allocations: 3.906 kB / 1.156 GB, free: 132.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/2.471, allocations: 1.376 MB / 1.158 GB, free: 131.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/2.471, allocations: 0 / 1.158 GB, free: 131.1 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002786/2.474, allocations: 1.204 MB / 1.159 GB, free: 130.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/2.474, allocations: 117.1 kB / 1.159 GB, free: 130.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/2.474, allocations: 3.75 kB / 1.159 GB, free: 130.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005205/2.474, allocations: 16.67 kB / 1.159 GB, free: 130.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.359e-05/2.475, allocations: 32.92 kB / 1.159 GB, free: 130.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.145e-05/2.475, allocations: 18.19 kB / 1.159 GB, free: 130.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002401/2.475, allocations: 174.8 kB / 1.159 GB, free: 130.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001314/2.476, allocations: 234.7 kB / 1.159 GB, free: 130.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002141/2.478, allocations: 0.518 MB / 1.16 GB, free: 130.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001829/2.48, allocations: 0.6441 MB / 1.161 GB, free: 130.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/2.48, allocations: 2.812 kB / 1.161 GB, free: 130.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/2.481, allocations: 392.2 kB / 1.161 GB, free: 130.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/2.483, allocations: 179.5 kB / 1.161 GB, free: 130.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/2.486, allocations: 0.9704 MB / 1.162 GB, free: 130.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005156/2.486, allocations: 0.8899 MB / 1.163 GB, free: 129.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.463e-06/2.486, allocations: 0 / 1.163 GB, free: 129.5 MB / 426.7 MB Notification: Performance of Templates: time 0.02279/2.509, allocations: 12.94 MB / 1.176 GB, free: 129.2 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches