Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadModel(Modelica): time 1.907/1.907, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006/0.0006007, allocations: 8 kB / 233.8 MB, free: 2.402 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09058/0.09122, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3377/0.429, allocations: 68.73 MB / 341.3 MB, free: 4.652 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.4293, allocations: 75.89 kB / 341.4 MB, free: 4.613 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0173/0.4467, allocations: 3.84 MB / 345.3 MB, free: 1.305 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.108e-06/0.4467, allocations: 0 / 345.3 MB, free: 1.305 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.072e-05/0.4468, allocations: 6.516 kB / 345.3 MB, free: 1.301 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.001264/0.448, allocations: 0.5101 MB / 345.8 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.4481, allocations: 12.03 kB / 345.8 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.4483, allocations: 27.66 kB / 345.8 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.4486, allocations: 223.2 kB / 346 MB, free: 484 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.4487, allocations: 18.27 kB / 346.1 MB, free: 472 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/0.4488, allocations: 22.75 kB / 346.1 MB, free: 456 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006529/0.4494, allocations: 228.5 kB / 346.3 MB, free: 272 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.4495, allocations: 4 kB / 346.3 MB, free: 268 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.4495, allocations: 7.375 kB / 346.3 MB, free: 268 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.4495, allocations: 4 kB / 346.3 MB, free: 264 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006279/0.4502, allocations: 163.1 kB / 346.5 MB, free: 148 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.4521, allocations: 0.8299 MB / 347.3 MB, free: 15.37 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005995/0.4528, allocations: 168.8 kB / 347.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.4528, allocations: 4 kB / 347.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.4529, allocations: 30.56 kB / 347.5 MB, free: 15.2 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 2.935e-06/0.4529, allocations: 3.938 kB / 347.5 MB, free: 15.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.001401/0.4543, allocations: 358 kB / 347.9 MB, free: 14.87 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.4544, allocations: 55.41 kB / 347.9 MB, free: 14.8 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003919/0.4548, allocations: 176.8 kB / 348.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/0.4549, allocations: 28.7 kB / 348.1 MB, free: 14.61 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.4551, allocations: 146.8 kB / 348.2 MB, free: 14.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.4552, allocations: 54.33 kB / 348.3 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.239e-05/0.4552, allocations: 3.375 kB / 348.3 MB, free: 14.43 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4554, allocations: 324.8 kB / 348.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.4557, allocations: 58.28 kB / 348.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.456, allocations: 85.95 kB / 348.8 MB, free: 13.99 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.4562, allocations: 63.8 kB / 348.8 MB, free: 13.95 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.4562, allocations: 0 / 348.8 MB, free: 13.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000793/0.4571, allocations: 232.3 kB / 349.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.4571, allocations: 4 kB / 349.1 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.4571, allocations: 4 kB / 349.1 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002746/0.4574, allocations: 31.64 kB / 349.1 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.4577, allocations: 35.92 kB / 349.1 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.4594, allocations: 1.374 MB / 350.5 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.4598, allocations: 43.78 kB / 350.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.4599, allocations: 7.25 kB / 350.6 MB, free: 12.21 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 () * 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.0002031/0.4601, allocations: 131.8 kB / 350.7 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.4601, allocations: 15.81 kB / 350.7 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.918e-05/0.4602, allocations: 24.42 kB / 350.7 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4602, allocations: 0 / 350.7 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/0.4602, allocations: 4 kB / 350.7 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4603, allocations: 4 kB / 350.7 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.4615, allocations: 0.5265 MB / 351.3 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.4615, allocations: 4 kB / 351.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.4618, allocations: 31.73 kB / 351.3 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002031/0.462, allocations: 32.59 kB / 351.3 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.4621, allocations: 3.953 kB / 351.3 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/0.4637, allocations: 1.378 MB / 352.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4638, allocations: 0 / 352.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.4649, allocations: 371.5 kB / 353.1 MB, free: 9.738 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.4651, allocations: 104.2 kB / 353.2 MB, free: 9.621 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.4651, allocations: 3.625 kB / 353.2 MB, free: 9.621 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.4655, allocations: 32.03 kB / 353.2 MB, free: 9.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.661e-05/0.4656, allocations: 15.91 kB / 353.2 MB, free: 9.578 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.4656, allocations: 4 kB / 353.2 MB, free: 9.574 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00016/0.4658, allocations: 130.6 kB / 353.3 MB, free: 9.461 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.4658, allocations: 0 / 353.3 MB, free: 9.461 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004619/0.4663, allocations: 58.16 kB / 353.4 MB, free: 9.41 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) * 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.0001856/0.4665, allocations: 114.8 kB / 353.5 MB, free: 9.293 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008661/0.4674, allocations: 266.8 kB / 353.8 MB, free: 9.059 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4674, allocations: 192 / 353.8 MB, free: 9.059 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.4678, allocations: 207.2 kB / 354 MB, free: 8.867 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.4683, allocations: 28.77 kB / 354 MB, free: 8.848 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.4695, allocations: 0.5472 MB / 354.6 MB, free: 8.301 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.47, allocations: 0.74 MB / 355.3 MB, free: 7.535 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001605/0.4701, allocations: 17.55 kB / 355.3 MB, free: 7.512 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.4702, allocations: 15.44 kB / 355.3 MB, free: 7.496 MB / 282.7 MB Notification: Performance of SimCode: time 1.103e-06/0.4702, allocations: 3.938 kB / 355.3 MB, free: 7.492 MB / 282.7 MB Notification: Performance of Templates: time 0.008514/0.4787, allocations: 2.16 MB / 357.5 MB, free: 5.355 MB / 282.7 MB