Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [: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.002487/0.002486, allocations: 180.6 kB / 8.151 MB, free: 2.184 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.851/1.851, allocations: 205.2 MB / 213.8 MB, free: 13.86 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.001255/0.001255, allocations: 87.66 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.605e-06/7.844e-06, allocations: 0 / 314.3 MB, free: 9.035 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2279, allocations: 47.55 MB / 361.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1172/0.3452, allocations: 77.49 MB / 439.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/0.3456, allocations: 68.45 kB / 439.4 MB, free: 8.523 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.02351/0.3691, allocations: 3.579 MB / 443 MB, free: 4.977 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.399e-05/0.3692, allocations: 4 kB / 443 MB, free: 4.973 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001655/0.3709, allocations: 0.4983 MB / 443.5 MB, free: 4.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.3709, allocations: 11.42 kB / 443.5 MB, free: 4.422 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002554/0.3712, allocations: 31.66 kB / 443.5 MB, free: 4.391 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005491/0.3718, allocations: 221.2 kB / 443.7 MB, free: 4.137 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.3718, allocations: 8 kB / 443.7 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-05/0.3719, allocations: 15.91 kB / 443.7 MB, free: 4.113 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005024/0.3725, allocations: 116.9 kB / 443.9 MB, free: 4 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004852/0.373, allocations: 181 kB / 444 MB, free: 3.809 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.373, allocations: 7.406 kB / 444 MB, free: 3.805 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.373, allocations: 0 / 444 MB, free: 3.805 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.3731, allocations: 4 kB / 444 MB, free: 3.801 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.3752, allocations: 0.7695 MB / 444.8 MB, free: 2.973 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005468/0.3758, allocations: 130.6 kB / 444.9 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.376, allocations: 56.86 kB / 445 MB, free: 2.777 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.376, allocations: 4 kB / 445 MB, free: 2.773 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.3761, allocations: 38.47 kB / 445 MB, free: 2.727 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 3.927e-06/0.3761, allocations: 0 / 445 MB, free: 2.727 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007669/0.3769, allocations: 146.5 kB / 445.2 MB, free: 2.574 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.377, allocations: 55.34 kB / 445.2 MB, free: 2.508 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.3772, allocations: 133.4 kB / 445.4 MB, free: 2.371 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.3773, allocations: 25.7 kB / 445.4 MB, free: 2.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.3774, allocations: 202.6 kB / 445.6 MB, free: 2.141 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.402e-05/0.3775, allocations: 51.2 kB / 445.6 MB, free: 2.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.679e-05/0.3776, allocations: 0 / 445.6 MB, free: 2.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.3778, allocations: 326.7 kB / 446 MB, free: 1.762 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.378, allocations: 32.38 kB / 446 MB, free: 1.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.3782, allocations: 65.94 kB / 446.1 MB, free: 1.656 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.3784, allocations: 39.98 kB / 446.1 MB, free: 1.617 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.3784, allocations: 0 / 446.1 MB, free: 1.617 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007863/0.3792, allocations: 162.3 kB / 446.3 MB, free: 1.449 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.3792, allocations: 11.94 kB / 446.3 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.3793, allocations: 0 / 446.3 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00029/0.3796, allocations: 28.84 kB / 446.3 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.38, allocations: 44 kB / 446.3 MB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.3822, allocations: 1.288 MB / 447.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004682/0.3827, allocations: 31.94 kB / 447.7 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/0.3828, allocations: 11.98 kB / 447.7 MB, free: 15.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.3829, allocations: 29.78 kB / 447.7 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.383, allocations: 19.8 kB / 447.7 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.862e-05/0.3831, allocations: 27.12 kB / 447.7 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3831, allocations: 3.906 kB / 447.7 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3832, allocations: 0 / 447.7 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3832, allocations: 4 kB / 447.8 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.3844, allocations: 447.7 kB / 448.2 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3844, allocations: 0 / 448.2 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004022/0.3848, allocations: 27.98 kB / 448.2 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002945/0.3852, allocations: 36.73 kB / 448.3 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.3852, allocations: 4 kB / 448.3 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.3872, allocations: 1.295 MB / 449.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/0.3872, allocations: 3.906 kB / 449.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008614/0.3881, allocations: 296.2 kB / 449.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.3883, allocations: 96.91 kB / 449.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-05/0.3883, allocations: 0 / 449.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005652/0.3889, allocations: 32.09 kB / 450 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.3891, allocations: 19.97 kB / 450 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.3891, allocations: 0 / 450 MB, free: 13.39 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001636/0.3893, allocations: 113.7 kB / 450.1 MB, free: 13.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005152/0.3898, allocations: 55.89 kB / 450.2 MB, free: 13.22 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002194/0.3901, allocations: 103.3 kB / 450.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007471/0.3908, allocations: 209.6 kB / 450.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3909, allocations: 0 / 450.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.3912, allocations: 168.7 kB / 450.6 MB, free: 12.72 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004792/0.3917, allocations: 13.84 kB / 450.6 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.393, allocations: 320.3 kB / 451 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006932/0.3938, allocations: 0.7542 MB / 451.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of SimCode: time 1.293e-06/0.3938, allocations: 0 / 451.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of Templates: time 0.009433/0.4032, allocations: 3.055 MB / 454.8 MB, free: 8.566 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches