Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.0009873/0.0009874, allocations: 185.2 kB / 8.135 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.169/1.169, allocations: 221.4 MB / 229.9 MB, free: 3.047 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009099/0.0009099, allocations: 88.34 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.14e-06/5.15e-06, allocations: 0 / 336.5 MB, free: 9.484 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1957, allocations: 50.39 MB / 386.9 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08761/0.2834, allocations: 78.65 MB / 465.6 MB, free: 8.117 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.2836, allocations: 77.47 kB / 465.6 MB, free: 8.043 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01079/0.2944, allocations: 3.63 MB / 469.3 MB, free: 4.422 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.2945, allocations: 4 kB / 469.3 MB, free: 4.418 MB / 346.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.0007412/0.2952, allocations: 0.4983 MB / 469.8 MB, free: 3.875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.2953, allocations: 12.03 kB / 469.8 MB, free: 3.863 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.2954, allocations: 23.72 kB / 469.8 MB, free: 3.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.2957, allocations: 217 kB / 470 MB, free: 3.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.2957, allocations: 9.188 kB / 470 MB, free: 3.582 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.2958, allocations: 19.84 kB / 470 MB, free: 3.562 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002605/0.296, allocations: 116.9 kB / 470.1 MB, free: 3.449 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.2963, allocations: 181 kB / 470.3 MB, free: 3.262 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.2964, allocations: 0 / 470.3 MB, free: 3.262 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.2964, allocations: 0 / 470.3 MB, free: 3.262 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.2964, allocations: 8.828 kB / 470.3 MB, free: 3.254 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.2977, allocations: 0.7655 MB / 471.1 MB, free: 2.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.298, allocations: 122.7 kB / 471.2 MB, free: 2.301 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.2981, allocations: 75.53 kB / 471.3 MB, free: 2.227 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.2981, allocations: 4 kB / 471.3 MB, free: 2.223 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.2982, allocations: 30.56 kB / 471.3 MB, free: 2.184 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.695e-06/0.2982, allocations: 0 / 471.3 MB, free: 2.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003784/0.2985, allocations: 154.4 kB / 471.5 MB, free: 2.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.2986, allocations: 51.41 kB / 471.5 MB, free: 1.957 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.2987, allocations: 145.3 kB / 471.7 MB, free: 1.809 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.2988, allocations: 25.7 kB / 471.7 MB, free: 1.777 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.2988, allocations: 136.2 kB / 471.8 MB, free: 1.641 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.2989, allocations: 55.2 kB / 471.9 MB, free: 1.586 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-06/0.2989, allocations: 0 / 471.9 MB, free: 1.586 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.841e-05/0.299, allocations: 326.7 kB / 472.2 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.138e-05/0.2991, allocations: 36.38 kB / 472.2 MB, free: 1.223 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.308e-05/0.2992, allocations: 71.92 kB / 472.3 MB, free: 1.141 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.819e-05/0.2992, allocations: 40.77 kB / 472.3 MB, free: 1.102 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2993, allocations: 0 / 472.3 MB, free: 1.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002989/0.2996, allocations: 170.2 kB / 472.5 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.2996, allocations: 4 kB / 472.5 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2996, allocations: 4 kB / 472.5 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/0.2998, allocations: 28.94 kB / 472.5 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.3, allocations: 43.91 kB / 472.6 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.3012, allocations: 1.289 MB / 473.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.3014, allocations: 43.92 kB / 473.9 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.3014, allocations: 4 kB / 473.9 MB, free: 15.4 MB / 362.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.0001009/0.3015, allocations: 108.9 kB / 474 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.3016, allocations: 11.81 kB / 474 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.181e-05/0.3016, allocations: 16.69 kB / 474.1 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3016, allocations: 8 kB / 474.1 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3016, allocations: 0.6875 kB / 474.1 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3017, allocations: 3.984 kB / 474.1 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006066/0.3023, allocations: 447.6 kB / 474.5 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3023, allocations: 0 / 474.5 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.3025, allocations: 33.11 kB / 474.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001123/0.3026, allocations: 40.95 kB / 474.6 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.3026, allocations: 4 kB / 474.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009618/0.3036, allocations: 1.291 MB / 475.9 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3036, allocations: 0 / 475.9 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003963/0.304, allocations: 302.4 kB / 476.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.812e-05/0.3041, allocations: 105 kB / 476.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.3041, allocations: 7.844 kB / 476.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.3044, allocations: 28.09 kB / 476.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.3044, allocations: 15.97 kB / 476.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.3044, allocations: 11.94 kB / 476.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.888e-05/0.3045, allocations: 107.3 kB / 476.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003432/0.3049, allocations: 51.98 kB / 476.5 MB, free: 12.63 MB / 362.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.0001867/0.3051, allocations: 99.25 kB / 476.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003596/0.3054, allocations: 213.6 kB / 476.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3055, allocations: 4.188 kB / 476.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.3056, allocations: 157.8 kB / 477 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.3059, allocations: 18.92 kB / 477 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006178/0.3065, allocations: 286.1 kB / 477.3 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/0.3069, allocations: 0.7542 MB / 478 MB, free: 11.04 MB / 362.7 MB Notification: Performance of SimCode: time 1.984e-06/0.3069, allocations: 0 / 478 MB, free: 11.04 MB / 362.7 MB Notification: Performance of Templates: time 0.005364/0.3122, allocations: 2.084 MB / 480.1 MB, free: 9 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches