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.TwoMasses.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.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadModel(Modelica): time 1.829/1.829, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004704, allocations: 15.98 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09549/0.09599, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002785/0.09883, allocations: 1.252 MB / 310.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1002, allocations: 496 kB / 310.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.866e-05/0.1003, allocations: 0 / 310.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.62e-05/0.1003, allocations: 11.92 kB / 310.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.1005, allocations: 27.92 kB / 310.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.1008, allocations: 27.95 kB / 310.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.101, allocations: 67.84 kB / 310.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.1012, allocations: 31.97 kB / 311 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.714e-05/0.1012, allocations: 23.92 kB / 311 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.1014, allocations: 35.86 kB / 311 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.1014, allocations: 7.938 kB / 311 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.1016, allocations: 8 kB / 311 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/0.1016, allocations: 19.92 kB / 311.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.346e-05/0.1017, allocations: 37.7 kB / 311.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.1019, allocations: 76.06 kB / 311.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1019, allocations: 0 / 311.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1019, allocations: 4 kB / 311.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.102, allocations: 0 / 311.2 MB, free: 14.23 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006407/0.1026, allocations: 363.1 kB / 311.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.1027, allocations: 8.031 kB / 311.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.1029, allocations: 15.89 kB / 311.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.1031, allocations: 174.9 kB / 311.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.1031, allocations: 4 kB / 311.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/0.1032, allocations: 12 kB / 311.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.1035, allocations: 81.66 kB / 311.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1035, allocations: 0 / 311.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.1036, allocations: 7.953 kB / 311.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1036, allocations: 4 kB / 311.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002265/0.1038, allocations: 59.89 kB / 311.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.1049, allocations: 392.5 kB / 312.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.1052, allocations: 70.5 kB / 312.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.1052, allocations: 4 kB / 312.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.1053, allocations: 34.56 kB / 312.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 2.204e-06/0.1053, allocations: 0 / 312.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003389/0.1056, allocations: 97.78 kB / 312.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.1057, allocations: 59.41 kB / 312.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.1058, allocations: 105.8 kB / 312.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.1059, allocations: 25.7 kB / 312.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/0.106, allocations: 99.89 kB / 312.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.106, allocations: 27.55 kB / 312.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/0.1061, allocations: 7.938 kB / 312.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1062, allocations: 318.8 kB / 313.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-05/0.1063, allocations: 23.94 kB / 313.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.1065, allocations: 42.56 kB / 313.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.1066, allocations: 28 kB / 313.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1066, allocations: 0 / 313.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003171/0.1069, allocations: 109.5 kB / 313.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.107, allocations: 4 kB / 313.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.107, allocations: 0 / 313.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.107, allocations: 4 kB / 313.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.1073, allocations: 28 kB / 313.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.777e-05/0.1073, allocations: 7.938 kB / 313.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.1075, allocations: 4 kB / 313.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.1075, allocations: 8 kB / 313.4 MB, free: 11.82 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.1076, allocations: 117.8 kB / 313.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.1077, allocations: 3.906 kB / 313.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/0.1078, allocations: 12.38 kB / 313.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1078, allocations: 4 kB / 313.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1078, allocations: 0 / 313.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.678e-05/0.1079, allocations: 88.98 kB / 313.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.1079, allocations: 4 kB / 313.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.1081, allocations: 7.906 kB / 313.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.1081, allocations: 7.938 kB / 313.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004309/0.1086, allocations: 160.9 kB / 313.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004026/0.109, allocations: 267 kB / 314 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.23e-05/0.1091, allocations: 27.91 kB / 314 MB, free: 11.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.474e-05/0.1092, allocations: 87.28 kB / 314.1 MB, free: 11 MB / 266.7 MB Notification: Performance of Backend: time 1.202e-06/0.1092, allocations: 0 / 314.1 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005254/0.1097, allocations: 120.2 kB / 314.2 MB, free: 10.87 MB / 266.7 MB Notification: Performance of SimCode: time 0.001165/0.1109, allocations: 0.8108 MB / 315.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of Templates: time 0.00475/0.1157, allocations: 0.6251 MB / 315.7 MB, free: 9.391 MB / 266.7 MB