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 2.095/2.095, allocations: 171.1 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004896/0.0004897, allocations: 8 kB / 233.8 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09144/0.09196, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4044/0.4964, allocations: 66.1 MB / 338.7 MB, free: 7.309 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004041/0.4969, allocations: 70.91 kB / 338.8 MB, free: 7.273 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01141/0.5083, allocations: 1.778 MB / 340.6 MB, free: 5.738 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.5084, allocations: 0 / 340.6 MB, free: 5.738 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.5084, allocations: 4 kB / 340.6 MB, free: 5.734 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.0006909/0.5091, allocations: 370.3 kB / 340.9 MB, free: 5.328 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.5092, allocations: 8.031 kB / 340.9 MB, free: 5.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/0.5095, allocations: 15.91 kB / 340.9 MB, free: 5.305 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.5097, allocations: 171 kB / 341.1 MB, free: 5.098 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.5098, allocations: 7.766 kB / 341.1 MB, free: 5.094 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.238e-05/0.5098, allocations: 11.31 kB / 341.1 MB, free: 5.086 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003259/0.5102, allocations: 82.7 kB / 341.2 MB, free: 5.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.5102, allocations: 2.406 kB / 341.2 MB, free: 5.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.5103, allocations: 7.562 kB / 341.2 MB, free: 5.016 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.5103, allocations: 0 / 341.2 MB, free: 5.016 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002514/0.5106, allocations: 54.36 kB / 341.3 MB, free: 4.977 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.5119, allocations: 401.7 kB / 341.7 MB, free: 4.582 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.5122, allocations: 75.42 kB / 341.7 MB, free: 4.516 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.5123, allocations: 0 / 341.7 MB, free: 4.516 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.5123, allocations: 37.69 kB / 341.8 MB, free: 4.473 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 3.046e-06/0.5124, allocations: 0 / 341.8 MB, free: 4.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004119/0.5128, allocations: 90.67 kB / 341.9 MB, free: 4.395 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.5129, allocations: 51.41 kB / 341.9 MB, free: 4.332 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.513, allocations: 105.7 kB / 342 MB, free: 4.223 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.5131, allocations: 25.7 kB / 342 MB, free: 4.191 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.5132, allocations: 103.1 kB / 342.1 MB, free: 4.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.735e-05/0.5133, allocations: 37.92 kB / 342.2 MB, free: 4.059 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/0.5133, allocations: 4 kB / 342.2 MB, free: 4.055 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.5135, allocations: 318.1 kB / 342.5 MB, free: 3.738 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.5137, allocations: 22.92 kB / 342.5 MB, free: 3.723 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.5138, allocations: 45 kB / 342.6 MB, free: 3.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.514, allocations: 27.42 kB / 342.6 MB, free: 3.664 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.514, allocations: 0 / 342.6 MB, free: 3.664 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003877/0.5144, allocations: 107 kB / 342.7 MB, free: 3.574 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.5145, allocations: 4 kB / 342.7 MB, free: 3.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.5145, allocations: 4 kB / 342.7 MB, free: 3.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.5146, allocations: 0 / 342.7 MB, free: 3.566 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.5149, allocations: 23.98 kB / 342.7 MB, free: 3.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.5149, allocations: 7.875 kB / 342.7 MB, free: 3.535 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.5151, allocations: 15.28 kB / 342.8 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.5152, allocations: 4 kB / 342.8 MB, free: 3.52 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.0001873/0.5154, allocations: 124.5 kB / 342.9 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.975e-05/0.5154, allocations: 4 kB / 342.9 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.137e-05/0.5155, allocations: 11.61 kB / 342.9 MB, free: 3.379 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.5155, allocations: 3.984 kB / 342.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.5156, allocations: 0 / 342.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.5156, allocations: 3.938 kB / 342.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/0.516, allocations: 195.2 kB / 343.1 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5161, allocations: 0 / 343.1 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000307/0.5164, allocations: 16.88 kB / 343.1 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.5164, allocations: 0 / 343.1 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.5165, allocations: 7.562 kB / 343.1 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.5165, allocations: 3.938 kB / 343.1 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.5165, allocations: 3.984 kB / 343.1 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004759/0.517, allocations: 189.2 kB / 343.3 MB, free: 2.938 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.405e-05/0.5171, allocations: 85.05 kB / 343.4 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.5171, allocations: 4.234 kB / 343.4 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.5173, allocations: 4 kB / 343.4 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.5174, allocations: 8.062 kB / 343.4 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.5174, allocations: 7.312 kB / 343.4 MB, free: 2.816 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001196/0.5175, allocations: 83.27 kB / 343.5 MB, free: 2.734 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.92e-07/0.5176, allocations: 0 / 343.5 MB, free: 2.734 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005658/0.5181, allocations: 31.22 kB / 343.5 MB, free: 2.707 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.0002022/0.5184, allocations: 106.8 kB / 343.6 MB, free: 2.598 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002769/0.5187, allocations: 50.05 kB / 343.7 MB, free: 2.562 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.5187, allocations: 4.125 kB / 343.7 MB, free: 2.559 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.398e-05/0.5188, allocations: 27.67 kB / 343.7 MB, free: 2.535 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.5192, allocations: 8.188 kB / 343.7 MB, free: 2.531 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.5206, allocations: 384 kB / 344.1 MB, free: 2.137 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.521, allocations: 0.6965 MB / 344.8 MB, free: 1.414 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.142e-05/0.5211, allocations: 7.953 kB / 344.8 MB, free: 1.406 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.563e-05/0.5212, allocations: 11.44 kB / 344.8 MB, free: 1.395 MB / 266.7 MB Notification: Performance of SimCode: time 1.383e-06/0.5212, allocations: 0 / 344.8 MB, free: 1.395 MB / 266.7 MB Notification: Performance of Templates: time 0.005591/0.5268, allocations: 0.5789 MB / 345.4 MB, free: 0.8281 MB / 266.7 MB