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 1.927/1.927, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.000334, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08847/0.08882, allocations: 44.5 MB / 309.1 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003369/0.09224, allocations: 1.983 MB / 311 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.09364, allocations: 0.6284 MB / 311.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.09381, allocations: 7.938 kB / 311.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.562e-05/0.09389, allocations: 23.83 kB / 311.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.09413, allocations: 75.77 kB / 311.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.09442, allocations: 51.89 kB / 311.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003649/0.0948, allocations: 187.5 kB / 312 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.09503, allocations: 73.33 kB / 312.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.09518, allocations: 79.72 kB / 312.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.0954, allocations: 95.59 kB / 312.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.401e-05/0.09547, allocations: 12 kB / 312.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.09559, allocations: 16 kB / 312.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.207e-05/0.09567, allocations: 35.84 kB / 312.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.557e-05/0.09576, allocations: 65.58 kB / 312.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.09608, allocations: 183.8 kB / 312.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.09609, allocations: 0 / 312.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.0961, allocations: 0 / 312.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.09612, allocations: 0 / 312.6 MB, free: 12.84 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001289/0.09741, allocations: 0.5223 MB / 313.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.09748, allocations: 12.02 kB / 313.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.09763, allocations: 23.72 kB / 313.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.09799, allocations: 235 kB / 313.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.09803, allocations: 16.44 kB / 313.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.067e-05/0.0981, allocations: 20 kB / 313.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006563/0.09877, allocations: 229.8 kB / 313.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.09881, allocations: 4 kB / 313.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/0.09885, allocations: 4 kB / 313.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.09887, allocations: 4 kB / 313.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006576/0.09953, allocations: 165.6 kB / 313.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/0.1015, allocations: 0.8244 MB / 314.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006031/0.1021, allocations: 178.4 kB / 314.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.1022, allocations: 0 / 314.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.1022, allocations: 34.56 kB / 314.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 2.063e-06/0.1022, allocations: 0 / 314.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.001364/0.1036, allocations: 359.9 kB / 315.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.1037, allocations: 51.41 kB / 315.2 MB, free: 9.957 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.1039, allocations: 174.7 kB / 315.4 MB, free: 9.773 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.104, allocations: 29.7 kB / 315.4 MB, free: 9.738 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.1041, allocations: 148.1 kB / 315.6 MB, free: 9.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.451e-05/0.1042, allocations: 63.19 kB / 315.6 MB, free: 9.527 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.361e-05/0.1042, allocations: 4 kB / 315.6 MB, free: 9.523 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1044, allocations: 330.8 kB / 315.9 MB, free: 9.191 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.1046, allocations: 60.34 kB / 316 MB, free: 9.133 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.105, allocations: 89 kB / 316.1 MB, free: 9.031 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.1052, allocations: 69.8 kB / 316.2 MB, free: 8.965 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1053, allocations: 0 / 316.2 MB, free: 8.965 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007949/0.1061, allocations: 230.1 kB / 316.4 MB, free: 8.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.1061, allocations: 5.719 kB / 316.4 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.1061, allocations: 0 / 316.4 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002766/0.1064, allocations: 32.84 kB / 316.4 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.1067, allocations: 44.03 kB / 316.5 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.1083, allocations: 1.367 MB / 317.8 MB, free: 7.145 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.1087, allocations: 47.81 kB / 317.9 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.1087, allocations: 4 kB / 317.9 MB, free: 7.094 MB / 266.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.0001985/0.1089, allocations: 138.8 kB / 318 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.305e-05/0.109, allocations: 15.81 kB / 318 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.632e-05/0.1091, allocations: 25.86 kB / 318.1 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.1091, allocations: 4 kB / 318.1 MB, free: 6.906 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.1091, allocations: 3.953 kB / 318.1 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.1092, allocations: 93 kB / 318.2 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/0.1093, allocations: 8 kB / 318.2 MB, free: 6.785 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.1096, allocations: 27.97 kB / 318.2 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-05/0.1097, allocations: 19.97 kB / 318.2 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001083/0.1108, allocations: 301.5 kB / 318.5 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009762/0.1118, allocations: 422.7 kB / 318.9 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002703/0.1121, allocations: 71.95 kB / 319 MB, free: 5.934 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001645/0.1123, allocations: 127.2 kB / 319.1 MB, free: 5.809 MB / 266.7 MB Notification: Performance of Backend: time 9.92e-07/0.1123, allocations: 3.938 kB / 319.1 MB, free: 5.805 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009166/0.1132, allocations: 285.2 kB / 319.4 MB, free: 5.508 MB / 266.7 MB Notification: Performance of SimCode: time 0.001425/0.1147, allocations: 1.023 MB / 320.4 MB, free: 4.441 MB / 266.7 MB Notification: Performance of Templates: time 0.008071/0.1228, allocations: 2.165 MB / 322.6 MB, free: 2.293 MB / 266.7 MB