Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadModel(Modelica): time 1.12/1.12, allocations: 111.1 MB / 127.3 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002565/0.0002567, allocations: 4 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05333/0.05361, allocations: 25.16 MB / 184 MB, free: 6.031 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2136/0.2672, allocations: 33.9 MB / 217.9 MB, free: 6.707 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.2675, allocations: 61.53 kB / 218 MB, free: 6.699 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02067/0.2882, allocations: 5.281 MB / 223.3 MB, free: 4.68 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.2883, allocations: 3.531 kB / 223.3 MB, free: 4.68 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.2883, allocations: 7.438 kB / 223.3 MB, free: 4.68 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001104/0.2894, allocations: 0.5495 MB / 223.8 MB, free: 4.207 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.2895, allocations: 7.688 kB / 223.8 MB, free: 4.207 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.109e-05/0.2896, allocations: 34.81 kB / 223.9 MB, free: 4.188 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.2897, allocations: 201.5 kB / 224.1 MB, free: 3.965 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.748e-05/0.2898, allocations: 23.47 kB / 224.1 MB, free: 3.961 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.427e-05/0.2898, allocations: 25.34 kB / 224.1 MB, free: 3.961 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007614/0.2906, allocations: 259.4 kB / 224.4 MB, free: 3.871 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.2907, allocations: 11.77 kB / 224.4 MB, free: 3.863 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.808e-05/0.2907, allocations: 10.5 kB / 224.4 MB, free: 3.863 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.2907, allocations: 7.531 kB / 224.4 MB, free: 3.863 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008428/0.2916, allocations: 245.3 kB / 224.6 MB, free: 3.816 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.2932, allocations: 0.76 MB / 225.4 MB, free: 3.371 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007894/0.294, allocations: 307.6 kB / 225.7 MB, free: 3.312 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.47e-05/0.2941, allocations: 15.73 kB / 225.7 MB, free: 3.301 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.2941, allocations: 37.62 kB / 225.8 MB, free: 3.262 MB / 170.7 MB Notification: Performance of pre-optimization done (n=35): time 2.835e-06/0.2941, allocations: 0 / 225.8 MB, free: 3.262 MB / 170.7 MB Notification: Performance of matching and sorting (n=55): time 0.006361/0.3005, allocations: 1.895 MB / 227.7 MB, free: 2.5 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.3006, allocations: 62.06 kB / 227.7 MB, free: 2.434 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.3008, allocations: 194.8 kB / 227.9 MB, free: 2.305 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.3009, allocations: 39.75 kB / 227.9 MB, free: 2.27 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.009e-05/0.301, allocations: 198.3 kB / 228.1 MB, free: 2.098 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.3011, allocations: 191.5 kB / 228.3 MB, free: 1.961 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.3011, allocations: 7.5 kB / 228.3 MB, free: 1.961 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 7.22e-05/0.3012, allocations: 333.3 kB / 228.7 MB, free: 1.641 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004867/0.3017, allocations: 158.6 kB / 228.8 MB, free: 1.617 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005023/0.3022, allocations: 158.5 kB / 229 MB, free: 1.59 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005149/0.3028, allocations: 176.8 kB / 229.1 MB, free: 1.574 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3028, allocations: 0 / 229.1 MB, free: 1.574 MB / 170.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001166/0.304, allocations: 445.8 kB / 229.6 MB, free: 1.484 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.304, allocations: 6.875 kB / 229.6 MB, free: 1.484 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.304, allocations: 0 / 229.6 MB, free: 1.484 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.304, allocations: 3.812 kB / 229.6 MB, free: 1.484 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007763/0.3048, allocations: 115.2 kB / 229.7 MB, free: 1.461 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.3049, allocations: 3.875 kB / 229.7 MB, free: 1.461 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.3052, allocations: 30.67 kB / 229.7 MB, free: 1.453 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/0.3053, allocations: 11.22 kB / 229.7 MB, free: 1.453 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0002069/0.3055, allocations: 165.8 kB / 229.9 MB, free: 1.324 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.71e-05/0.3056, allocations: 30.94 kB / 229.9 MB, free: 1.309 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.3057, allocations: 42.81 kB / 230 MB, free: 1.301 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.3057, allocations: 11.81 kB / 230 MB, free: 1.297 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.3057, allocations: 0 / 230 MB, free: 1.297 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.3058, allocations: 7.984 kB / 230 MB, free: 1.289 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/0.3084, allocations: 1.236 MB / 231.2 MB, free: 0.6055 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.3084, allocations: 3.781 kB / 231.2 MB, free: 0.6055 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008407/0.3093, allocations: 119.2 kB / 231.3 MB, free: 0.5312 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/0.3093, allocations: 11.94 kB / 231.4 MB, free: 0.5195 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/0.3094, allocations: 13.38 kB / 231.4 MB, free: 0.5117 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.185e-05/0.3094, allocations: 16.23 kB / 231.4 MB, free: 0.4961 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.3094, allocations: 11.95 kB / 231.4 MB, free: 496 kB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.3114, allocations: 0.834 MB / 232.2 MB, free: 15.77 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.3115, allocations: 112.1 kB / 232.3 MB, free: 15.64 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.817e-05/0.3116, allocations: 23 kB / 232.4 MB, free: 15.63 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004116/0.312, allocations: 30.67 kB / 232.4 MB, free: 15.61 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.3121, allocations: 46.03 kB / 232.4 MB, free: 15.57 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.613e-05/0.3122, allocations: 19.69 kB / 232.5 MB, free: 15.55 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001611/0.3124, allocations: 140.5 kB / 232.6 MB, free: 15.43 MB / 186.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3124, allocations: 0 / 232.6 MB, free: 15.43 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005368/0.3129, allocations: 85.12 kB / 232.7 MB, free: 15.36 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (springDamper2.s_rel,springDamper2.v_rel,elastoGap2.s_rel,elastoGap2.v_rel) * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 55 * 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.0001761/0.3131, allocations: 124.7 kB / 232.8 MB, free: 15.23 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.3144, allocations: 401.7 kB / 233.2 MB, free: 14.94 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3144, allocations: 0 / 233.2 MB, free: 14.94 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006738/0.3151, allocations: 242 kB / 233.4 MB, free: 14.75 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006885/0.3158, allocations: 63.95 kB / 233.5 MB, free: 14.7 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.3183, allocations: 1.165 MB / 234.7 MB, free: 13.54 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.3187, allocations: 0.7881 MB / 235.4 MB, free: 12.73 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.3189, allocations: 39.42 kB / 235.5 MB, free: 12.69 MB / 186.7 MB Notification: Performance of SimCode: time 1.333e-06/0.3189, allocations: 0 / 235.5 MB, free: 12.69 MB / 186.7 MB Notification: Performance of Templates: time 0.009493/0.3284, allocations: 4.036 MB / 239.5 MB, free: 8.711 MB / 186.7 MB