Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadModel(Modelica): time 1.636/1.636, allocations: 171.3 MB / 179.2 MB, free: 7.562 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.862e-05/1.872e-05, allocations: 0 / 222.5 MB, free: 8.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06867/0.06871, allocations: 38.77 MB / 261.3 MB, free: 1.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2767/0.3455, allocations: 67.98 MB / 329.3 MB, free: 4.328 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.3457, allocations: 70.02 kB / 329.3 MB, free: 4.293 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0148/0.3606, allocations: 3.803 MB / 333.1 MB, free: 1.066 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.203e-06/0.3606, allocations: 0 / 333.1 MB, free: 1.066 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.795e-05/0.3606, allocations: 4 kB / 333.1 MB, free: 1.062 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008817/0.3615, allocations: 496 kB / 333.6 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.3616, allocations: 8.031 kB / 333.6 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.3617, allocations: 31.7 kB / 333.7 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.3621, allocations: 217.1 kB / 333.9 MB, free: 276 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.3621, allocations: 8 kB / 333.9 MB, free: 268 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/0.3622, allocations: 19.95 kB / 333.9 MB, free: 248 kB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003245/0.3625, allocations: 114.7 kB / 334 MB, free: 176 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.3629, allocations: 180.2 kB / 334.2 MB, free: 24 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.363, allocations: 0 / 334.2 MB, free: 24 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.363, allocations: 0 / 334.2 MB, free: 24 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.783e-06/0.363, allocations: 4 kB / 334.2 MB, free: 20 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.3646, allocations: 0.7728 MB / 335 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.365, allocations: 133.3 kB / 335.1 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.3651, allocations: 60.23 kB / 335.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3652, allocations: 4 kB / 335.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.3652, allocations: 40.5 kB / 335.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 3.033e-06/0.3652, allocations: 0 / 335.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004788/0.3657, allocations: 145.2 kB / 335.3 MB, free: 14.99 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.3658, allocations: 55.41 kB / 335.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.366, allocations: 134.1 kB / 335.5 MB, free: 14.8 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.366, allocations: 25.7 kB / 335.5 MB, free: 14.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.3662, allocations: 216.6 kB / 335.8 MB, free: 14.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/0.3662, allocations: 49.59 kB / 335.8 MB, free: 14.53 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.054e-06/0.3663, allocations: 0 / 335.8 MB, free: 14.53 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3664, allocations: 322.1 kB / 336.1 MB, free: 14.21 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.3665, allocations: 35.31 kB / 336.2 MB, free: 14.19 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.3667, allocations: 71.36 kB / 336.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.3668, allocations: 44.61 kB / 336.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.119e-06/0.3668, allocations: 0 / 336.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004413/0.3673, allocations: 162.4 kB / 336.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.3673, allocations: 8 kB / 336.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.668e-06/0.3673, allocations: 0 / 336.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000211/0.3676, allocations: 28.7 kB / 336.5 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.3678, allocations: 42.83 kB / 336.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/0.3693, allocations: 1.309 MB / 337.8 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.3696, allocations: 39.91 kB / 337.9 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.3696, allocations: 4 kB / 337.9 MB, free: 12.48 MB / 282.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.0001205/0.3697, allocations: 101 kB / 338 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.842e-05/0.3698, allocations: 15.86 kB / 338 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.245e-05/0.3699, allocations: 27.62 kB / 338 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.804e-06/0.3699, allocations: 0 / 338 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.523e-06/0.3699, allocations: 0 / 338 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.281e-06/0.3699, allocations: 7.984 kB / 338 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008028/0.3707, allocations: 446.3 kB / 338.4 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.869e-06/0.3708, allocations: 0 / 338.4 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.371, allocations: 27.92 kB / 338.5 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001648/0.3712, allocations: 40.33 kB / 338.5 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.3712, allocations: 0 / 338.5 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.3726, allocations: 1.301 MB / 339.8 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.736e-06/0.3726, allocations: 0 / 339.8 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000591/0.3732, allocations: 309.8 kB / 340.1 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.3734, allocations: 96 kB / 340.2 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.3734, allocations: 4 kB / 340.2 MB, free: 10.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.3737, allocations: 32.06 kB / 340.2 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/0.3738, allocations: 23.72 kB / 340.3 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.3738, allocations: 7.984 kB / 340.3 MB, free: 10.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001095/0.374, allocations: 102.8 kB / 340.4 MB, free: 9.984 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.6e-07/0.374, allocations: 0 / 340.4 MB, free: 9.984 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004639/0.3744, allocations: 55.83 kB / 340.4 MB, free: 9.93 MB / 282.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.0001704/0.3746, allocations: 103.2 kB / 340.5 MB, free: 9.816 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004663/0.3751, allocations: 217.9 kB / 340.7 MB, free: 9.633 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.233e-06/0.3751, allocations: 0 / 340.7 MB, free: 9.633 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002649/0.3754, allocations: 170.8 kB / 340.9 MB, free: 9.477 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.3757, allocations: 26.23 kB / 340.9 MB, free: 9.457 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007735/0.3765, allocations: 310.3 kB / 341.2 MB, free: 9.145 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.377, allocations: 0.7436 MB / 342 MB, free: 8.375 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.789e-05/0.3771, allocations: 15.44 kB / 342 MB, free: 8.359 MB / 282.7 MB Notification: Performance of SimCode: time 1.976e-06/0.3771, allocations: 0 / 342 MB, free: 8.359 MB / 282.7 MB Notification: Performance of Templates: time 0.006264/0.3834, allocations: 2.904 MB / 344.9 MB, free: 5.477 MB / 282.7 MB