Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [: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.002448/0.002452, allocations: 181.6 kB / 8.152 MB, free: 2.207 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.803/1.803, allocations: 205.2 MB / 213.7 MB, free: 13.93 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.00134/0.00134, allocations: 87.12 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.018e-05/1.036e-05, allocations: 4 kB / 314.3 MB, free: 9.066 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2559, allocations: 47.54 MB / 361.8 MB, free: 45.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.66/14.92, allocations: 6.611 GB / 6.964 GB, free: 53.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/14.92, allocations: 71.27 kB / 6.964 GB, free: 53.42 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.005/15.92, allocations: 176.6 MB / 7.137 GB, free: 53.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/15.92, allocations: 0 / 7.137 GB, free: 53.2 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.005601/15.93, allocations: 1.072 MB / 7.138 GB, free: 52.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/15.93, allocations: 12.03 kB / 7.138 GB, free: 52.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.509e-05/15.93, allocations: 11.92 kB / 7.138 GB, free: 52.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/15.93, allocations: 194.9 kB / 7.138 GB, free: 51.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/15.93, allocations: 0 / 7.138 GB, free: 51.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/15.93, allocations: 4 kB / 7.138 GB, free: 51.83 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001257/15.93, allocations: 27.98 kB / 7.138 GB, free: 51.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/15.93, allocations: 67.38 kB / 7.138 GB, free: 51.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/15.93, allocations: 0 / 7.138 GB, free: 51.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/15.93, allocations: 7.844 kB / 7.138 GB, free: 51.72 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/15.93, allocations: 4 kB / 7.138 GB, free: 51.71 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/15.93, allocations: 163.2 kB / 7.138 GB, free: 51.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003435/15.93, allocations: 89.27 kB / 7.138 GB, free: 51.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.656e-05/15.93, allocations: 25.88 kB / 7.138 GB, free: 51.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.942e-05/15.93, allocations: 15.98 kB / 7.138 GB, free: 51.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/15.93, allocations: 38.5 kB / 7.138 GB, free: 51.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.495e-06/15.93, allocations: 0 / 7.138 GB, free: 51.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.001137/15.93, allocations: 173.4 kB / 7.139 GB, free: 51.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/15.93, allocations: 81.11 kB / 7.139 GB, free: 51.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/15.93, allocations: 125.1 kB / 7.139 GB, free: 50.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/15.93, allocations: 29.64 kB / 7.139 GB, free: 50.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/15.93, allocations: 154.6 kB / 7.139 GB, free: 50.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/15.93, allocations: 27.64 kB / 7.139 GB, free: 50.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-06/15.93, allocations: 0 / 7.139 GB, free: 50.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.796e-05/15.93, allocations: 310.8 kB / 7.139 GB, free: 50.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.321e-05/15.93, allocations: 15.98 kB / 7.139 GB, free: 50.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.017e-05/15.93, allocations: 25.72 kB / 7.139 GB, free: 50.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008253/15.93, allocations: 115.8 kB / 7.139 GB, free: 50.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/15.93, allocations: 0 / 7.139 GB, free: 50.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000926/15.93, allocations: 169.4 kB / 7.14 GB, free: 50.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/15.93, allocations: 13.5 kB / 7.14 GB, free: 50.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/15.93, allocations: 0 / 7.14 GB, free: 50.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/15.93, allocations: 0 / 7.14 GB, free: 50.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/15.93, allocations: 11.98 kB / 7.14 GB, free: 50.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/15.93, allocations: 4 kB / 7.14 GB, free: 50.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/15.93, allocations: 3.562 kB / 7.14 GB, free: 50.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/15.93, allocations: 8 kB / 7.14 GB, free: 50.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.899e-05/15.93, allocations: 25.7 kB / 7.14 GB, free: 49.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/15.93, allocations: 16.08 kB / 7.14 GB, free: 49.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/15.93, allocations: 208.1 kB / 7.14 GB, free: 49.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/15.93, allocations: 0 / 7.14 GB, free: 49.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/15.93, allocations: 0 / 7.14 GB, free: 49.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/15.93, allocations: 0 / 7.14 GB, free: 49.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/15.94, allocations: 152.1 kB / 7.14 GB, free: 49.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/15.94, allocations: 4 kB / 7.14 GB, free: 49.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/15.94, allocations: 8 kB / 7.14 GB, free: 49.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/15.94, allocations: 0 / 7.14 GB, free: 49.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/15.94, allocations: 7.906 kB / 7.14 GB, free: 49.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/15.94, allocations: 4 kB / 7.14 GB, free: 49.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/15.94, allocations: 0 / 7.14 GB, free: 49.55 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000965/15.94, allocations: 215.4 kB / 7.14 GB, free: 49.31 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/15.94, allocations: 104.9 kB / 7.14 GB, free: 49.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/15.94, allocations: 3.938 kB / 7.14 GB, free: 49.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/15.94, allocations: 4.375 kB / 7.14 GB, free: 49.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/15.94, allocations: 15.98 kB / 7.14 GB, free: 49.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/15.94, allocations: 4 kB / 7.14 GB, free: 49.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.124e-05/15.94, allocations: 107.2 kB / 7.141 GB, free: 49.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005189/15.94, allocations: 0.9756 MB / 7.141 GB, free: 48.08 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01105/15.95, allocations: 1.59 MB / 7.143 GB, free: 46.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002114/15.95, allocations: 43.92 kB / 7.143 GB, free: 46.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/15.95, allocations: 4 kB / 7.143 GB, free: 46.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.268e-05/15.95, allocations: 27.92 kB / 7.143 GB, free: 46.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/15.95, allocations: 15.53 kB / 7.143 GB, free: 46.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/15.95, allocations: 131.4 kB / 7.143 GB, free: 46.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/15.95, allocations: 0.711 MB / 7.144 GB, free: 45.61 MB / 426.7 MB Notification: Performance of SimCode: time 9.22e-07/15.95, allocations: 4 kB / 7.144 GB, free: 45.6 MB / 426.7 MB Notification: Performance of Templates: time 0.04979/16, allocations: 22.58 MB / 7.166 GB, free: 23.02 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches