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/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.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.9536/0.9536, allocations: 111.3 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.221e-05/1.228e-05, allocations: 0 / 148.1 MB, free: 6.238 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04683/0.04687, allocations: 25.18 MB / 173.3 MB, free: 13.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1966/0.2435, allocations: 34.04 MB / 207.3 MB, free: 6.711 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001652/0.2437, allocations: 62.08 kB / 207.4 MB, free: 6.711 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01224/0.256, allocations: 3.396 MB / 210.8 MB, free: 6.172 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.216e-06/0.256, allocations: 0 / 210.8 MB, free: 6.172 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.94e-05/0.2561, allocations: 4.281 kB / 210.8 MB, free: 6.172 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.0005296/0.2566, allocations: 463.3 kB / 211.2 MB, free: 5.773 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2567, allocations: 8.969 kB / 211.3 MB, free: 5.773 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.2567, allocations: 24.66 kB / 211.3 MB, free: 5.762 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.257, allocations: 228.9 kB / 211.5 MB, free: 5.539 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.257, allocations: 6.156 kB / 211.5 MB, free: 5.539 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.707e-05/0.2571, allocations: 15.8 kB / 211.5 MB, free: 5.539 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002594/0.2574, allocations: 92.08 kB / 211.6 MB, free: 5.539 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/0.2577, allocations: 166.7 kB / 211.8 MB, free: 5.488 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.2577, allocations: 9.141 kB / 211.8 MB, free: 5.484 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.2578, allocations: 3.938 kB / 211.8 MB, free: 5.48 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.2578, allocations: 5.188 kB / 211.8 MB, free: 5.48 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009825/0.2588, allocations: 0.6527 MB / 212.4 MB, free: 5.113 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.259, allocations: 121.1 kB / 212.6 MB, free: 5.09 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.2591, allocations: 52.67 kB / 212.6 MB, free: 5.082 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.2592, allocations: 5.562 kB / 212.6 MB, free: 5.078 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.2592, allocations: 35.62 kB / 212.7 MB, free: 5.039 MB / 170.7 MB Notification: Performance of pre-optimization done (n=19): time 2.684e-06/0.2592, allocations: 0 / 212.7 MB, free: 5.039 MB / 170.7 MB Notification: Performance of matching and sorting (n=23): time 0.001387/0.2606, allocations: 0.7431 MB / 213.4 MB, free: 4.539 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.87e-05/0.2606, allocations: 53.03 kB / 213.5 MB, free: 4.477 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.2608, allocations: 146.2 kB / 213.6 MB, free: 4.383 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.2608, allocations: 25.7 kB / 213.6 MB, free: 4.352 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/0.2609, allocations: 207.5 kB / 213.8 MB, free: 4.176 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.261, allocations: 86.72 kB / 213.9 MB, free: 4.117 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.261, allocations: 3.938 kB / 213.9 MB, free: 4.113 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.059e-05/0.261, allocations: 319.5 kB / 214.2 MB, free: 3.801 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.2612, allocations: 43.84 kB / 214.3 MB, free: 3.801 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.2613, allocations: 78.53 kB / 214.3 MB, free: 3.762 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.2614, allocations: 55.41 kB / 214.4 MB, free: 3.758 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.208e-06/0.2615, allocations: 1.594 kB / 214.4 MB, free: 3.758 MB / 170.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004391/0.2619, allocations: 197.9 kB / 214.6 MB, free: 3.699 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2619, allocations: 4.969 kB / 214.6 MB, free: 3.699 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.798e-06/0.262, allocations: 1.406 kB / 214.6 MB, free: 3.699 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001796/0.2621, allocations: 36.42 kB / 214.6 MB, free: 3.691 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.2624, allocations: 52.77 kB / 214.7 MB, free: 3.684 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.2635, allocations: 1.318 MB / 216 MB, free: 2.469 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.2636, allocations: 4.391 kB / 216 MB, free: 2.469 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.2637, allocations: 12 kB / 216 MB, free: 2.469 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 () * 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 7.388e-05/0.2638, allocations: 107.1 kB / 216.1 MB, free: 2.359 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.978e-05/0.2638, allocations: 21.02 kB / 216.1 MB, free: 2.348 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.025e-05/0.2639, allocations: 22.56 kB / 216.2 MB, free: 2.348 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.908e-06/0.2639, allocations: 2.469 kB / 216.2 MB, free: 2.348 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.822e-06/0.2639, allocations: 5.25 kB / 216.2 MB, free: 2.344 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.493e-06/0.2639, allocations: 4.062 kB / 216.2 MB, free: 2.34 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.2651, allocations: 0.568 MB / 216.7 MB, free: 18 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.2651, allocations: 3.938 kB / 216.7 MB, free: 18 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/0.2654, allocations: 47.5 kB / 216.8 MB, free: 17.99 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001496/0.2655, allocations: 32.27 kB / 216.8 MB, free: 17.98 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.2656, allocations: 5.062 kB / 216.8 MB, free: 17.98 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.2669, allocations: 1.331 MB / 218.2 MB, free: 16.77 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.716e-06/0.267, allocations: 1.375 kB / 218.2 MB, free: 16.77 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005538/0.2675, allocations: 383.5 kB / 218.5 MB, free: 16.56 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.2676, allocations: 102 kB / 218.6 MB, free: 16.46 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.2677, allocations: 3.875 kB / 218.6 MB, free: 16.46 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.2679, allocations: 3.969 kB / 218.6 MB, free: 16.46 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.2679, allocations: 14.5 kB / 218.7 MB, free: 16.46 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.268, allocations: 7.625 kB / 218.7 MB, free: 16.46 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.2681, allocations: 128 kB / 218.8 MB, free: 16.37 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.29e-07/0.2681, allocations: 0 / 218.8 MB, free: 16.37 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004376/0.2685, allocations: 45.84 kB / 218.8 MB, free: 16.37 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 () * 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.0001447/0.2687, allocations: 111.2 kB / 218.9 MB, free: 16.27 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004871/0.2692, allocations: 251.7 kB / 219.2 MB, free: 16.16 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.2692, allocations: 4.25 kB / 219.2 MB, free: 16.15 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003048/0.2695, allocations: 190.8 kB / 219.4 MB, free: 16.04 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.2699, allocations: 35.3 kB / 219.4 MB, free: 16.04 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009568/0.2709, allocations: 0.5343 MB / 220 MB, free: 15.66 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.2713, allocations: 0.7495 MB / 220.7 MB, free: 14.96 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.492e-05/0.2714, allocations: 22.81 kB / 220.7 MB, free: 14.95 MB / 186.7 MB Notification: Performance of SimCode: time 1.498e-06/0.2714, allocations: 0 / 220.7 MB, free: 14.95 MB / 186.7 MB Notification: Performance of Templates: time 0.005242/0.2767, allocations: 3.168 MB / 223.9 MB, free: 14.24 MB / 186.7 MB