Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [: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.001095/0.001095, allocations: 183.2 kB / 8.481 MB, free: 1.867 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.725/1.725, allocations: 205.2 MB / 214.1 MB, free: 5.141 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.0009785/0.0009782, allocations: 78.38 kB / 262.1 MB, free: 5.191 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.127e-05/1.21e-05, allocations: 0 / 315 MB, free: 41.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1146, allocations: 47.57 MB / 362.5 MB, free: 9.957 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.592/1.707, allocations: 0.6435 GB / 0.9976 GB, free: 81.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003605/1.707, allocations: 75.77 kB / 0.9976 GB, free: 81.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.5192/2.227, allocations: 113.5 MB / 1.109 GB, free: 133 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.911e-05/2.227, allocations: 5.375 kB / 1.109 GB, free: 133 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.002167/2.229, allocations: 0.5636 MB / 1.109 GB, free: 132.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.772e-05/2.229, allocations: 9.75 kB / 1.109 GB, free: 132.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/2.229, allocations: 9.281 kB / 1.109 GB, free: 132.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/2.229, allocations: 189.5 kB / 1.109 GB, free: 132.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/2.229, allocations: 0 / 1.109 GB, free: 132.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/2.229, allocations: 1.812 kB / 1.109 GB, free: 132.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.663e-05/2.23, allocations: 14.75 kB / 1.109 GB, free: 132.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/2.23, allocations: 60.39 kB / 1.109 GB, free: 132.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/2.23, allocations: 3.906 kB / 1.109 GB, free: 132.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/2.23, allocations: 2.281 kB / 1.109 GB, free: 132.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/2.23, allocations: 0 / 1.109 GB, free: 132.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002486/2.23, allocations: 155.6 kB / 1.109 GB, free: 132.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/2.23, allocations: 72.02 kB / 1.11 GB, free: 132 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.242e-05/2.23, allocations: 22.94 kB / 1.11 GB, free: 132 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09753/2.328, allocations: 36.09 MB / 1.145 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.666e-05/2.328, allocations: 35.78 kB / 1.145 GB, free: 102.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 8.876e-06/2.328, allocations: 0 / 1.145 GB, free: 102.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.001986/2.33, allocations: 162.4 kB / 1.145 GB, free: 102.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/2.33, allocations: 81.86 kB / 1.145 GB, free: 102.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/2.331, allocations: 111.1 kB / 1.145 GB, free: 102.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/2.331, allocations: 25.7 kB / 1.145 GB, free: 102.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/2.331, allocations: 80.84 kB / 1.145 GB, free: 102.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.512e-05/2.331, allocations: 29.09 kB / 1.145 GB, free: 102.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-06/2.331, allocations: 0 / 1.145 GB, free: 102.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/2.331, allocations: 313.3 kB / 1.146 GB, free: 102.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.025e-05/2.331, allocations: 14.25 kB / 1.146 GB, free: 102.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.294e-05/2.331, allocations: 22.45 kB / 1.146 GB, free: 102.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/2.332, allocations: 105.1 kB / 1.146 GB, free: 102 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/2.332, allocations: 0 / 1.146 GB, free: 102 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.001236/2.334, allocations: 160 kB / 1.146 GB, free: 101.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/2.334, allocations: 8 kB / 1.146 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/2.334, allocations: 0 / 1.146 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/2.334, allocations: 0 / 1.146 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/2.334, allocations: 10.3 kB / 1.146 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/2.334, allocations: 4.609 kB / 1.146 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.544e-05/2.334, allocations: 4.703 kB / 1.146 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/2.334, allocations: 7.906 kB / 1.146 GB, free: 101.9 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 0.0001151/2.334, allocations: 102.4 kB / 1.146 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/2.334, allocations: 18.81 kB / 1.146 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/2.336, allocations: 200 kB / 1.146 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/2.336, allocations: 0.5625 kB / 1.146 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/2.336, allocations: 0 / 1.146 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/2.336, allocations: 1.078 kB / 1.146 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/2.336, allocations: 149 kB / 1.146 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/2.336, allocations: 0 / 1.146 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.934e-05/2.336, allocations: 16.42 kB / 1.146 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/2.336, allocations: 0 / 1.146 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/2.336, allocations: 4.891 kB / 1.146 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/2.336, allocations: 3.984 kB / 1.146 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/2.336, allocations: 4 kB / 1.146 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001247/2.337, allocations: 203 kB / 1.147 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/2.338, allocations: 104.2 kB / 1.147 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/2.338, allocations: 0 / 1.147 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/2.338, allocations: 4 kB / 1.147 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/2.338, allocations: 7.656 kB / 1.147 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/2.338, allocations: 4 kB / 1.147 GB, free: 101.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.987e-05/2.338, allocations: 95.22 kB / 1.147 GB, free: 101 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002566/2.34, allocations: 331.7 kB / 1.147 GB, free: 100.7 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.004725/2.345, allocations: 0.7945 MB / 1.148 GB, free: 100 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002562/2.346, allocations: 27.94 kB / 1.148 GB, free: 99.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.924e-06/2.346, allocations: 4 kB / 1.148 GB, free: 99.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.369e-05/2.346, allocations: 19.45 kB / 1.148 GB, free: 99.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/2.346, allocations: 19.84 kB / 1.148 GB, free: 99.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006928/2.347, allocations: 88.09 kB / 1.148 GB, free: 99.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004082/2.347, allocations: 0.7256 MB / 1.149 GB, free: 99.11 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/2.347, allocations: 0 / 1.149 GB, free: 99.11 MB / 426.7 MB Notification: Performance of Templates: time 0.02062/2.368, allocations: 8.625 MB / 1.157 GB, free: 90.54 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches