Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.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.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadModel(Modelica): time 1.7/1.7, allocations: 171.1 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003564, allocations: 8 kB / 233.2 MB, free: 3.008 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06954/0.06992, allocations: 38.77 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.282/0.352, allocations: 65.97 MB / 338 MB, free: 7.969 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.3522, allocations: 72.08 kB / 338 MB, free: 7.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01116/0.3634, allocations: 2.846 MB / 340.9 MB, free: 5.523 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3634, allocations: 0 / 340.9 MB, free: 5.523 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.945e-05/0.3635, allocations: 8 kB / 340.9 MB, free: 5.516 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006227/0.3641, allocations: 441 kB / 341.3 MB, free: 5.047 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3642, allocations: 8.031 kB / 341.3 MB, free: 5.039 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.25e-05/0.3642, allocations: 27.28 kB / 341.4 MB, free: 5.016 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.3645, allocations: 197.1 kB / 341.6 MB, free: 4.789 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.3645, allocations: 15.5 kB / 341.6 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.812e-05/0.3646, allocations: 22.59 kB / 341.6 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003791/0.365, allocations: 181.5 kB / 341.8 MB, free: 4.617 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.365, allocations: 11.98 kB / 341.8 MB, free: 4.605 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.3651, allocations: 9.891 kB / 341.8 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.83e-06/0.3651, allocations: 8 kB / 341.8 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002407/0.3653, allocations: 102.4 kB / 341.9 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.3668, allocations: 0.78 MB / 342.7 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.3671, allocations: 118 kB / 342.8 MB, free: 3.637 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.3671, allocations: 0 / 342.8 MB, free: 3.637 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.3672, allocations: 41.69 kB / 342.8 MB, free: 3.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.085e-06/0.3672, allocations: 0 / 342.8 MB, free: 3.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004125/0.3676, allocations: 135.5 kB / 343 MB, free: 3.477 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.3677, allocations: 106.8 kB / 343.1 MB, free: 3.348 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.368, allocations: 185.4 kB / 343.3 MB, free: 3.184 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.368, allocations: 36.33 kB / 343.3 MB, free: 3.145 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.3681, allocations: 190 kB / 343.5 MB, free: 2.969 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.105e-05/0.3682, allocations: 62.48 kB / 343.5 MB, free: 2.914 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.3682, allocations: 3.875 kB / 343.5 MB, free: 2.914 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3684, allocations: 326.4 kB / 343.9 MB, free: 2.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.85e-05/0.3685, allocations: 38.33 kB / 343.9 MB, free: 2.562 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.3687, allocations: 131.7 kB / 344 MB, free: 2.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.3689, allocations: 53.06 kB / 344.1 MB, free: 2.379 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.273e-06/0.3689, allocations: 4 kB / 344.1 MB, free: 2.375 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004368/0.3693, allocations: 203.3 kB / 344.3 MB, free: 2.211 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3693, allocations: 7.938 kB / 344.3 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.891e-06/0.3694, allocations: 4 kB / 344.3 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.3694, allocations: 8 kB / 344.3 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.3696, allocations: 43.92 kB / 344.3 MB, free: 2.148 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.3697, allocations: 7.984 kB / 344.3 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.3698, allocations: 27 kB / 344.4 MB, free: 2.117 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.3699, allocations: 11.25 kB / 344.4 MB, free: 2.109 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (27): * Single equations (assignments): 27 * 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.0001557/0.37, allocations: 134.4 kB / 344.5 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.3702, allocations: 23.84 kB / 344.5 MB, free: 1.957 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/0.3702, allocations: 23.11 kB / 344.6 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3702, allocations: 3.938 kB / 344.6 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.925e-06/0.3703, allocations: 4 kB / 344.6 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.455e-06/0.3703, allocations: 0 / 344.6 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006048/0.3709, allocations: 245.7 kB / 344.8 MB, free: 1.668 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.258e-06/0.3709, allocations: 0 / 344.8 MB, free: 1.668 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.3711, allocations: 31.98 kB / 344.8 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.417e-06/0.3711, allocations: 0 / 344.8 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.3712, allocations: 2.875 kB / 344.8 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.594e-06/0.3712, allocations: 4 kB / 344.8 MB, free: 1.633 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.3712, allocations: 4 kB / 344.9 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004746/0.3717, allocations: 413.6 kB / 345.3 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.192e-05/0.3718, allocations: 104.3 kB / 345.4 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.3718, allocations: 0 / 345.4 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.3721, allocations: 15.5 kB / 345.4 MB, free: 1.102 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.3721, allocations: 7.984 kB / 345.4 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.3721, allocations: 7.953 kB / 345.4 MB, free: 1.086 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001875/0.3723, allocations: 155.7 kB / 345.5 MB, free: 0.957 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.79e-07/0.3723, allocations: 0 / 345.5 MB, free: 0.957 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005352/0.3729, allocations: 46.94 kB / 345.6 MB, free: 0.918 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * 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 (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 Backend phase and start with SimCode phase: time 0.0001511/0.3731, allocations: 103.3 kB / 345.7 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002747/0.3734, allocations: 112.9 kB / 345.8 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3734, allocations: 0 / 345.8 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.373e-05/0.3735, allocations: 43.48 kB / 345.8 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.3739, allocations: 22.66 kB / 345.9 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.3754, allocations: 0.7964 MB / 346.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.3758, allocations: 0.7323 MB / 347.4 MB, free: 15.1 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.047e-05/0.3759, allocations: 15.44 kB / 347.4 MB, free: 15.08 MB / 282.7 MB Notification: Performance of SimCode: time 1.628e-06/0.3759, allocations: 4 kB / 347.4 MB, free: 15.08 MB / 282.7 MB Notification: Performance of Templates: time 0.004519/0.3804, allocations: 1.949 MB / 349.4 MB, free: 13.15 MB / 282.7 MB