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/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.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.113/1.113, allocations: 111.2 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.757e-05/1.766e-05, allocations: 4 kB / 148.1 MB, free: 6.223 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04602/0.04606, allocations: 25.17 MB / 173.3 MB, free: 13 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.2214, allocations: 32.94 MB / 206.2 MB, free: 7.023 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001859/0.2217, allocations: 58.95 kB / 206.3 MB, free: 7.023 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0173/0.239, allocations: 4.205 MB / 210.5 MB, free: 6.402 MB / 170.7 MB Notification: Performance of FrontEnd: time 3.124e-06/0.2391, allocations: 4 kB / 210.5 MB, free: 6.398 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.2391, allocations: 5.062 kB / 210.5 MB, free: 6.398 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.0006478/0.2397, allocations: 489.6 kB / 211 MB, free: 5.992 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.2398, allocations: 10.16 kB / 211 MB, free: 5.992 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.085e-05/0.2399, allocations: 32.12 kB / 211 MB, free: 5.977 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.24, allocations: 195.6 kB / 211.2 MB, free: 5.758 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.2401, allocations: 8 kB / 211.2 MB, free: 5.758 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.461e-05/0.2401, allocations: 21.17 kB / 211.2 MB, free: 5.754 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003788/0.2405, allocations: 133.7 kB / 211.4 MB, free: 5.754 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.2409, allocations: 200.4 kB / 211.6 MB, free: 5.691 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.241, allocations: 1.438 kB / 211.6 MB, free: 5.691 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.241, allocations: 1.406 kB / 211.6 MB, free: 5.691 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.241, allocations: 8.938 kB / 211.6 MB, free: 5.688 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.2421, allocations: 0.6703 MB / 212.3 MB, free: 5.32 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.2425, allocations: 214.1 kB / 212.5 MB, free: 5.266 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.2427, allocations: 86.55 kB / 212.5 MB, free: 5.25 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.2428, allocations: 3.719 kB / 212.5 MB, free: 5.25 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.2428, allocations: 42.22 kB / 212.6 MB, free: 5.207 MB / 170.7 MB Notification: Performance of pre-optimization done (n=30): time 3.395e-06/0.2428, allocations: 1.188 kB / 212.6 MB, free: 5.207 MB / 170.7 MB Notification: Performance of matching and sorting (n=42): time 0.002492/0.2453, allocations: 1.417 MB / 214 MB, free: 4.27 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.2454, allocations: 88.66 kB / 214.1 MB, free: 4.168 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.2456, allocations: 141.3 kB / 214.2 MB, free: 4.074 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.2456, allocations: 29.64 kB / 214.3 MB, free: 4.039 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.2457, allocations: 203.8 kB / 214.5 MB, free: 3.867 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.591e-05/0.2458, allocations: 148.6 kB / 214.6 MB, free: 3.77 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-05/0.2458, allocations: 0 / 214.6 MB, free: 3.77 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.2459, allocations: 325.8 kB / 214.9 MB, free: 3.457 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.2461, allocations: 80.84 kB / 215 MB, free: 3.457 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.2463, allocations: 132.2 kB / 215.1 MB, free: 3.418 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.2465, allocations: 102.3 kB / 215.2 MB, free: 3.414 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.104e-06/0.2466, allocations: 0 / 215.2 MB, free: 3.414 MB / 170.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005655/0.2471, allocations: 280.3 kB / 215.5 MB, free: 3.359 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.2472, allocations: 5.531 kB / 215.5 MB, free: 3.359 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/0.2472, allocations: 0 / 215.5 MB, free: 3.359 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.2472, allocations: 7.812 kB / 215.5 MB, free: 3.359 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004475/0.2477, allocations: 92.88 kB / 215.6 MB, free: 3.352 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.2477, allocations: 3.031 kB / 215.6 MB, free: 3.352 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.2479, allocations: 7.891 kB / 215.6 MB, free: 3.344 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.2479, allocations: 10.62 kB / 215.6 MB, free: 3.344 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 () * 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 9.215e-05/0.248, allocations: 114.1 kB / 215.7 MB, free: 3.234 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.2481, allocations: 24.75 kB / 215.8 MB, free: 3.223 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.307e-05/0.2482, allocations: 24.12 kB / 215.8 MB, free: 3.219 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.2483, allocations: 4.781 kB / 215.8 MB, free: 3.219 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.2483, allocations: 5.438 kB / 215.8 MB, free: 3.215 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.063e-06/0.2483, allocations: 7.562 kB / 215.8 MB, free: 3.211 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.2498, allocations: 0.8159 MB / 216.6 MB, free: 2.82 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.2499, allocations: 4 kB / 216.6 MB, free: 2.816 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008875/0.2508, allocations: 87.34 kB / 216.7 MB, free: 2.812 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.762e-05/0.2508, allocations: 3.875 kB / 216.7 MB, free: 2.812 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/0.2509, allocations: 3.688 kB / 216.7 MB, free: 2.812 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.956e-06/0.2509, allocations: 3.953 kB / 216.7 MB, free: 2.809 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.2509, allocations: 3.25 kB / 216.7 MB, free: 2.809 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008274/0.2518, allocations: 0.5875 MB / 217.3 MB, free: 2.5 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.111e-05/0.2519, allocations: 99.92 kB / 217.4 MB, free: 2.395 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.2519, allocations: 0 / 217.4 MB, free: 2.395 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.2522, allocations: 7.875 kB / 217.4 MB, free: 2.391 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.2522, allocations: 26 kB / 217.4 MB, free: 2.387 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.2523, allocations: 11.41 kB / 217.5 MB, free: 2.387 MB / 170.7 MB Notification: Performance of sorting global known variables: time 9.352e-05/0.2524, allocations: 112.8 kB / 217.6 MB, free: 2.312 MB / 170.7 MB Notification: Performance of sort global known variables: time 1.197e-06/0.2524, allocations: 0 / 217.6 MB, free: 2.312 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0006201/0.253, allocations: 56.72 kB / 217.6 MB, free: 2.312 MB / 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 () * 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.0001398/0.2532, allocations: 103.2 kB / 217.7 MB, free: 2.223 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0004658/0.2537, allocations: 228.5 kB / 217.9 MB, free: 2.211 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.392e-06/0.2537, allocations: 0 / 217.9 MB, free: 2.211 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.2539, allocations: 132.1 kB / 218.1 MB, free: 2.195 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.2545, allocations: 43.97 kB / 218.1 MB, free: 2.191 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.2563, allocations: 0.8615 MB / 219 MB, free: 1.602 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006036/0.257, allocations: 0.7737 MB / 219.8 MB, free: 16.9 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.2572, allocations: 26.75 kB / 219.8 MB, free: 16.89 MB / 186.7 MB Notification: Performance of SimCode: time 2.458e-06/0.2572, allocations: 0 / 219.8 MB, free: 16.89 MB / 186.7 MB Notification: Performance of Templates: time 0.009771/0.267, allocations: 3.241 MB / 223 MB, free: 16.13 MB / 186.7 MB