Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadModel(Modelica): time 1.57/1.57, allocations: 171.1 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007334/0.0007333, allocations: 8 kB / 233.2 MB, free: 3.023 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08759/0.08837, allocations: 38.78 MB / 272 MB, free: 12.17 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3231/0.4115, allocations: 66.09 MB / 338.1 MB, free: 7.824 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.4117, allocations: 75.14 kB / 338.2 MB, free: 7.781 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006814/0.4186, allocations: 1.76 MB / 339.9 MB, free: 6.262 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.3e-06/0.4186, allocations: 0 / 339.9 MB, free: 6.262 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.4186, allocations: 4 kB / 339.9 MB, free: 6.258 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.0004747/0.4191, allocations: 370.7 kB / 340.3 MB, free: 5.852 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.4192, allocations: 12.03 kB / 340.3 MB, free: 5.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.4193, allocations: 11.89 kB / 340.3 MB, free: 5.828 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.4195, allocations: 174.9 kB / 340.5 MB, free: 5.617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.4196, allocations: 10.52 kB / 340.5 MB, free: 5.609 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.4196, allocations: 6.688 kB / 340.5 MB, free: 5.605 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.4198, allocations: 83.38 kB / 340.6 MB, free: 5.539 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.4198, allocations: 10.52 kB / 340.6 MB, free: 5.531 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.4199, allocations: 2.938 kB / 340.6 MB, free: 5.531 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.013e-06/0.4199, allocations: 0 / 340.6 MB, free: 5.531 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.42, allocations: 61.8 kB / 340.7 MB, free: 5.488 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008107/0.4209, allocations: 397.2 kB / 341.1 MB, free: 5.098 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.4211, allocations: 74.23 kB / 341.1 MB, free: 5.031 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.4211, allocations: 0 / 341.1 MB, free: 5.031 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.4211, allocations: 30.56 kB / 341.2 MB, free: 4.992 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.821e-06/0.4211, allocations: 0 / 341.2 MB, free: 4.992 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.000272/0.4214, allocations: 98.28 kB / 341.3 MB, free: 4.906 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.4215, allocations: 54.59 kB / 341.3 MB, free: 4.844 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.4216, allocations: 108.4 kB / 341.4 MB, free: 4.734 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.4216, allocations: 25.7 kB / 341.4 MB, free: 4.703 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.4217, allocations: 169.8 kB / 341.6 MB, free: 4.539 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.4218, allocations: 31.17 kB / 341.6 MB, free: 4.512 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.879e-06/0.4218, allocations: 3.938 kB / 341.6 MB, free: 4.512 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.422, allocations: 318.8 kB / 341.9 MB, free: 4.191 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.16e-05/0.4221, allocations: 19.38 kB / 342 MB, free: 4.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.891e-05/0.4221, allocations: 44.25 kB / 342 MB, free: 4.137 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.287e-05/0.4222, allocations: 30 kB / 342 MB, free: 4.117 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.817e-06/0.4222, allocations: 0 / 342 MB, free: 4.117 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000222/0.4225, allocations: 108.2 kB / 342.1 MB, free: 4.027 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.4225, allocations: 4 kB / 342.1 MB, free: 4.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.582e-06/0.4225, allocations: 0 / 342.1 MB, free: 4.023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.4225, allocations: 4 kB / 342.2 MB, free: 4.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.4227, allocations: 23.94 kB / 342.2 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.4227, allocations: 3.984 kB / 342.2 MB, free: 3.992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.296e-05/0.4228, allocations: 18.34 kB / 342.2 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.4229, allocations: 4 kB / 342.2 MB, free: 3.973 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.0001178/0.423, allocations: 120.6 kB / 342.3 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.423, allocations: 4 kB / 342.3 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.608e-05/0.4231, allocations: 8.062 kB / 342.3 MB, free: 3.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.571e-06/0.4231, allocations: 0 / 342.3 MB, free: 3.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.246e-06/0.4231, allocations: 0 / 342.3 MB, free: 3.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.4231, allocations: 3.938 kB / 342.3 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.4234, allocations: 203.2 kB / 342.5 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.39e-06/0.4234, allocations: 4 kB / 342.5 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.4236, allocations: 19.98 kB / 342.6 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.459e-06/0.4236, allocations: 3.938 kB / 342.6 MB, free: 3.574 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.4236, allocations: 3.75 kB / 342.6 MB, free: 3.574 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.19e-06/0.4236, allocations: 0 / 342.6 MB, free: 3.574 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4236, allocations: 0 / 342.6 MB, free: 3.574 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.4239, allocations: 184.5 kB / 342.7 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.387e-05/0.424, allocations: 93.06 kB / 342.8 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.4241, allocations: 0 / 342.8 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.184e-05/0.4242, allocations: 7.375 kB / 342.8 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.4242, allocations: 7.984 kB / 342.8 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.552e-06/0.4242, allocations: 0 / 342.8 MB, free: 3.277 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.079e-05/0.4243, allocations: 83.22 kB / 342.9 MB, free: 3.199 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.36e-07/0.4243, allocations: 4 kB / 342.9 MB, free: 3.195 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003464/0.4246, allocations: 19.94 kB / 343 MB, free: 3.176 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.000143/0.4248, allocations: 114.2 kB / 343.1 MB, free: 3.059 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001681/0.425, allocations: 53.59 kB / 343.1 MB, free: 3.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.682e-06/0.425, allocations: 0 / 343.1 MB, free: 3.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.077e-05/0.4251, allocations: 22.12 kB / 343.1 MB, free: 3.004 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.4253, allocations: 6.422 kB / 343.1 MB, free: 3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008243/0.4261, allocations: 417.1 kB / 343.6 MB, free: 2.566 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.4265, allocations: 0.6926 MB / 344.2 MB, free: 1.848 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.4266, allocations: 11.44 kB / 344.3 MB, free: 1.836 MB / 266.7 MB Notification: Performance of SimCode: time 1.343e-06/0.4266, allocations: 4 kB / 344.3 MB, free: 1.832 MB / 266.7 MB Notification: Performance of Templates: time 0.002585/0.4292, allocations: 0.9329 MB / 345.2 MB, free: 0.9102 MB / 266.7 MB