Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001798/0.001798, allocations: 207.8 kB / 8.545 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009521/0.0009518, allocations: 96.2 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.081e-06/6.161e-06, allocations: 0 / 343.1 MB, free: 8.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08884/0.08886, allocations: 51.48 MB / 394.6 MB, free: 5.207 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2383/0.3272, allocations: 79.46 MB / 474.1 MB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001768/0.3274, allocations: 72.34 kB / 474.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01216/0.3396, allocations: 3.68 MB / 477.8 MB, free: 10.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.3397, allocations: 8 kB / 477.8 MB, free: 10.46 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.0009046/0.3406, allocations: 0.5014 MB / 478.3 MB, free: 9.969 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3406, allocations: 8.031 kB / 478.3 MB, free: 9.961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.3408, allocations: 24.52 kB / 478.4 MB, free: 9.938 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.3411, allocations: 221 kB / 478.6 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.3412, allocations: 4 kB / 478.6 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.3412, allocations: 15.91 kB / 478.6 MB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003599/0.3416, allocations: 120.6 kB / 478.7 MB, free: 9.613 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004153/0.342, allocations: 182.1 kB / 478.9 MB, free: 9.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.342, allocations: 0 / 478.9 MB, free: 9.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.3421, allocations: 0 / 478.9 MB, free: 9.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.3421, allocations: 5.625 kB / 478.9 MB, free: 9.477 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.3437, allocations: 0.7791 MB / 479.7 MB, free: 8.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/0.344, allocations: 124.5 kB / 479.8 MB, free: 8.723 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.3442, allocations: 57.67 kB / 479.9 MB, free: 8.684 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.3442, allocations: 4 kB / 479.9 MB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.3442, allocations: 41.59 kB / 479.9 MB, free: 8.633 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.3442, allocations: 3.391 kB / 479.9 MB, free: 8.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.000461/0.3447, allocations: 139.6 kB / 480 MB, free: 8.512 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.912e-05/0.3447, allocations: 54.84 kB / 480.1 MB, free: 8.449 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.3448, allocations: 135.6 kB / 480.2 MB, free: 8.324 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.3449, allocations: 25.7 kB / 480.3 MB, free: 8.293 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.3449, allocations: 139.5 kB / 480.4 MB, free: 8.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.345, allocations: 53.5 kB / 480.4 MB, free: 8.113 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.345, allocations: 0 / 480.4 MB, free: 8.113 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.84e-05/0.3451, allocations: 331 kB / 480.8 MB, free: 7.789 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.3452, allocations: 33 kB / 480.8 MB, free: 7.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.3453, allocations: 68 kB / 480.9 MB, free: 7.711 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.473e-05/0.3454, allocations: 42.67 kB / 480.9 MB, free: 7.684 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3454, allocations: 0 / 480.9 MB, free: 7.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003546/0.3458, allocations: 166.6 kB / 481.1 MB, free: 7.543 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3458, allocations: 8 kB / 481.1 MB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3458, allocations: 0 / 481.1 MB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002229/0.3461, allocations: 40.23 kB / 481.1 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.3463, allocations: 27.98 kB / 481.1 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.3475, allocations: 1.301 MB / 482.4 MB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.3478, allocations: 43.11 kB / 482.5 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.3478, allocations: 4 kB / 482.5 MB, free: 6.074 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.0001041/0.3479, allocations: 108.9 kB / 482.6 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.348, allocations: 15.81 kB / 482.6 MB, free: 5.945 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.766e-05/0.348, allocations: 18.48 kB / 482.6 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.348, allocations: 8 kB / 482.6 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3481, allocations: 0 / 482.6 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3481, allocations: 0 / 482.6 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006557/0.3487, allocations: 456.7 kB / 483.1 MB, free: 5.496 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3488, allocations: 0 / 483.1 MB, free: 5.496 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.349, allocations: 23.98 kB / 483.1 MB, free: 5.473 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001332/0.3492, allocations: 43.11 kB / 483.1 MB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.3492, allocations: 1.25 kB / 483.1 MB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006833/0.3499, allocations: 1.296 MB / 484.4 MB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3499, allocations: 4.031 kB / 484.4 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003394/0.3502, allocations: 301.1 kB / 484.7 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.3503, allocations: 107.1 kB / 484.8 MB, free: 3.719 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.3503, allocations: 4.031 kB / 484.9 MB, free: 3.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.3505, allocations: 31.97 kB / 484.9 MB, free: 3.684 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.3506, allocations: 11.98 kB / 484.9 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.3506, allocations: 6.938 kB / 484.9 MB, free: 3.668 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.479e-05/0.3507, allocations: 114.1 kB / 485 MB, free: 3.566 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002934/0.351, allocations: 51.84 kB / 485.1 MB, free: 3.516 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.0001274/0.3511, allocations: 99.86 kB / 485.2 MB, free: 3.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002831/0.3514, allocations: 204 kB / 485.4 MB, free: 3.234 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3514, allocations: 4.188 kB / 485.4 MB, free: 3.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.3516, allocations: 158.6 kB / 485.5 MB, free: 3.086 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.352, allocations: 29.47 kB / 485.5 MB, free: 3.066 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007306/0.3527, allocations: 281.9 kB / 485.8 MB, free: 2.797 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.353, allocations: 0.7532 MB / 486.6 MB, free: 2.023 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.353, allocations: 0 / 486.6 MB, free: 2.023 MB / 346.7 MB Notification: Performance of Templates: time 0.006449/0.3594, allocations: 2.089 MB / 488.7 MB, free: 0 / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches