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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 0.9437/0.9437, allocations: 111.2 MB / 124.2 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.851e-05/3.892e-05, allocations: 4 kB / 154.3 MB, free: 13.2 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.167, allocations: 25.15 MB / 179.4 MB, free: 0.8008 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05055/0.2176, allocations: 33.57 MB / 213 MB, free: 15.55 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.2179, allocations: 59.97 kB / 213.1 MB, free: 15.49 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01302/0.2309, allocations: 3.349 MB / 216.4 MB, free: 12.13 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.231, allocations: 0 / 216.4 MB, free: 12.13 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.231, allocations: 4 kB / 216.4 MB, free: 12.12 MB / 186.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.0006751/0.2317, allocations: 458.5 kB / 216.9 MB, free: 11.63 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.2317, allocations: 8.031 kB / 216.9 MB, free: 11.62 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.891e-05/0.2318, allocations: 23.77 kB / 216.9 MB, free: 11.6 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.232, allocations: 195.7 kB / 217.1 MB, free: 11.37 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.2321, allocations: 20.5 kB / 217.1 MB, free: 11.35 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.317e-05/0.2321, allocations: 20 kB / 217.1 MB, free: 11.33 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004885/0.2326, allocations: 220.4 kB / 217.3 MB, free: 11.1 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.2327, allocations: 0 / 217.3 MB, free: 11.1 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.2327, allocations: 12 kB / 217.3 MB, free: 11.09 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.2327, allocations: 4 kB / 217.4 MB, free: 11.08 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003357/0.2331, allocations: 139.8 kB / 217.5 MB, free: 10.95 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.2346, allocations: 0.8632 MB / 218.4 MB, free: 10.02 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.235, allocations: 159.8 kB / 218.5 MB, free: 9.836 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.2351, allocations: 58.58 kB / 218.6 MB, free: 9.77 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.2351, allocations: 0 / 218.6 MB, free: 9.77 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.2352, allocations: 46.5 kB / 218.6 MB, free: 9.715 MB / 186.7 MB Notification: Performance of pre-optimization done (n=17): time 2.224e-06/0.2352, allocations: 0 / 218.6 MB, free: 9.715 MB / 186.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004063/0.2356, allocations: 133.7 kB / 218.7 MB, free: 9.578 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/0.2357, allocations: 106.8 kB / 218.8 MB, free: 9.449 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.2359, allocations: 171.4 kB / 219 MB, free: 9.273 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.236, allocations: 25.7 kB / 219 MB, free: 9.242 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.2361, allocations: 222.2 kB / 219.3 MB, free: 9.023 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 7e-05/0.2362, allocations: 67.08 kB / 219.3 MB, free: 8.957 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.432e-05/0.2363, allocations: 12 kB / 219.3 MB, free: 8.945 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.2364, allocations: 322.8 kB / 219.6 MB, free: 8.617 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.2366, allocations: 48.56 kB / 219.7 MB, free: 8.566 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.2368, allocations: 154.7 kB / 219.8 MB, free: 8.367 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.237, allocations: 67.92 kB / 219.9 MB, free: 8.301 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.064e-06/0.237, allocations: 3.938 kB / 219.9 MB, free: 8.297 MB / 186.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005195/0.2376, allocations: 233.6 kB / 220.1 MB, free: 8.062 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2376, allocations: 6.188 kB / 220.1 MB, free: 8.059 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.2376, allocations: 4 kB / 220.2 MB, free: 8.055 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.2376, allocations: 11.94 kB / 220.2 MB, free: 8.043 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/0.2379, allocations: 55.91 kB / 220.2 MB, free: 7.988 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-05/0.238, allocations: 20 kB / 220.2 MB, free: 7.969 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.2382, allocations: 23.75 kB / 220.3 MB, free: 7.945 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.2382, allocations: 16.31 kB / 220.3 MB, free: 7.93 MB / 186.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 0.0001158/0.2383, allocations: 131.7 kB / 220.4 MB, free: 7.797 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.2385, allocations: 19.72 kB / 220.4 MB, free: 7.777 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.227e-05/0.2385, allocations: 25.52 kB / 220.5 MB, free: 7.746 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.515e-06/0.2386, allocations: 4 kB / 220.5 MB, free: 7.742 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.806e-06/0.2386, allocations: 0 / 220.5 MB, free: 7.742 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.855e-06/0.2386, allocations: 0 / 220.5 MB, free: 7.742 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007509/0.2394, allocations: 424.8 kB / 220.9 MB, free: 7.262 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.2394, allocations: 4 kB / 220.9 MB, free: 7.258 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.2397, allocations: 35.92 kB / 220.9 MB, free: 7.223 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.2397, allocations: 4 kB / 220.9 MB, free: 7.219 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.2397, allocations: 8 kB / 220.9 MB, free: 7.211 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.422e-06/0.2397, allocations: 0 / 220.9 MB, free: 7.211 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.351e-06/0.2398, allocations: 0 / 220.9 MB, free: 7.211 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005697/0.2403, allocations: 424.3 kB / 221.3 MB, free: 6.742 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-05/0.2404, allocations: 92.92 kB / 221.4 MB, free: 6.633 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.2405, allocations: 4 kB / 221.4 MB, free: 6.629 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.2407, allocations: 8 kB / 221.4 MB, free: 6.621 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.2407, allocations: 12.03 kB / 221.4 MB, free: 6.609 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.2408, allocations: 4 kB / 221.5 MB, free: 6.605 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001683/0.2409, allocations: 147.3 kB / 221.6 MB, free: 6.461 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.27e-07/0.241, allocations: 0 / 221.6 MB, free: 6.461 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004905/0.2415, allocations: 55.84 kB / 221.7 MB, free: 6.406 MB / 186.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.0001509/0.2416, allocations: 107.2 kB / 221.8 MB, free: 6.293 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003419/0.242, allocations: 131.8 kB / 221.9 MB, free: 6.164 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 7.021e-06/0.242, allocations: 4 kB / 221.9 MB, free: 6.16 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.2421, allocations: 47.94 kB / 221.9 MB, free: 6.113 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.2425, allocations: 35.86 kB / 222 MB, free: 6.082 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.2436, allocations: 0.5201 MB / 222.5 MB, free: 5.523 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/0.2441, allocations: 0.7402 MB / 223.2 MB, free: 4.758 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.396e-05/0.2442, allocations: 23.42 kB / 223.3 MB, free: 4.738 MB / 186.7 MB Notification: Performance of SimCode: time 1.402e-06/0.2442, allocations: 0 / 223.3 MB, free: 4.738 MB / 186.7 MB Notification: Performance of Templates: time 0.00485/0.2491, allocations: 2.196 MB / 225.5 MB, free: 2.539 MB / 186.7 MB