Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadModel(Modelica): time 0.9349/0.9349, allocations: 111.1 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002701/0.00027, allocations: 11.94 kB / 158.3 MB, free: 15.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04618/0.04647, allocations: 25.16 MB / 183.5 MB, free: 5.988 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1721/0.2186, allocations: 34.8 MB / 218.3 MB, free: 6.469 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001835/0.2188, allocations: 61.75 kB / 218.4 MB, free: 6.461 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01189/0.2307, allocations: 3.428 MB / 221.8 MB, free: 5.113 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.559e-06/0.2307, allocations: 3.844 kB / 221.8 MB, free: 5.113 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.2308, allocations: 7.844 kB / 221.8 MB, free: 5.109 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005393/0.2313, allocations: 485.7 kB / 222.3 MB, free: 4.672 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.2314, allocations: 7.844 kB / 222.3 MB, free: 4.672 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.863e-05/0.2314, allocations: 23.25 kB / 222.3 MB, free: 4.66 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.2317, allocations: 223.1 kB / 222.5 MB, free: 4.43 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.2317, allocations: 18.62 kB / 222.5 MB, free: 4.426 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.331e-05/0.2317, allocations: 23.09 kB / 222.6 MB, free: 4.422 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.2321, allocations: 204.1 kB / 222.8 MB, free: 4.34 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.2322, allocations: 5.328 kB / 222.8 MB, free: 4.336 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.2322, allocations: 14.23 kB / 222.8 MB, free: 4.332 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.841e-06/0.2322, allocations: 3.656 kB / 222.8 MB, free: 4.332 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.2325, allocations: 127.4 kB / 222.9 MB, free: 4.309 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009921/0.2336, allocations: 0.6926 MB / 223.6 MB, free: 3.82 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.2339, allocations: 144 kB / 223.7 MB, free: 3.777 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.2339, allocations: 3.844 kB / 223.7 MB, free: 3.777 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.2339, allocations: 33.94 kB / 223.8 MB, free: 3.738 MB / 170.7 MB Notification: Performance of pre-optimization done (n=19): time 2.288e-06/0.2339, allocations: 3.938 kB / 223.8 MB, free: 3.734 MB / 170.7 MB Notification: Performance of matching and sorting (n=23): time 0.001716/0.2357, allocations: 0.8802 MB / 224.7 MB, free: 3.184 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/0.2357, allocations: 59.25 kB / 224.7 MB, free: 3.117 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.2358, allocations: 157.2 kB / 224.9 MB, free: 3.004 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.2359, allocations: 32.77 kB / 224.9 MB, free: 2.973 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.236, allocations: 200.6 kB / 225.1 MB, free: 2.797 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.236, allocations: 75.47 kB / 225.2 MB, free: 2.738 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/0.236, allocations: 9.344 kB / 225.2 MB, free: 2.738 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.208e-05/0.2361, allocations: 317.2 kB / 225.5 MB, free: 2.422 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.2363, allocations: 59.56 kB / 225.5 MB, free: 2.41 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.2365, allocations: 91.83 kB / 225.6 MB, free: 2.363 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.2367, allocations: 73.14 kB / 225.7 MB, free: 2.352 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.332e-06/0.2367, allocations: 3.562 kB / 225.7 MB, free: 2.352 MB / 170.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005538/0.2372, allocations: 239.1 kB / 225.9 MB, free: 2.27 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2373, allocations: 3.719 kB / 225.9 MB, free: 2.27 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.977e-06/0.2373, allocations: 3.844 kB / 225.9 MB, free: 2.27 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001711/0.2375, allocations: 34.16 kB / 226 MB, free: 2.254 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.2377, allocations: 51.69 kB / 226 MB, free: 2.242 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.2389, allocations: 1.393 MB / 227.4 MB, free: 0.9297 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.239, allocations: 11.16 kB / 227.4 MB, free: 0.9297 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.2391, allocations: 3.875 kB / 227.4 MB, free: 0.9297 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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): 26 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.2392, allocations: 150.8 kB / 227.6 MB, free: 0.8008 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/0.2393, allocations: 15.47 kB / 227.6 MB, free: 0.793 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/0.2393, allocations: 25.92 kB / 227.6 MB, free: 0.7812 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.992e-06/0.2393, allocations: 7.906 kB / 227.6 MB, free: 0.7773 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.745e-06/0.2393, allocations: 0 / 227.6 MB, free: 0.7773 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.494e-06/0.2394, allocations: 3.984 kB / 227.6 MB, free: 0.7734 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.2404, allocations: 0.6416 MB / 228.3 MB, free: 336 kB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.934e-06/0.2404, allocations: 0 / 228.3 MB, free: 336 kB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000293/0.2408, allocations: 49.03 kB / 228.3 MB, free: 324 kB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001482/0.2409, allocations: 33.5 kB / 228.4 MB, free: 312 kB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.241, allocations: 7.25 kB / 228.4 MB, free: 308 kB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001397/0.2424, allocations: 1.388 MB / 229.8 MB, free: 14.99 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.53e-06/0.2424, allocations: 0 / 229.8 MB, free: 14.99 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000736/0.2431, allocations: 430.3 kB / 230.2 MB, free: 14.75 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.2433, allocations: 104.2 kB / 230.3 MB, free: 14.64 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.2433, allocations: 11.36 kB / 230.3 MB, free: 14.63 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.2435, allocations: 15.78 kB / 230.3 MB, free: 14.62 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.2436, allocations: 19.25 kB / 230.3 MB, free: 14.62 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.2436, allocations: 3.719 kB / 230.3 MB, free: 14.62 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.000126/0.2437, allocations: 129.2 kB / 230.5 MB, free: 14.53 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.14e-07/0.2437, allocations: 0 / 230.5 MB, free: 14.53 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.000426/0.2442, allocations: 55.91 kB / 230.5 MB, free: 14.53 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_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 (20): * Single equations (assignments): 19 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001457/0.2443, allocations: 113.4 kB / 230.6 MB, free: 14.43 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0006263/0.245, allocations: 285.9 kB / 230.9 MB, free: 14.29 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.245, allocations: 0 / 230.9 MB, free: 14.29 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.2454, allocations: 224.8 kB / 231.1 MB, free: 14.15 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.2458, allocations: 30.56 kB / 231.1 MB, free: 14.14 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.2472, allocations: 0.7955 MB / 231.9 MB, free: 13.52 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.2476, allocations: 0.7486 MB / 232.7 MB, free: 12.79 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.207e-05/0.2477, allocations: 25.95 kB / 232.7 MB, free: 12.78 MB / 186.7 MB Notification: Performance of SimCode: time 4.449e-06/0.2477, allocations: 0 / 232.7 MB, free: 12.78 MB / 186.7 MB Notification: Performance of Templates: time 0.006185/0.2539, allocations: 3.212 MB / 235.9 MB, free: 10.39 MB / 186.7 MB