Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.083/1.083, allocations: 111.2 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.717e-05/1.724e-05, allocations: 0 / 148.1 MB, free: 6.23 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04964/0.04969, allocations: 25.18 MB / 173.3 MB, free: 13.01 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1772/0.2269, allocations: 32.9 MB / 206.2 MB, free: 7.055 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001859/0.2271, allocations: 58.7 kB / 206.2 MB, free: 7.055 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01179/0.2389, allocations: 3.307 MB / 209.6 MB, free: 6.508 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.239, allocations: 0 / 209.6 MB, free: 6.508 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.239, allocations: 7.938 kB / 209.6 MB, free: 6.504 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.0005271/0.2395, allocations: 454.5 kB / 210 MB, free: 6.117 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.2396, allocations: 8.969 kB / 210 MB, free: 6.117 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.225e-05/0.2397, allocations: 32.12 kB / 210 MB, free: 6.098 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.2398, allocations: 189.7 kB / 210.2 MB, free: 5.883 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.2398, allocations: 11.78 kB / 210.2 MB, free: 5.879 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.2399, allocations: 12.72 kB / 210.3 MB, free: 5.879 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003028/0.2402, allocations: 111.5 kB / 210.4 MB, free: 5.879 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003656/0.2406, allocations: 191.1 kB / 210.6 MB, free: 5.805 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.2406, allocations: 4.812 kB / 210.6 MB, free: 5.805 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.2406, allocations: 0 / 210.6 MB, free: 5.805 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.2407, allocations: 10.33 kB / 210.6 MB, free: 5.801 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.2418, allocations: 0.8184 MB / 211.4 MB, free: 5.262 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.2421, allocations: 142.3 kB / 211.5 MB, free: 5.184 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.2422, allocations: 56.98 kB / 211.6 MB, free: 5.16 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.2422, allocations: 6.703 kB / 211.6 MB, free: 5.156 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.2423, allocations: 37.97 kB / 211.6 MB, free: 5.117 MB / 170.7 MB Notification: Performance of pre-optimization done (n=17): time 3.024e-06/0.2423, allocations: 4 kB / 211.6 MB, free: 5.113 MB / 170.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003619/0.2427, allocations: 120.1 kB / 211.7 MB, free: 5.066 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.2427, allocations: 108 kB / 211.9 MB, free: 4.941 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.2429, allocations: 144.8 kB / 212 MB, free: 4.844 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.2429, allocations: 28.55 kB / 212 MB, free: 4.812 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.068e-05/0.243, allocations: 230.9 kB / 212.2 MB, free: 4.617 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.243, allocations: 61.78 kB / 212.3 MB, free: 4.578 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.2431, allocations: 0 / 212.3 MB, free: 4.578 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.738e-05/0.2431, allocations: 332.2 kB / 212.6 MB, free: 4.258 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.2432, allocations: 40.31 kB / 212.7 MB, free: 4.258 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.2434, allocations: 148.7 kB / 212.8 MB, free: 4.121 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.2435, allocations: 64 kB / 212.9 MB, free: 4.113 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.2436, allocations: 1.125 kB / 212.9 MB, free: 4.113 MB / 170.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004091/0.244, allocations: 199.7 kB / 213.1 MB, free: 4.059 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.244, allocations: 7.219 kB / 213.1 MB, free: 4.059 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.884e-06/0.244, allocations: 7.188 kB / 213.1 MB, free: 4.055 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.2441, allocations: 6.594 kB / 213.1 MB, free: 4.055 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.2443, allocations: 57.03 kB / 213.1 MB, free: 4.051 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.2444, allocations: 10.38 kB / 213.2 MB, free: 4.047 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.2446, allocations: 23.19 kB / 213.2 MB, free: 4.031 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.2446, allocations: 13.25 kB / 213.2 MB, free: 4.031 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 () * 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 7.463e-05/0.2447, allocations: 115.3 kB / 213.3 MB, free: 3.914 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.2448, allocations: 15.31 kB / 213.3 MB, free: 3.906 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.759e-05/0.2449, allocations: 29.42 kB / 213.4 MB, free: 3.891 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.595e-06/0.2449, allocations: 2.5 kB / 213.4 MB, free: 3.891 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.864e-06/0.2449, allocations: 0 / 213.4 MB, free: 3.891 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.2449, allocations: 2.5 kB / 213.4 MB, free: 3.891 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005722/0.2455, allocations: 371.5 kB / 213.7 MB, free: 3.594 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.523e-06/0.2455, allocations: 8.422 kB / 213.7 MB, free: 3.59 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.2458, allocations: 38.28 kB / 213.8 MB, free: 3.586 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/0.2458, allocations: 10.5 kB / 213.8 MB, free: 3.578 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.2458, allocations: 2.594 kB / 213.8 MB, free: 3.578 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.2458, allocations: 1.188 kB / 213.8 MB, free: 3.578 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.091e-06/0.2459, allocations: 1.219 kB / 213.8 MB, free: 3.578 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004191/0.2463, allocations: 409.1 kB / 214.2 MB, free: 3.262 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.2464, allocations: 101.6 kB / 214.3 MB, free: 3.152 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.2464, allocations: 1.219 kB / 214.3 MB, free: 3.152 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.2466, allocations: 1.5 kB / 214.3 MB, free: 3.152 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.2466, allocations: 13.36 kB / 214.3 MB, free: 3.152 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.2467, allocations: 8 kB / 214.3 MB, free: 3.148 MB / 170.7 MB Notification: Performance of sorting global known variables: time 9.089e-05/0.2468, allocations: 120.1 kB / 214.4 MB, free: 3.07 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.6e-07/0.2468, allocations: 0 / 214.4 MB, free: 3.07 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.000542/0.2473, allocations: 48.69 kB / 214.5 MB, free: 3.062 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 () * 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.0001258/0.2475, allocations: 100.5 kB / 214.6 MB, free: 2.973 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0002858/0.2478, allocations: 120.2 kB / 214.7 MB, free: 2.965 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.133e-06/0.2478, allocations: 4.062 kB / 214.7 MB, free: 2.961 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 9.342e-05/0.2479, allocations: 51.34 kB / 214.7 MB, free: 2.953 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.2483, allocations: 21.25 kB / 214.8 MB, free: 2.949 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009277/0.2492, allocations: 0.502 MB / 215.3 MB, free: 2.586 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.2495, allocations: 0.7375 MB / 216 MB, free: 1.891 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.05e-05/0.2495, allocations: 18.31 kB / 216 MB, free: 1.887 MB / 170.7 MB Notification: Performance of SimCode: time 1.46e-06/0.2495, allocations: 0 / 216 MB, free: 1.887 MB / 170.7 MB Notification: Performance of Templates: time 0.004248/0.2538, allocations: 2.118 MB / 218.1 MB, free: 1.707 MB / 170.7 MB