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.TwoMasses.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.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadModel(Modelica): time 1.713/1.713, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003422, allocations: 8 kB / 233.9 MB, free: 2.402 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07968/0.08005, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002138/0.08224, allocations: 1.259 MB / 273.9 MB, free: 10.27 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.08334, allocations: 487.5 kB / 274.4 MB, free: 9.793 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.874e-05/0.08342, allocations: 0 / 274.4 MB, free: 9.793 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.678e-05/0.08347, allocations: 11.92 kB / 274.4 MB, free: 9.781 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.08358, allocations: 27.94 kB / 274.4 MB, free: 9.754 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.08379, allocations: 23.91 kB / 274.4 MB, free: 9.73 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.08394, allocations: 67.89 kB / 274.5 MB, free: 9.664 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.08409, allocations: 27.97 kB / 274.5 MB, free: 9.637 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.16e-05/0.08416, allocations: 31.88 kB / 274.5 MB, free: 9.605 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.08427, allocations: 39.89 kB / 274.6 MB, free: 9.566 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.0843, allocations: 4 kB / 274.6 MB, free: 9.562 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.705e-05/0.08439, allocations: 8 kB / 274.6 MB, free: 9.555 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.08443, allocations: 11.92 kB / 274.6 MB, free: 9.543 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.807e-05/0.08449, allocations: 49.58 kB / 274.7 MB, free: 9.488 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.08465, allocations: 72.08 kB / 274.7 MB, free: 9.418 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.08467, allocations: 0 / 274.7 MB, free: 9.418 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.08468, allocations: 0 / 274.7 MB, free: 9.418 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.08469, allocations: 0 / 274.7 MB, free: 9.418 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005401/0.08524, allocations: 367 kB / 275.1 MB, free: 9.012 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.0853, allocations: 8.031 kB / 275.1 MB, free: 9.004 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.08546, allocations: 11.91 kB / 275.1 MB, free: 8.992 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.08564, allocations: 175 kB / 275.3 MB, free: 8.781 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.08568, allocations: 7.953 kB / 275.3 MB, free: 8.773 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.08573, allocations: 15.94 kB / 275.3 MB, free: 8.758 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.08598, allocations: 77.67 kB / 275.4 MB, free: 8.676 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.08601, allocations: 0 / 275.4 MB, free: 8.676 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.08604, allocations: 4 kB / 275.4 MB, free: 8.672 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.08606, allocations: 4 kB / 275.4 MB, free: 8.668 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.08624, allocations: 58.33 kB / 275.4 MB, free: 8.613 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009156/0.08717, allocations: 396.6 kB / 275.8 MB, free: 8.176 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.08737, allocations: 74.56 kB / 275.9 MB, free: 8.094 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.0874, allocations: 4 kB / 275.9 MB, free: 8.09 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.08744, allocations: 38.44 kB / 275.9 MB, free: 8.043 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 1.944e-06/0.08746, allocations: 0 / 275.9 MB, free: 8.043 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002669/0.08773, allocations: 85.58 kB / 276 MB, free: 7.953 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.08779, allocations: 55.41 kB / 276.1 MB, free: 7.887 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.771e-05/0.0879, allocations: 105.8 kB / 276.2 MB, free: 7.773 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.08793, allocations: 33.7 kB / 276.2 MB, free: 7.734 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.08802, allocations: 99.88 kB / 276.3 MB, free: 7.633 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.436e-05/0.08807, allocations: 27.55 kB / 276.3 MB, free: 7.605 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/0.08809, allocations: 8 kB / 276.4 MB, free: 7.598 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.08827, allocations: 318.8 kB / 276.7 MB, free: 7.277 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.903e-05/0.08835, allocations: 19.98 kB / 276.7 MB, free: 7.258 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.08848, allocations: 50.5 kB / 276.7 MB, free: 7.199 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.782e-05/0.08858, allocations: 32 kB / 276.8 MB, free: 7.168 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.0886, allocations: 0 / 276.8 MB, free: 7.168 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002541/0.08886, allocations: 105.5 kB / 276.9 MB, free: 7.059 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.08889, allocations: 4 kB / 276.9 MB, free: 7.055 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.08891, allocations: 0 / 276.9 MB, free: 7.055 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.08893, allocations: 4 kB / 276.9 MB, free: 7.051 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.08915, allocations: 23.98 kB / 276.9 MB, free: 7.027 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.08918, allocations: 0 / 276.9 MB, free: 7.027 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.08929, allocations: 15.97 kB / 276.9 MB, free: 7.012 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.08932, allocations: 4 kB / 276.9 MB, free: 7.008 MB / 234.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.0001175/0.08944, allocations: 125.7 kB / 277 MB, free: 6.875 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.08949, allocations: 3.938 kB / 277 MB, free: 6.871 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.083e-05/0.08954, allocations: 12.38 kB / 277.1 MB, free: 6.855 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.08955, allocations: 0 / 277.1 MB, free: 6.855 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.08956, allocations: 0 / 277.1 MB, free: 6.855 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.552e-05/0.08965, allocations: 88.95 kB / 277.1 MB, free: 6.75 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.08969, allocations: 4 kB / 277.1 MB, free: 6.746 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.105e-05/0.0898, allocations: 4 kB / 277.1 MB, free: 6.742 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.08984, allocations: 12.09 kB / 277.2 MB, free: 6.73 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003565/0.09021, allocations: 160.9 kB / 277.3 MB, free: 6.566 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003366/0.09056, allocations: 279.3 kB / 277.6 MB, free: 6.277 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.178e-05/0.09064, allocations: 24.08 kB / 277.6 MB, free: 6.254 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.629e-05/0.0907, allocations: 87.27 kB / 277.7 MB, free: 6.168 MB / 234.7 MB Notification: Performance of Backend: time 8.82e-07/0.09072, allocations: 0 / 277.7 MB, free: 6.168 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004315/0.09115, allocations: 123.4 kB / 277.8 MB, free: 6.043 MB / 234.7 MB Notification: Performance of SimCode: time 0.0009809/0.09215, allocations: 0.8145 MB / 278.6 MB, free: 5.18 MB / 234.7 MB Notification: Performance of Templates: time 0.003834/0.09601, allocations: 0.6288 MB / 279.3 MB, free: 4.551 MB / 234.7 MB