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.702/1.702, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003463, allocations: 12 kB / 233.9 MB, free: 2.398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08012/0.08049, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003843/0.08439, allocations: 1.978 MB / 274.6 MB, free: 9.551 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.08593, allocations: 0.6084 MB / 275.2 MB, free: 8.941 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001963/0.08617, allocations: 4 kB / 275.2 MB, free: 8.938 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.042e-05/0.08627, allocations: 23.83 kB / 275.2 MB, free: 8.914 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.08652, allocations: 75.77 kB / 275.3 MB, free: 8.84 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.08683, allocations: 47.94 kB / 275.4 MB, free: 8.793 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.0872, allocations: 179.6 kB / 275.5 MB, free: 8.617 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.08745, allocations: 85.25 kB / 275.6 MB, free: 8.531 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.08761, allocations: 75.72 kB / 275.7 MB, free: 8.457 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.08783, allocations: 95.59 kB / 275.8 MB, free: 8.363 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.151e-05/0.08789, allocations: 19.94 kB / 275.8 MB, free: 8.344 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.08801, allocations: 15.94 kB / 275.8 MB, free: 8.328 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/0.08807, allocations: 35.91 kB / 275.9 MB, free: 8.293 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.5e-05/0.08816, allocations: 61.58 kB / 275.9 MB, free: 8.227 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.08847, allocations: 183.8 kB / 276.1 MB, free: 8.047 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.08849, allocations: 0 / 276.1 MB, free: 8.047 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.0885, allocations: 0 / 276.1 MB, free: 8.047 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.08852, allocations: 4 kB / 276.1 MB, free: 8.043 MB / 234.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.001281/0.08981, allocations: 0.5222 MB / 276.6 MB, free: 7.473 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.08988, allocations: 8.031 kB / 276.6 MB, free: 7.465 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.09005, allocations: 27.72 kB / 276.7 MB, free: 7.438 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.09042, allocations: 226.5 kB / 276.9 MB, free: 7.18 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.09047, allocations: 16.44 kB / 276.9 MB, free: 7.164 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.527e-05/0.09053, allocations: 20 kB / 276.9 MB, free: 7.145 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006769/0.09122, allocations: 229.8 kB / 277.1 MB, free: 6.906 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.09126, allocations: 0 / 277.1 MB, free: 6.906 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.0913, allocations: 8 kB / 277.1 MB, free: 6.898 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.09132, allocations: 4 kB / 277.1 MB, free: 6.895 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007277/0.09206, allocations: 165.6 kB / 277.3 MB, free: 6.734 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.09409, allocations: 0.8202 MB / 278.1 MB, free: 5.848 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006104/0.09475, allocations: 178.5 kB / 278.3 MB, free: 5.664 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.09479, allocations: 4 kB / 278.3 MB, free: 5.66 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.09484, allocations: 34.56 kB / 278.3 MB, free: 5.617 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 3.226e-06/0.09485, allocations: 0 / 278.3 MB, free: 5.617 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.001423/0.09629, allocations: 355.5 kB / 278.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.09636, allocations: 55.41 kB / 278.7 MB, free: 5.176 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.09663, allocations: 170.7 kB / 278.9 MB, free: 4.996 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.0967, allocations: 29.69 kB / 278.9 MB, free: 4.961 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.09684, allocations: 148.1 kB / 279.1 MB, free: 4.809 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.121e-05/0.09693, allocations: 55.2 kB / 279.1 MB, free: 4.754 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/0.09695, allocations: 0 / 279.1 MB, free: 4.754 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.09711, allocations: 330.8 kB / 279.5 MB, free: 4.422 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.09739, allocations: 56.34 kB / 279.5 MB, free: 4.367 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.09769, allocations: 93 kB / 279.6 MB, free: 4.262 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.09798, allocations: 69.02 kB / 279.7 MB, free: 4.195 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.098, allocations: 0 / 279.7 MB, free: 4.195 MB / 234.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008617/0.09887, allocations: 236.2 kB / 279.9 MB, free: 3.957 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.09892, allocations: 4 kB / 279.9 MB, free: 3.953 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.09894, allocations: 4 kB / 279.9 MB, free: 3.949 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002745/0.09922, allocations: 32.83 kB / 279.9 MB, free: 3.914 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.09952, allocations: 44.05 kB / 280 MB, free: 3.871 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.1013, allocations: 1.374 MB / 281.4 MB, free: 2.363 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.1017, allocations: 35.89 kB / 281.4 MB, free: 2.328 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.1017, allocations: 11.95 kB / 281.4 MB, free: 2.316 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (19): * Single equations (assignments): 18 * 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.0001862/0.1019, allocations: 125.8 kB / 281.5 MB, free: 2.184 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.973e-05/0.102, allocations: 19.81 kB / 281.5 MB, free: 2.164 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.518e-05/0.1021, allocations: 26.14 kB / 281.6 MB, free: 2.145 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.1021, allocations: 0 / 281.6 MB, free: 2.145 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1021, allocations: 0 / 281.6 MB, free: 2.145 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.1023, allocations: 104.8 kB / 281.7 MB, free: 2.023 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.882e-05/0.1024, allocations: 15.94 kB / 281.7 MB, free: 2.008 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.1027, allocations: 27.98 kB / 281.7 MB, free: 1.98 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.209e-05/0.1028, allocations: 19.91 kB / 281.7 MB, free: 1.961 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001156/0.104, allocations: 301.7 kB / 282 MB, free: 1.656 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009779/0.105, allocations: 411.5 kB / 282.4 MB, free: 1.238 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002766/0.1053, allocations: 76.03 kB / 282.5 MB, free: 1.164 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001536/0.1055, allocations: 128.3 kB / 282.6 MB, free: 1.039 MB / 234.7 MB Notification: Performance of Backend: time 4.81e-07/0.1055, allocations: 0 / 282.6 MB, free: 1.039 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0009059/0.1064, allocations: 293.2 kB / 282.9 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of SimCode: time 0.00148/0.1079, allocations: 1.026 MB / 283.9 MB, free: 15.65 MB / 250.7 MB Notification: Performance of Templates: time 0.009586/0.1176, allocations: 2.167 MB / 286.1 MB, free: 13.5 MB / 250.7 MB