Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadModel(Modelica): time 2.142/2.142, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.00035, allocations: 15.94 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09554/0.09592, allocations: 44.51 MB / 309 MB, free: 368 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4104/0.5064, allocations: 73.98 MB / 383 MB, free: 15.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/0.5068, allocations: 74.83 kB / 383.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01618/0.523, allocations: 3.844 MB / 386.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.5231, allocations: 0 / 386.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.3e-05/0.5231, allocations: 5.219 kB / 386.9 MB, free: 14.77 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.00115/0.5243, allocations: 0.5134 MB / 387.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.5243, allocations: 12.88 kB / 387.5 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.5245, allocations: 25.75 kB / 387.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.5248, allocations: 229.4 kB / 387.7 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.5249, allocations: 20.67 kB / 387.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.094e-05/0.5249, allocations: 21.09 kB / 387.8 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007146/0.5257, allocations: 222.9 kB / 388 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.5257, allocations: 11.81 kB / 388 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.5258, allocations: 10.91 kB / 388 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.5258, allocations: 9.344 kB / 388 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006534/0.5265, allocations: 159.8 kB / 388.2 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.5282, allocations: 0.8265 MB / 389 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005567/0.5288, allocations: 171.4 kB / 389.2 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.5289, allocations: 0 / 389.2 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.5289, allocations: 41.78 kB / 389.2 MB, free: 13.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 2.324e-06/0.5289, allocations: 0 / 389.2 MB, free: 13.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001284/0.5302, allocations: 344.8 kB / 389.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.5303, allocations: 63.19 kB / 389.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.5305, allocations: 175.9 kB / 389.8 MB, free: 13.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.5306, allocations: 29.2 kB / 389.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.03e-05/0.5307, allocations: 139.8 kB / 389.9 MB, free: 13.03 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.496e-05/0.5307, allocations: 47.88 kB / 390 MB, free: 13 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/0.5307, allocations: 7.156 kB / 390 MB, free: 13 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.92e-05/0.5308, allocations: 330.1 kB / 390.3 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.5311, allocations: 57.31 kB / 390.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.5313, allocations: 90.33 kB / 390.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.5316, allocations: 64.25 kB / 390.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.5316, allocations: 0 / 390.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007273/0.5324, allocations: 228.5 kB / 390.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.5324, allocations: 7.75 kB / 390.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.5324, allocations: 0 / 390.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002632/0.5327, allocations: 34.25 kB / 390.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.533, allocations: 34.75 kB / 390.8 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.5343, allocations: 1.376 MB / 392.2 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/0.5346, allocations: 41.73 kB / 392.2 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.5347, allocations: 6.281 kB / 392.2 MB, free: 11.27 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 () * Number of clocked 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.0001672/0.5349, allocations: 132.4 kB / 392.4 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.5349, allocations: 15.66 kB / 392.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.544e-05/0.535, allocations: 23.28 kB / 392.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.535, allocations: 3.984 kB / 392.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.535, allocations: 3.953 kB / 392.4 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.535, allocations: 7.125 kB / 392.4 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.5361, allocations: 0.5229 MB / 392.9 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.5361, allocations: 0 / 392.9 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.5364, allocations: 36.45 kB / 393 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001837/0.5366, allocations: 33.48 kB / 393 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.5366, allocations: 0 / 393 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.5378, allocations: 1.378 MB / 394.4 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5378, allocations: 0 / 394.4 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009405/0.5387, allocations: 369.8 kB / 394.8 MB, free: 9.363 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.5389, allocations: 105.2 kB / 394.9 MB, free: 9.262 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/0.5389, allocations: 0 / 394.9 MB, free: 9.262 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/0.5393, allocations: 34.53 kB / 394.9 MB, free: 9.258 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.28e-05/0.5394, allocations: 19.09 kB / 394.9 MB, free: 9.258 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.5394, allocations: 0 / 394.9 MB, free: 9.258 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001221/0.5395, allocations: 132.4 kB / 395 MB, free: 9.176 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5396, allocations: 0 / 395 MB, free: 9.176 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005052/0.5401, allocations: 68.42 kB / 395.1 MB, free: 9.164 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) * Number of clocked states: 0 () * 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.0001479/0.5402, allocations: 102.7 kB / 395.2 MB, free: 9.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007616/0.541, allocations: 274.8 kB / 395.5 MB, free: 8.945 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.541, allocations: 0 / 395.5 MB, free: 8.945 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003763/0.5414, allocations: 202.5 kB / 395.7 MB, free: 8.824 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.5418, allocations: 25.23 kB / 395.7 MB, free: 8.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.543, allocations: 0.5526 MB / 396.3 MB, free: 8.492 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.5432, allocations: 0.7419 MB / 397 MB, free: 7.789 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001545/0.5434, allocations: 16.28 kB / 397 MB, free: 7.785 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.052e-05/0.5435, allocations: 15.22 kB / 397 MB, free: 7.781 MB / 314.7 MB Notification: Performance of SimCode: time 1.302e-06/0.5435, allocations: 0 / 397 MB, free: 7.781 MB / 314.7 MB Notification: Performance of Templates: time 0.007595/0.5511, allocations: 2.165 MB / 399.2 MB, free: 7.617 MB / 314.7 MB