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 2.211/2.211, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.000488, allocations: 11.98 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1399, allocations: 44.5 MB / 309 MB, free: 368 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4306/0.5706, allocations: 71.4 MB / 380.4 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.5709, allocations: 73.61 kB / 380.5 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006899/0.5778, allocations: 1.76 MB / 382.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5779, allocations: 0 / 382.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.5779, allocations: 1.781 kB / 382.3 MB, free: 14.95 MB / 314.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.000411/0.5783, allocations: 370.2 kB / 382.6 MB, free: 14.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.5784, allocations: 8.938 kB / 382.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.5785, allocations: 15.09 kB / 382.7 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.5787, allocations: 175 kB / 382.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.5787, allocations: 6.375 kB / 382.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.5787, allocations: 12.28 kB / 382.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.579, allocations: 80.83 kB / 382.9 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.579, allocations: 0 / 382.9 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.579, allocations: 4.219 kB / 382.9 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.579, allocations: 6.109 kB / 382.9 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.5792, allocations: 54.78 kB / 383 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008066/0.58, allocations: 400.3 kB / 383.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.5802, allocations: 66.8 kB / 383.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.5802, allocations: 1.875 kB / 383.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.5803, allocations: 41.48 kB / 383.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 2.685e-06/0.5803, allocations: 0 / 383.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002716/0.5806, allocations: 88.14 kB / 383.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.5806, allocations: 56.84 kB / 383.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.903e-05/0.5807, allocations: 108.4 kB / 383.7 MB, free: 13.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.5807, allocations: 26.89 kB / 383.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.5808, allocations: 101.9 kB / 383.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.5808, allocations: 37.42 kB / 383.9 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/0.5808, allocations: 8.094 kB / 383.9 MB, free: 13.63 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.413e-05/0.5809, allocations: 317.3 kB / 384.2 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.416e-05/0.581, allocations: 21 kB / 384.2 MB, free: 13.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-05/0.5811, allocations: 43.75 kB / 384.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.218e-05/0.5812, allocations: 24.16 kB / 384.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5812, allocations: 3 kB / 384.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002225/0.5814, allocations: 111.7 kB / 384.4 MB, free: 13.24 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.5815, allocations: 6.281 kB / 384.4 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.5815, allocations: 1.969 kB / 384.4 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.5815, allocations: 1.406 kB / 384.4 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.5817, allocations: 21.89 kB / 384.5 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.5818, allocations: 6.312 kB / 384.5 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.5819, allocations: 13.52 kB / 384.5 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.5819, allocations: 6.406 kB / 384.5 MB, free: 13.23 MB / 314.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 9.236e-05/0.582, allocations: 121.2 kB / 384.6 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.5821, allocations: 7.656 kB / 384.6 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/0.5821, allocations: 10.16 kB / 384.6 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5821, allocations: 1.094 kB / 384.6 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5821, allocations: 1.219 kB / 384.6 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5821, allocations: 0 / 384.6 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.5824, allocations: 191.8 kB / 384.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.5824, allocations: 0 / 384.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.5826, allocations: 17.47 kB / 384.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.5826, allocations: 5.234 kB / 384.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.5826, allocations: 4 kB / 384.8 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.5826, allocations: 1.875 kB / 384.8 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5826, allocations: 1.922 kB / 384.8 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.5829, allocations: 205 kB / 385 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.804e-05/0.583, allocations: 78.98 kB / 385.1 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.583, allocations: 2.438 kB / 385.1 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-05/0.5831, allocations: 7.047 kB / 385.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/0.5831, allocations: 9.719 kB / 385.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-06/0.5831, allocations: 7.203 kB / 385.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.652e-05/0.5832, allocations: 84.53 kB / 385.2 MB, free: 12.58 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5832, allocations: 0 / 385.2 MB, free: 12.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003371/0.5835, allocations: 24.62 kB / 385.2 MB, free: 12.58 MB / 314.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.0001191/0.5837, allocations: 99.84 kB / 385.3 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.5839, allocations: 56.25 kB / 385.4 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.5839, allocations: 3.188 kB / 385.4 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.246e-05/0.584, allocations: 32.45 kB / 385.4 MB, free: 12.47 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.5842, allocations: 9.922 kB / 385.4 MB, free: 12.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000808/0.585, allocations: 378.1 kB / 385.8 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.5852, allocations: 0.6959 MB / 386.5 MB, free: 11.51 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.986e-05/0.5853, allocations: 5.375 kB / 386.5 MB, free: 11.51 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.5853, allocations: 11.56 kB / 386.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5853, allocations: 3.938 kB / 386.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of Templates: time 0.003514/0.5889, allocations: 0.5722 MB / 387.1 MB, free: 11.44 MB / 314.7 MB