Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadModel(Modelica): time 1.003/1.003, allocations: 111.1 MB / 127.3 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002571/0.0002571, allocations: 12 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05315/0.05343, allocations: 25.15 MB / 184 MB, free: 6.035 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2068/0.2603, allocations: 33.66 MB / 217.7 MB, free: 6.734 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.2605, allocations: 66.44 kB / 217.8 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01185/0.2724, allocations: 3.337 MB / 221.1 MB, free: 5.34 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.123e-06/0.2725, allocations: 0 / 221.1 MB, free: 5.34 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.2725, allocations: 3.844 kB / 221.1 MB, free: 5.34 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006649/0.2732, allocations: 473.6 kB / 221.6 MB, free: 4.91 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.2732, allocations: 11.31 kB / 221.6 MB, free: 4.91 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.966e-05/0.2733, allocations: 27.27 kB / 221.6 MB, free: 4.895 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.2735, allocations: 190.5 kB / 221.8 MB, free: 4.676 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.2735, allocations: 14.25 kB / 221.8 MB, free: 4.676 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.313e-05/0.2736, allocations: 24.75 kB / 221.8 MB, free: 4.676 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004659/0.274, allocations: 230.5 kB / 222 MB, free: 4.566 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.2741, allocations: 7.656 kB / 222 MB, free: 4.562 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.2741, allocations: 7.219 kB / 222.1 MB, free: 4.562 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.2741, allocations: 3.781 kB / 222.1 MB, free: 4.562 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003362/0.2745, allocations: 138.9 kB / 222.2 MB, free: 4.535 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.2759, allocations: 0.8653 MB / 223.1 MB, free: 3.871 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.2762, allocations: 166.9 kB / 223.2 MB, free: 3.777 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.2762, allocations: 3.656 kB / 223.2 MB, free: 3.777 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.2762, allocations: 34.55 kB / 223.3 MB, free: 3.734 MB / 170.7 MB Notification: Performance of pre-optimization done (n=17): time 2.575e-06/0.2763, allocations: 1.312 kB / 223.3 MB, free: 3.734 MB / 170.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004716/0.2767, allocations: 168 kB / 223.4 MB, free: 3.676 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.2768, allocations: 110.6 kB / 223.5 MB, free: 3.547 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.277, allocations: 191.2 kB / 223.7 MB, free: 3.43 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.277, allocations: 25.7 kB / 223.7 MB, free: 3.398 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.434e-05/0.2771, allocations: 229 kB / 224 MB, free: 3.199 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.111e-05/0.2772, allocations: 62.39 kB / 224 MB, free: 3.156 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.411e-05/0.2772, allocations: 7.5 kB / 224 MB, free: 3.152 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.14e-05/0.2773, allocations: 326.3 kB / 224.4 MB, free: 2.832 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.2774, allocations: 48.72 kB / 224.4 MB, free: 2.82 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.2776, allocations: 149.2 kB / 224.6 MB, free: 2.684 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.2778, allocations: 70.09 kB / 224.6 MB, free: 2.676 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2778, allocations: 7.594 kB / 224.6 MB, free: 2.672 MB / 170.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004567/0.2783, allocations: 231.1 kB / 224.9 MB, free: 2.598 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.2783, allocations: 7.812 kB / 224.9 MB, free: 2.598 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.2783, allocations: 3.812 kB / 224.9 MB, free: 2.598 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.2784, allocations: 7.469 kB / 224.9 MB, free: 2.594 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.2787, allocations: 61.97 kB / 224.9 MB, free: 2.582 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.2788, allocations: 4.406 kB / 224.9 MB, free: 2.582 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.279, allocations: 35.62 kB / 225 MB, free: 2.559 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.279, allocations: 14.53 kB / 225 MB, free: 2.559 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * 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.0001255/0.2791, allocations: 143.2 kB / 225.1 MB, free: 2.434 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.454e-05/0.2792, allocations: 15.47 kB / 225.1 MB, free: 2.426 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.377e-05/0.2793, allocations: 25.2 kB / 225.2 MB, free: 2.418 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2793, allocations: 3.844 kB / 225.2 MB, free: 2.418 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.2793, allocations: 0 / 225.2 MB, free: 2.418 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.2793, allocations: 3.844 kB / 225.2 MB, free: 2.418 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005912/0.2799, allocations: 430.5 kB / 225.6 MB, free: 2.043 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.28, allocations: 0 / 225.6 MB, free: 2.043 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/0.2803, allocations: 39.86 kB / 225.6 MB, free: 2.035 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.2803, allocations: 0 / 225.6 MB, free: 2.035 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.2804, allocations: 6.094 kB / 225.6 MB, free: 2.035 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.2804, allocations: 4.625 kB / 225.6 MB, free: 2.035 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.2804, allocations: 3.938 kB / 225.6 MB, free: 2.031 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/0.2809, allocations: 379.2 kB / 226 MB, free: 1.766 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.2809, allocations: 97.3 kB / 226.1 MB, free: 1.66 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/0.281, allocations: 6.562 kB / 226.1 MB, free: 1.66 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.2812, allocations: 1.812 kB / 226.1 MB, free: 1.66 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.2812, allocations: 25.12 kB / 226.1 MB, free: 1.645 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.2813, allocations: 4.844 kB / 226.1 MB, free: 1.645 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001388/0.2814, allocations: 148.1 kB / 226.3 MB, free: 1.551 MB / 170.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.2814, allocations: 0 / 226.3 MB, free: 1.551 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0004588/0.2819, allocations: 53.44 kB / 226.3 MB, free: 1.543 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.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 (17): * Single equations (assignments): 17 * 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.0001221/0.282, allocations: 103.5 kB / 226.4 MB, free: 1.453 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0003609/0.2824, allocations: 143.7 kB / 226.6 MB, free: 1.422 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2824, allocations: 0 / 226.6 MB, free: 1.422 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.2826, allocations: 56.7 kB / 226.6 MB, free: 1.41 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.283, allocations: 34.31 kB / 226.7 MB, free: 1.398 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.2842, allocations: 0.7446 MB / 227.4 MB, free: 0.7969 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.2844, allocations: 0.7407 MB / 228.2 MB, free: 72 kB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.182e-05/0.2845, allocations: 18.81 kB / 228.2 MB, free: 68 kB / 170.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2845, allocations: 3.844 kB / 228.2 MB, free: 68 kB / 170.7 MB Notification: Performance of Templates: time 0.005301/0.2898, allocations: 2.208 MB / 230.4 MB, free: 14.96 MB / 186.7 MB