Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001629/0.001629, allocations: 199.8 kB / 8.536 MB, free: 1.77 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.584/1.584, allocations: 225.5 MB / 234.4 MB, free: 3.457 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00106/0.00106, allocations: 95.17 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.739e-06/9.779e-06, allocations: 0 / 343.1 MB, free: 8.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1535, allocations: 51.48 MB / 394.6 MB, free: 5.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.657/1.81, allocations: 0.5424 GB / 0.9277 GB, free: 134.8 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003467/1.811, allocations: 77.03 kB / 0.9278 GB, free: 134.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.191/2.002, allocations: 114 MB / 1.039 GB, free: 47.49 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/2.002, allocations: 4 kB / 1.039 GB, free: 47.49 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.002023/2.004, allocations: 0.5564 MB / 1.04 GB, free: 46.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.465e-05/2.004, allocations: 8.031 kB / 1.04 GB, free: 46.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/2.004, allocations: 18.8 kB / 1.04 GB, free: 46.86 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/2.004, allocations: 182.9 kB / 1.04 GB, free: 46.64 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/2.004, allocations: 0 / 1.04 GB, free: 46.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/2.004, allocations: 4 kB / 1.04 GB, free: 46.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001016/2.005, allocations: 15.98 kB / 1.04 GB, free: 46.62 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/2.005, allocations: 55.34 kB / 1.04 GB, free: 46.56 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/2.005, allocations: 0 / 1.04 GB, free: 46.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/2.005, allocations: 11.91 kB / 1.04 GB, free: 46.55 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/2.005, allocations: 0 / 1.04 GB, free: 46.55 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/2.005, allocations: 151.2 kB / 1.04 GB, free: 46.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/2.005, allocations: 69.39 kB / 1.04 GB, free: 46.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/2.005, allocations: 21.7 kB / 1.04 GB, free: 46.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08036/2.086, allocations: 36.09 MB / 1.075 GB, free: 6.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/2.086, allocations: 34.56 kB / 1.075 GB, free: 6.688 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 3.677e-06/2.086, allocations: 4 kB / 1.075 GB, free: 6.684 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.001298/2.087, allocations: 161.4 kB / 1.076 GB, free: 6.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/2.087, allocations: 84.02 kB / 1.076 GB, free: 6.422 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.775e-05/2.087, allocations: 107.3 kB / 1.076 GB, free: 6.312 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/2.087, allocations: 29.64 kB / 1.076 GB, free: 6.277 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.681e-05/2.087, allocations: 84.14 kB / 1.076 GB, free: 6.191 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/2.087, allocations: 19.66 kB / 1.076 GB, free: 6.172 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/2.087, allocations: 0 / 1.076 GB, free: 6.172 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.276e-05/2.087, allocations: 322.8 kB / 1.076 GB, free: 5.848 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.43e-05/2.087, allocations: 4 kB / 1.076 GB, free: 5.844 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.064e-05/2.088, allocations: 21.72 kB / 1.076 GB, free: 5.816 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008594/2.088, allocations: 103.8 kB / 1.076 GB, free: 5.715 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/2.088, allocations: 0 / 1.076 GB, free: 5.715 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0009509/2.089, allocations: 157.5 kB / 1.076 GB, free: 5.555 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/2.089, allocations: 8 kB / 1.076 GB, free: 5.547 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/2.089, allocations: 0 / 1.076 GB, free: 5.547 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/2.089, allocations: 0 / 1.076 GB, free: 5.547 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.657e-05/2.09, allocations: 15.98 kB / 1.077 GB, free: 5.531 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/2.09, allocations: 0 / 1.077 GB, free: 5.531 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.537e-05/2.09, allocations: 7.938 kB / 1.077 GB, free: 5.523 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/2.09, allocations: 4 kB / 1.077 GB, free: 5.52 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 6.583e-05/2.09, allocations: 108.9 kB / 1.077 GB, free: 5.406 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.002e-05/2.09, allocations: 11.89 kB / 1.077 GB, free: 5.395 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/2.091, allocations: 205.4 kB / 1.077 GB, free: 5.188 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/2.091, allocations: 4 kB / 1.077 GB, free: 5.184 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/2.091, allocations: 0 / 1.077 GB, free: 5.184 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/2.091, allocations: 0 / 1.077 GB, free: 5.184 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/2.091, allocations: 146.1 kB / 1.077 GB, free: 5.004 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/2.091, allocations: 0 / 1.077 GB, free: 5.004 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.748e-05/2.091, allocations: 15.98 kB / 1.077 GB, free: 4.988 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/2.091, allocations: 4 kB / 1.077 GB, free: 4.984 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/2.091, allocations: 128 / 1.077 GB, free: 4.984 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/2.091, allocations: 4 kB / 1.077 GB, free: 4.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/2.091, allocations: 1.875 kB / 1.077 GB, free: 4.98 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009386/2.092, allocations: 199.8 kB / 1.077 GB, free: 4.758 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-05/2.092, allocations: 105 kB / 1.077 GB, free: 4.637 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/2.092, allocations: 4 kB / 1.077 GB, free: 4.633 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.941e-05/2.092, allocations: 3.984 kB / 1.077 GB, free: 4.629 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/2.092, allocations: 7.984 kB / 1.077 GB, free: 4.621 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/2.092, allocations: 4 kB / 1.077 GB, free: 4.617 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.361e-05/2.092, allocations: 95.2 kB / 1.077 GB, free: 4.523 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001569/2.094, allocations: 331.5 kB / 1.078 GB, free: 4.199 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.003011/2.097, allocations: 0.8004 MB / 1.078 GB, free: 3.395 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001371/2.097, allocations: 39.98 kB / 1.079 GB, free: 3.355 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/2.097, allocations: 0 / 1.079 GB, free: 3.355 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.281e-05/2.097, allocations: 12 kB / 1.079 GB, free: 3.344 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/2.097, allocations: 16.28 kB / 1.079 GB, free: 3.332 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004005/2.098, allocations: 95.55 kB / 1.079 GB, free: 3.219 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/2.098, allocations: 0.7173 MB / 1.079 GB, free: 2.48 MB / 442.7 MB Notification: Performance of SimCode: time 3.1e-07/2.098, allocations: 4 kB / 1.079 GB, free: 2.477 MB / 442.7 MB Notification: Performance of Templates: time 0.2726/2.371, allocations: 8.615 MB / 1.088 GB, free: 166.5 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches