Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [: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.0009693/0.0009693, allocations: 178.7 kB / 8.476 MB, free: 1.871 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.145/1.145, allocations: 205.2 MB / 214.1 MB, free: 5.246 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.0008896/0.0008896, allocations: 105.9 kB / 262.1 MB, free: 5.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.107e-06/9.147e-06, allocations: 4 kB / 315 MB, free: 41.53 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08432/0.08434, allocations: 47.57 MB / 362.5 MB, free: 9.992 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2566/0.341, allocations: 74.83 MB / 437.4 MB, free: 10.67 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000167/0.3412, allocations: 68.08 kB / 437.4 MB, free: 10.67 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.004159/0.3454, allocations: 1.472 MB / 438.9 MB, free: 10.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.3454, allocations: 0 / 438.9 MB, free: 10.6 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002761/0.3457, allocations: 366.6 kB / 439.3 MB, free: 10.24 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3457, allocations: 7.844 kB / 439.3 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.3459, allocations: 17.3 kB / 439.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.886e-05/0.346, allocations: 163 kB / 439.4 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.346, allocations: 3.875 kB / 439.4 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.346, allocations: 15.48 kB / 439.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001219/0.3461, allocations: 46.41 kB / 439.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.3462, allocations: 72.83 kB / 439.6 MB, free: 9.988 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3463, allocations: 3.984 kB / 439.6 MB, free: 9.984 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3463, allocations: 0 / 439.6 MB, free: 9.984 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3463, allocations: 3.844 kB / 439.6 MB, free: 9.984 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.3468, allocations: 355.8 kB / 439.9 MB, free: 9.734 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.237e-05/0.3469, allocations: 56.83 kB / 440 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.72e-05/0.3469, allocations: 29.67 kB / 440 MB, free: 9.707 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.3469, allocations: 3.844 kB / 440 MB, free: 9.707 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.347, allocations: 32.48 kB / 440.1 MB, free: 9.668 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 2.185e-06/0.347, allocations: 0 / 440.1 MB, free: 9.668 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001538/0.3471, allocations: 68.31 kB / 440.1 MB, free: 9.633 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.3472, allocations: 51.41 kB / 440.2 MB, free: 9.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.226e-05/0.3472, allocations: 102.3 kB / 440.3 MB, free: 9.477 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.3472, allocations: 29.64 kB / 440.3 MB, free: 9.441 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.3473, allocations: 102.6 kB / 440.4 MB, free: 9.348 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.3473, allocations: 27.95 kB / 440.4 MB, free: 9.328 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.3473, allocations: 0 / 440.4 MB, free: 9.328 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.902e-05/0.3474, allocations: 319.7 kB / 440.7 MB, free: 9.012 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.196e-05/0.3474, allocations: 18.66 kB / 440.8 MB, free: 9.012 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.487e-05/0.3475, allocations: 43.83 kB / 440.8 MB, free: 8.984 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.357e-05/0.3475, allocations: 24.95 kB / 440.8 MB, free: 8.984 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3475, allocations: 0 / 440.8 MB, free: 8.984 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001184/0.3477, allocations: 93.91 kB / 440.9 MB, free: 8.945 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/0.3477, allocations: 3.844 kB / 440.9 MB, free: 8.945 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3477, allocations: 0 / 440.9 MB, free: 8.945 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3477, allocations: 11.59 kB / 440.9 MB, free: 8.938 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.3478, allocations: 22.73 kB / 441 MB, free: 8.938 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3478, allocations: 4.062 kB / 441 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.492e-05/0.3479, allocations: 9.531 kB / 441 MB, free: 8.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.3479, allocations: 10.5 kB / 441 MB, free: 8.93 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 4.499e-05/0.348, allocations: 116.6 kB / 441.1 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.348, allocations: 0 / 441.1 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.456e-05/0.348, allocations: 11.91 kB / 441.1 MB, free: 8.805 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.348, allocations: 5.609 kB / 441.1 MB, free: 8.805 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.348, allocations: 0 / 441.1 MB, free: 8.805 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3481, allocations: 4 kB / 441.1 MB, free: 8.801 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.3482, allocations: 156.2 kB / 441.3 MB, free: 8.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3482, allocations: 3.875 kB / 441.3 MB, free: 8.645 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.3483, allocations: 19.22 kB / 441.3 MB, free: 8.645 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3483, allocations: 3.906 kB / 441.3 MB, free: 8.641 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.3483, allocations: 0 / 441.3 MB, free: 8.641 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3483, allocations: 0 / 441.3 MB, free: 8.641 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3483, allocations: 0 / 441.3 MB, free: 8.641 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001485/0.3485, allocations: 190 kB / 441.5 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.3485, allocations: 86.69 kB / 441.6 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.3485, allocations: 0 / 441.6 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.456e-05/0.3486, allocations: 0 / 441.6 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.3486, allocations: 5.719 kB / 441.6 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.3486, allocations: 0 / 441.6 MB, free: 8.402 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.22e-05/0.3487, allocations: 83.84 kB / 441.7 MB, free: 8.328 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002236/0.3489, allocations: 27.19 kB / 441.7 MB, free: 8.32 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 9.08e-05/0.349, allocations: 104.2 kB / 441.8 MB, free: 8.223 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.3491, allocations: 52.58 kB / 441.8 MB, free: 8.219 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3491, allocations: 0 / 441.8 MB, free: 8.219 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.422e-05/0.3491, allocations: 30.17 kB / 441.9 MB, free: 8.211 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.3493, allocations: 7.219 kB / 441.9 MB, free: 8.211 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004037/0.3497, allocations: 230 kB / 442.1 MB, free: 8.043 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.3499, allocations: 0.705 MB / 442.8 MB, free: 7.34 MB / 314.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3499, allocations: 0 / 442.8 MB, free: 7.34 MB / 314.7 MB Notification: Performance of Templates: time 0.002393/0.3523, allocations: 0.6637 MB / 443.5 MB, free: 7.277 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches