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.InitialConditions.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.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadModel(Modelica): time 1.546/1.546, allocations: 171.2 MB / 186.7 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003555, allocations: 12 kB / 233.2 MB, free: 0.9297 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06847/0.06885, allocations: 38.76 MB / 272 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2717/0.3406, allocations: 66.47 MB / 338.5 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.3409, allocations: 68.41 kB / 338.5 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01812/0.3591, allocations: 4.447 MB / 343 MB, free: 12.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.884e-06/0.3591, allocations: 2.297 kB / 343 MB, free: 12.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.136e-05/0.3591, allocations: 8 kB / 343 MB, free: 12.08 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.000878/0.36, allocations: 0.5185 MB / 343.5 MB, free: 11.51 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3601, allocations: 12.03 kB / 343.5 MB, free: 11.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.851e-05/0.3602, allocations: 31.72 kB / 343.6 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.3605, allocations: 239 kB / 343.8 MB, free: 11.19 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.3606, allocations: 24.52 kB / 343.8 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.439e-05/0.3606, allocations: 24 kB / 343.8 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005443/0.3612, allocations: 250.6 kB / 344.1 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.3612, allocations: 4 kB / 344.1 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.3613, allocations: 8 kB / 344.1 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.3613, allocations: 12 kB / 344.1 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004261/0.3617, allocations: 175.8 kB / 344.3 MB, free: 10.69 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.3631, allocations: 0.7575 MB / 345 MB, free: 9.879 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005836/0.3637, allocations: 278.4 kB / 345.3 MB, free: 9.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3637, allocations: 0 / 345.3 MB, free: 9.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.3638, allocations: 38.56 kB / 345.3 MB, free: 9.543 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.443e-06/0.3638, allocations: 0 / 345.3 MB, free: 9.543 MB / 282.7 MB Notification: Performance of matching and sorting (n=48): time 0.00371/0.3675, allocations: 1.712 MB / 347.1 MB, free: 7.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/0.3676, allocations: 81.11 kB / 347.1 MB, free: 7.562 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.3679, allocations: 165.5 kB / 347.3 MB, free: 7.395 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.3679, allocations: 33.7 kB / 347.3 MB, free: 7.355 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.3681, allocations: 191.2 kB / 347.5 MB, free: 7.164 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.3682, allocations: 177.4 kB / 347.7 MB, free: 6.988 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.3683, allocations: 12 kB / 347.7 MB, free: 6.977 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.3685, allocations: 326.8 kB / 348 MB, free: 6.648 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.3689, allocations: 105.1 kB / 348.1 MB, free: 6.547 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.3693, allocations: 149.5 kB / 348.3 MB, free: 6.383 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.3696, allocations: 126.3 kB / 348.4 MB, free: 6.262 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.243e-06/0.3696, allocations: 7.922 kB / 348.4 MB, free: 6.254 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007517/0.3704, allocations: 350.5 kB / 348.7 MB, free: 5.906 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3704, allocations: 8.062 kB / 348.8 MB, free: 5.898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.397e-06/0.3704, allocations: 0 / 348.8 MB, free: 5.898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.3705, allocations: 4 kB / 348.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/0.371, allocations: 99.89 kB / 348.9 MB, free: 5.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.371, allocations: 7.938 kB / 348.9 MB, free: 5.789 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.3712, allocations: 8 kB / 348.9 MB, free: 5.781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.3712, allocations: 12 kB / 348.9 MB, free: 5.77 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * 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.0002344/0.3714, allocations: 153.8 kB / 349 MB, free: 5.609 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.3716, allocations: 31.66 kB / 349.1 MB, free: 5.578 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.338e-05/0.3717, allocations: 45.88 kB / 349.1 MB, free: 5.535 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.277e-06/0.3717, allocations: 4 kB / 349.1 MB, free: 5.531 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.256e-06/0.3717, allocations: 0 / 349.1 MB, free: 5.531 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.3717, allocations: 3.984 kB / 349.1 MB, free: 5.527 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.3736, allocations: 0.9547 MB / 350.1 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.177e-06/0.3736, allocations: 0 / 350.1 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/0.3742, allocations: 99.83 kB / 350.2 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.3742, allocations: 4 kB / 350.2 MB, free: 4.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/0.3743, allocations: 15.95 kB / 350.2 MB, free: 4.395 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/0.3743, allocations: 7.984 kB / 350.2 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.191e-06/0.3743, allocations: 4.062 kB / 350.2 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.3754, allocations: 0.6678 MB / 350.9 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.3756, allocations: 108.8 kB / 351 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.918e-05/0.3756, allocations: 8 kB / 351 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.3759, allocations: 11.94 kB / 351 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.3759, allocations: 31.95 kB / 351 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.376, allocations: 11.94 kB / 351 MB, free: 3.484 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001529/0.3761, allocations: 132.3 kB / 351.2 MB, free: 3.355 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.69e-07/0.3762, allocations: 0 / 351.2 MB, free: 3.355 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005335/0.3767, allocations: 80 kB / 351.2 MB, free: 3.277 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_rel) * 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 (48): * Single equations (assignments): 48 * 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.0001786/0.3769, allocations: 119.2 kB / 351.4 MB, free: 3.148 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006515/0.3776, allocations: 287.6 kB / 351.6 MB, free: 2.867 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.361e-06/0.3776, allocations: 4 kB / 351.6 MB, free: 2.863 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002997/0.3779, allocations: 151 kB / 351.8 MB, free: 2.719 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005566/0.3785, allocations: 57.89 kB / 351.8 MB, free: 2.664 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.3807, allocations: 1.247 MB / 353.1 MB, free: 1.371 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005172/0.3812, allocations: 0.7806 MB / 353.9 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.3814, allocations: 31.44 kB / 353.9 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of SimCode: time 1.741e-06/0.3814, allocations: 0 / 353.9 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of Templates: time 0.007514/0.3889, allocations: 3.55 MB / 357.5 MB, free: 12.98 MB / 298.7 MB