Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001414/0.001415, allocations: 206.7 kB / 8.544 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 225.5 MB / 234.4 MB, free: 3.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001019/0.001018, allocations: 88.25 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.266e-06/8.305e-06, allocations: 0 / 343.1 MB, free: 8.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1488, allocations: 51.49 MB / 394.6 MB, free: 5.223 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.76/14.91, allocations: 6.137 GB / 6.523 GB, free: 92.39 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/14.91, allocations: 76.16 kB / 6.523 GB, free: 92.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.6672/15.58, allocations: 189.2 MB / 6.707 GB, free: 58.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/15.58, allocations: 0 / 6.707 GB, free: 58.25 MB / 442.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.005252/15.58, allocations: 1.099 MB / 6.708 GB, free: 57.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/15.58, allocations: 6.875 kB / 6.708 GB, free: 57.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.868e-05/15.58, allocations: 7.875 kB / 6.709 GB, free: 57.44 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/15.58, allocations: 198.4 kB / 6.709 GB, free: 57.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/15.58, allocations: 3.469 kB / 6.709 GB, free: 57.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/15.58, allocations: 3.875 kB / 6.709 GB, free: 57.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001058/15.58, allocations: 25.84 kB / 6.709 GB, free: 57.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/15.59, allocations: 72.91 kB / 6.709 GB, free: 57.17 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/15.59, allocations: 0 / 6.709 GB, free: 57.17 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/15.59, allocations: 3.969 kB / 6.709 GB, free: 57.17 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/15.59, allocations: 3.938 kB / 6.709 GB, free: 57.17 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/15.59, allocations: 161.8 kB / 6.709 GB, free: 57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/15.59, allocations: 92.34 kB / 6.709 GB, free: 56.94 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/15.59, allocations: 30.42 kB / 6.709 GB, free: 56.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.293e-05/15.59, allocations: 10.02 kB / 6.709 GB, free: 56.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/15.59, allocations: 41.5 kB / 6.709 GB, free: 56.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/15.59, allocations: 0 / 6.709 GB, free: 56.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008544/15.59, allocations: 169.8 kB / 6.709 GB, free: 56.83 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/15.59, allocations: 81.08 kB / 6.709 GB, free: 56.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/15.59, allocations: 126.2 kB / 6.709 GB, free: 56.63 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/15.59, allocations: 25.7 kB / 6.71 GB, free: 56.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.636e-05/15.59, allocations: 87.23 kB / 6.71 GB, free: 56.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/15.59, allocations: 19.66 kB / 6.71 GB, free: 56.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/15.59, allocations: 7.938 kB / 6.71 GB, free: 56.49 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.006e-05/15.59, allocations: 317.3 kB / 6.71 GB, free: 56.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.429e-05/15.59, allocations: 19.64 kB / 6.71 GB, free: 56.17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.302e-05/15.59, allocations: 24.14 kB / 6.71 GB, free: 56.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005664/15.59, allocations: 114.1 kB / 6.71 GB, free: 56.15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/15.59, allocations: 0 / 6.71 GB, free: 56.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006211/15.59, allocations: 172.7 kB / 6.71 GB, free: 56.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/15.59, allocations: 11.06 kB / 6.71 GB, free: 56.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/15.59, allocations: 7.938 kB / 6.71 GB, free: 56.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/15.59, allocations: 0 / 6.71 GB, free: 56.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.216e-05/15.59, allocations: 13.31 kB / 6.71 GB, free: 56.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/15.59, allocations: 3.969 kB / 6.71 GB, free: 56.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.022e-05/15.59, allocations: 3.906 kB / 6.71 GB, free: 56.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/15.59, allocations: 9.266 kB / 6.71 GB, free: 56.09 MB / 442.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.501e-05/15.59, allocations: 101 kB / 6.71 GB, free: 55.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/15.59, allocations: 7.875 kB / 6.71 GB, free: 55.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000692/15.59, allocations: 201.2 kB / 6.711 GB, free: 55.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/15.59, allocations: 0 / 6.711 GB, free: 55.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/15.59, allocations: 10.33 kB / 6.711 GB, free: 55.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/15.59, allocations: 0 / 6.711 GB, free: 55.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/15.59, allocations: 153.4 kB / 6.711 GB, free: 55.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/15.59, allocations: 3.062 kB / 6.711 GB, free: 55.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.792e-05/15.59, allocations: 7.438 kB / 6.711 GB, free: 55.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/15.59, allocations: 2.969 kB / 6.711 GB, free: 55.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/15.59, allocations: 2.766 kB / 6.711 GB, free: 55.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/15.59, allocations: 3.125 kB / 6.711 GB, free: 55.76 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/15.59, allocations: 4 kB / 6.711 GB, free: 55.76 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006439/15.59, allocations: 217.2 kB / 6.711 GB, free: 55.65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.441e-05/15.59, allocations: 102.4 kB / 6.711 GB, free: 55.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/15.59, allocations: 0 / 6.711 GB, free: 55.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.6e-05/15.59, allocations: 6.531 kB / 6.711 GB, free: 55.54 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/15.59, allocations: 11.09 kB / 6.711 GB, free: 55.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/15.59, allocations: 6.688 kB / 6.711 GB, free: 55.54 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.693e-05/15.59, allocations: 105.7 kB / 6.711 GB, free: 55.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005104/15.6, allocations: 1.006 MB / 6.712 GB, free: 55.2 MB / 442.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.008527/15.6, allocations: 1.59 MB / 6.714 GB, free: 54.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001574/15.6, allocations: 42.67 kB / 6.714 GB, free: 54.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/15.6, allocations: 0 / 6.714 GB, free: 54.78 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.174e-05/15.6, allocations: 31.8 kB / 6.714 GB, free: 54.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/15.6, allocations: 6.844 kB / 6.714 GB, free: 54.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/15.61, allocations: 108.8 kB / 6.714 GB, free: 54.69 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/15.61, allocations: 0.7078 MB / 6.715 GB, free: 53.99 MB / 442.7 MB Notification: Performance of SimCode: time 2.8e-07/15.61, allocations: 0 / 6.715 GB, free: 53.99 MB / 442.7 MB Notification: Performance of Templates: time 0.03919/15.64, allocations: 27.73 MB / 6.742 GB, free: 37.07 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches