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.InitialConditions.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.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadModel(Modelica): time 1.083/1.083, allocations: 111.1 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002851/0.0002851, allocations: 8 kB / 158.3 MB, free: 15.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04675/0.04706, allocations: 25.16 MB / 183.5 MB, free: 5.984 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1791/0.2262, allocations: 33.7 MB / 217.2 MB, free: 6.75 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.2265, allocations: 64.62 kB / 217.3 MB, free: 6.742 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01541/0.2419, allocations: 4.227 MB / 221.5 MB, free: 5.098 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.2419, allocations: 0 / 221.5 MB, free: 5.098 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.242, allocations: 7.5 kB / 221.5 MB, free: 5.098 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.0006434/0.2426, allocations: 0.5079 MB / 222 MB, free: 4.641 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2427, allocations: 7.688 kB / 222 MB, free: 4.641 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.793e-05/0.2428, allocations: 34.88 kB / 222 MB, free: 4.621 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.2429, allocations: 198.5 kB / 222.2 MB, free: 4.398 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.2429, allocations: 23 kB / 222.3 MB, free: 4.395 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.218e-05/0.243, allocations: 26.06 kB / 222.3 MB, free: 4.395 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.2434, allocations: 235.9 kB / 222.5 MB, free: 4.297 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.2435, allocations: 3.906 kB / 222.5 MB, free: 4.293 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.2435, allocations: 10.78 kB / 222.5 MB, free: 4.293 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.423e-06/0.2435, allocations: 3.844 kB / 222.5 MB, free: 4.293 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003656/0.2439, allocations: 154.9 kB / 222.7 MB, free: 4.266 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.2449, allocations: 0.7145 MB / 223.4 MB, free: 3.773 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004066/0.2454, allocations: 234.3 kB / 223.6 MB, free: 3.703 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.2454, allocations: 4 kB / 223.6 MB, free: 3.699 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.2454, allocations: 47.59 kB / 223.7 MB, free: 3.652 MB / 170.7 MB Notification: Performance of pre-optimization done (n=30): time 3.564e-06/0.2455, allocations: 0 / 223.7 MB, free: 3.652 MB / 170.7 MB Notification: Performance of matching and sorting (n=42): time 0.002986/0.2485, allocations: 1.611 MB / 225.3 MB, free: 2.629 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.2485, allocations: 92.72 kB / 225.4 MB, free: 2.527 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.2487, allocations: 155.9 kB / 225.5 MB, free: 2.418 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.2487, allocations: 33.17 kB / 225.6 MB, free: 2.387 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.2488, allocations: 197.9 kB / 225.8 MB, free: 2.215 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.905e-05/0.2489, allocations: 152 kB / 225.9 MB, free: 2.105 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.249, allocations: 7.75 kB / 225.9 MB, free: 2.105 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.039e-05/0.249, allocations: 330.4 kB / 226.2 MB, free: 1.785 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.2492, allocations: 89.12 kB / 226.3 MB, free: 1.777 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.2495, allocations: 142.8 kB / 226.5 MB, free: 1.727 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.2497, allocations: 106.8 kB / 226.6 MB, free: 1.727 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.2498, allocations: 3.688 kB / 226.6 MB, free: 1.727 MB / 170.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000605/0.2504, allocations: 323 kB / 226.9 MB, free: 1.652 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.2504, allocations: 3.719 kB / 226.9 MB, free: 1.652 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.515e-06/0.2504, allocations: 3.812 kB / 226.9 MB, free: 1.652 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.2504, allocations: 0 / 226.9 MB, free: 1.652 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.2509, allocations: 94.36 kB / 227 MB, free: 1.637 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.2509, allocations: 11.73 kB / 227 MB, free: 1.629 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.2511, allocations: 8.938 kB / 227 MB, free: 1.629 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.2512, allocations: 10.81 kB / 227 MB, free: 1.629 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (52): * Single equations (assignments): 52 * 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.000177/0.2513, allocations: 153.9 kB / 227.2 MB, free: 1.504 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.659e-05/0.2515, allocations: 26.59 kB / 227.2 MB, free: 1.492 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.096e-05/0.2515, allocations: 39.27 kB / 227.2 MB, free: 1.473 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.2516, allocations: 3.812 kB / 227.2 MB, free: 1.473 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.378e-06/0.2516, allocations: 7.812 kB / 227.2 MB, free: 1.469 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.609e-06/0.2516, allocations: 7.953 kB / 227.3 MB, free: 1.461 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.2531, allocations: 0.904 MB / 228.2 MB, free: 0.9297 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.929e-06/0.2531, allocations: 0 / 228.2 MB, free: 0.9297 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005885/0.2537, allocations: 88.3 kB / 228.2 MB, free: 0.9141 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/0.2538, allocations: 7.797 kB / 228.2 MB, free: 0.9102 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/0.2538, allocations: 10.94 kB / 228.3 MB, free: 0.9102 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/0.2538, allocations: 0 / 228.3 MB, free: 0.9102 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.052e-06/0.2538, allocations: 3.656 kB / 228.3 MB, free: 0.9102 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008342/0.2547, allocations: 0.6241 MB / 228.9 MB, free: 0.5664 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.259e-05/0.2548, allocations: 100.4 kB / 229 MB, free: 468 kB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.222e-05/0.2548, allocations: 11.38 kB / 229 MB, free: 468 kB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.2551, allocations: 3.375 kB / 229 MB, free: 468 kB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.2552, allocations: 35.17 kB / 229 MB, free: 452 kB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.2552, allocations: 10.94 kB / 229 MB, free: 452 kB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001125/0.2553, allocations: 130.9 kB / 229.2 MB, free: 364 kB / 170.7 MB Notification: Performance of sort global known variables: time 7.78e-07/0.2553, allocations: 0 / 229.2 MB, free: 364 kB / 170.7 MB Notification: Performance of remove unused functions: time 0.000528/0.2559, allocations: 72.3 kB / 229.2 MB, free: 360 kB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_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 (42): * Single equations (assignments): 42 * 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.0001407/0.256, allocations: 112.9 kB / 229.4 MB, free: 268 kB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0005093/0.2565, allocations: 262.9 kB / 229.6 MB, free: 228 kB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.2566, allocations: 0 / 229.6 MB, free: 228 kB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.2568, allocations: 135.5 kB / 229.7 MB, free: 204 kB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005869/0.2574, allocations: 57.59 kB / 229.8 MB, free: 184 kB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.2594, allocations: 1.179 MB / 231 MB, free: 15.27 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/0.26, allocations: 0.7792 MB / 231.8 MB, free: 14.53 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.2601, allocations: 25.97 kB / 231.8 MB, free: 14.52 MB / 186.7 MB Notification: Performance of SimCode: time 1.774e-06/0.2601, allocations: 0 / 231.8 MB, free: 14.52 MB / 186.7 MB Notification: Performance of Templates: time 0.006989/0.2671, allocations: 3.302 MB / 235.1 MB, free: 11.75 MB / 186.7 MB