Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001639/0.001639, allocations: 176.1 kB / 8.476 MB, free: 1.883 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.22/1.22, allocations: 205.2 MB / 214.1 MB, free: 5.172 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.0008874/0.0008874, allocations: 86.83 kB / 262.1 MB, free: 5.219 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.013e-06/7.054e-06, allocations: 0 / 315 MB, free: 41.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0767/0.07672, allocations: 47.57 MB / 362.5 MB, free: 9.988 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.305/0.3817, allocations: 77.48 MB / 440 MB, free: 10.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.382, allocations: 66.14 kB / 440.1 MB, free: 10.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01011/0.3921, allocations: 3.566 MB / 443.6 MB, free: 10.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.3922, allocations: 8.438 kB / 443.7 MB, free: 10.37 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006715/0.3929, allocations: 0.4902 MB / 444.1 MB, free: 9.973 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3929, allocations: 8.922 kB / 444.2 MB, free: 9.973 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.3931, allocations: 27.25 kB / 444.2 MB, free: 9.961 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.3933, allocations: 221.8 kB / 444.4 MB, free: 9.746 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.3933, allocations: 11.67 kB / 444.4 MB, free: 9.742 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.3934, allocations: 16.34 kB / 444.4 MB, free: 9.738 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002383/0.3936, allocations: 117.5 kB / 444.5 MB, free: 9.738 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.3939, allocations: 182.5 kB / 444.7 MB, free: 9.676 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3939, allocations: 0 / 444.7 MB, free: 9.676 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.3939, allocations: 4 kB / 444.7 MB, free: 9.672 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.394, allocations: 7.688 kB / 444.7 MB, free: 9.672 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.3951, allocations: 0.7698 MB / 445.5 MB, free: 9.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.3954, allocations: 135.8 kB / 445.6 MB, free: 9.199 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.78e-05/0.3955, allocations: 58.41 kB / 445.7 MB, free: 9.191 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.3955, allocations: 7.891 kB / 445.7 MB, free: 9.188 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.3955, allocations: 39.94 kB / 445.7 MB, free: 9.145 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.3955, allocations: 0 / 445.7 MB, free: 9.145 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003582/0.3959, allocations: 143.6 kB / 445.9 MB, free: 9.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.3959, allocations: 55.73 kB / 445.9 MB, free: 9.027 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.778e-05/0.396, allocations: 140.6 kB / 446.1 MB, free: 8.934 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.396, allocations: 25.7 kB / 446.1 MB, free: 8.902 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.3961, allocations: 132.2 kB / 446.2 MB, free: 8.793 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.3961, allocations: 54.78 kB / 446.3 MB, free: 8.758 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.3962, allocations: 0 / 446.3 MB, free: 8.758 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.344e-05/0.3962, allocations: 329.7 kB / 446.6 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.833e-05/0.3963, allocations: 37.59 kB / 446.6 MB, free: 8.438 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.443e-05/0.3964, allocations: 73.98 kB / 446.7 MB, free: 8.402 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.622e-05/0.3964, allocations: 37.42 kB / 446.7 MB, free: 8.402 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3964, allocations: 0 / 446.7 MB, free: 8.402 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002563/0.3967, allocations: 167.2 kB / 446.9 MB, free: 8.348 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.3967, allocations: 7.781 kB / 446.9 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3967, allocations: 0.8906 kB / 446.9 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001801/0.3969, allocations: 35.75 kB / 446.9 MB, free: 8.332 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.3971, allocations: 36.62 kB / 447 MB, free: 8.328 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009799/0.3981, allocations: 1.297 MB / 448.3 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.3983, allocations: 38.09 kB / 448.3 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.3983, allocations: 3.812 kB / 448.3 MB, free: 7.105 MB / 314.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 7.435e-05/0.3984, allocations: 110.2 kB / 448.4 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/0.3984, allocations: 19.22 kB / 448.4 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/0.3985, allocations: 18.02 kB / 448.5 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3985, allocations: 3.75 kB / 448.5 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3985, allocations: 0 / 448.5 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3985, allocations: 1.547 kB / 448.5 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/0.399, allocations: 450.9 kB / 448.9 MB, free: 6.691 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.399, allocations: 7.797 kB / 448.9 MB, free: 6.688 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.3992, allocations: 35.56 kB / 449 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.3993, allocations: 28.19 kB / 449 MB, free: 6.672 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.3993, allocations: 4.703 kB / 449 MB, free: 6.668 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007354/0.4001, allocations: 1.296 MB / 450.3 MB, free: 5.465 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4001, allocations: 0 / 450.3 MB, free: 5.465 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003251/0.4004, allocations: 304.1 kB / 450.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.836e-05/0.4005, allocations: 92.52 kB / 450.7 MB, free: 5.211 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.4005, allocations: 12.45 kB / 450.7 MB, free: 5.203 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.4007, allocations: 25.56 kB / 450.7 MB, free: 5.203 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.4008, allocations: 18.12 kB / 450.7 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.4008, allocations: 7.812 kB / 450.7 MB, free: 5.199 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.052e-05/0.4009, allocations: 109.5 kB / 450.8 MB, free: 5.121 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003097/0.4012, allocations: 53.73 kB / 450.9 MB, free: 5.113 MB / 314.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.0001193/0.4013, allocations: 95.75 kB / 451 MB, free: 5.023 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003345/0.4017, allocations: 208.7 kB / 451.2 MB, free: 4.914 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4017, allocations: 7.938 kB / 451.2 MB, free: 4.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.4018, allocations: 159.5 kB / 451.4 MB, free: 4.809 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.4021, allocations: 23.97 kB / 451.4 MB, free: 4.801 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008461/0.4029, allocations: 290.4 kB / 451.7 MB, free: 4.629 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004437/0.4034, allocations: 0.7518 MB / 452.4 MB, free: 19.93 MB / 330.7 MB Notification: Performance of SimCode: time 9.32e-07/0.4034, allocations: 0 / 452.4 MB, free: 19.93 MB / 330.7 MB Notification: Performance of Templates: time 0.007045/0.4105, allocations: 2.092 MB / 454.5 MB, free: 19.05 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/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_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches