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.ElastoGap.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.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 0.9703/0.9703, allocations: 111.2 MB / 124.2 MB, free: 11.14 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.133e-05/2.143e-05, allocations: 0 / 154.3 MB, free: 13.13 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1359, allocations: 25.14 MB / 179.4 MB, free: 0.8047 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05151/0.1875, allocations: 33.82 MB / 213.2 MB, free: 15.29 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.1877, allocations: 55.97 kB / 213.3 MB, free: 15.23 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02223/0.21, allocations: 5.294 MB / 218.6 MB, free: 9.918 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.21, allocations: 4 kB / 218.6 MB, free: 9.914 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.968e-05/0.21, allocations: 4 kB / 218.6 MB, free: 9.91 MB / 186.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.001028/0.2111, allocations: 0.5219 MB / 219.1 MB, free: 9.344 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.2111, allocations: 12.03 kB / 219.1 MB, free: 9.332 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.705e-05/0.2112, allocations: 31.62 kB / 219.2 MB, free: 9.301 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.2115, allocations: 202.6 kB / 219.4 MB, free: 9.062 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/0.2115, allocations: 16.56 kB / 219.4 MB, free: 9.047 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.192e-05/0.2116, allocations: 31.91 kB / 219.4 MB, free: 9.016 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005535/0.2122, allocations: 236.8 kB / 219.6 MB, free: 8.777 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.2122, allocations: 0 / 219.6 MB, free: 8.777 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/0.2123, allocations: 12 kB / 219.7 MB, free: 8.766 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.351e-06/0.2123, allocations: 8 kB / 219.7 MB, free: 8.758 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005057/0.2128, allocations: 194.2 kB / 219.9 MB, free: 8.566 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.2145, allocations: 0.7523 MB / 220.6 MB, free: 7.766 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006424/0.2151, allocations: 287.8 kB / 220.9 MB, free: 7.48 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.2155, allocations: 153.2 kB / 221 MB, free: 7.324 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.402e-05/0.2155, allocations: 4 kB / 221 MB, free: 7.32 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.2156, allocations: 38.55 kB / 221.1 MB, free: 7.273 MB / 186.7 MB Notification: Performance of pre-optimization done (n=35): time 2.667e-06/0.2156, allocations: 0 / 221.1 MB, free: 7.273 MB / 186.7 MB Notification: Performance of matching and sorting (n=55): time 0.00494/0.2205, allocations: 1.649 MB / 222.7 MB, free: 5.523 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.2206, allocations: 59.91 kB / 222.8 MB, free: 5.453 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.2209, allocations: 169.9 kB / 223 MB, free: 5.285 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/0.2209, allocations: 41.7 kB / 223 MB, free: 5.238 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.2211, allocations: 199.4 kB / 223.2 MB, free: 5.039 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.2213, allocations: 185.3 kB / 223.4 MB, free: 4.855 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.2213, allocations: 8 kB / 223.4 MB, free: 4.848 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.2215, allocations: 334.8 kB / 223.7 MB, free: 4.512 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/0.2218, allocations: 129.1 kB / 223.8 MB, free: 4.387 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.2222, allocations: 129.1 kB / 224 MB, free: 4.262 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.2226, allocations: 143.2 kB / 224.1 MB, free: 4.125 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.629e-06/0.2226, allocations: 0 / 224.1 MB, free: 4.125 MB / 186.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008756/0.2235, allocations: 390.8 kB / 224.5 MB, free: 3.734 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.2235, allocations: 4 kB / 224.5 MB, free: 3.73 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.2235, allocations: 4 kB / 224.5 MB, free: 3.727 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.2235, allocations: 0 / 224.5 MB, free: 3.727 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/0.2242, allocations: 115.8 kB / 224.6 MB, free: 3.613 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.2242, allocations: 4 kB / 224.6 MB, free: 3.609 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.2245, allocations: 31.97 kB / 224.6 MB, free: 3.578 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.2246, allocations: 16 kB / 224.6 MB, free: 3.562 MB / 186.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 () * 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.0001621/0.2248, allocations: 132.8 kB / 224.8 MB, free: 3.426 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.617e-05/0.2249, allocations: 27.72 kB / 224.8 MB, free: 3.398 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.225, allocations: 50.95 kB / 224.9 MB, free: 3.352 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.225, allocations: 8 kB / 224.9 MB, free: 3.344 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.552e-06/0.225, allocations: 0 / 224.9 MB, free: 3.344 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.57e-06/0.2251, allocations: 0 / 224.9 MB, free: 3.344 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/0.2275, allocations: 1.197 MB / 226.1 MB, free: 2.031 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.2276, allocations: 4 kB / 226.1 MB, free: 2.027 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006491/0.2282, allocations: 115.8 kB / 226.2 MB, free: 1.914 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.561e-05/0.2283, allocations: 8.562 kB / 226.2 MB, free: 1.906 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/0.2283, allocations: 19.98 kB / 226.2 MB, free: 1.887 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.395e-05/0.2284, allocations: 11.94 kB / 226.2 MB, free: 1.875 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.529e-06/0.2284, allocations: 7.953 kB / 226.2 MB, free: 1.867 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.2301, allocations: 0.9584 MB / 227.2 MB, free: 0.7266 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.2303, allocations: 112.7 kB / 227.3 MB, free: 0.5977 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.79e-05/0.2303, allocations: 16.03 kB / 227.3 MB, free: 0.582 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003755/0.2307, allocations: 27.98 kB / 227.3 MB, free: 0.5547 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.2308, allocations: 55.59 kB / 227.4 MB, free: 0.5 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/0.2309, allocations: 16 kB / 227.4 MB, free: 496 kB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001612/0.2311, allocations: 135 kB / 227.5 MB, free: 360 kB / 186.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.2311, allocations: 0 / 227.5 MB, free: 360 kB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005767/0.2317, allocations: 95.89 kB / 227.6 MB, free: 264 kB / 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 () * 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.0001869/0.2319, allocations: 111.2 kB / 227.7 MB, free: 144 kB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0008159/0.2327, allocations: 355.1 kB / 228.1 MB, free: 15.79 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.959e-06/0.2327, allocations: 3.938 kB / 228.1 MB, free: 15.79 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004574/0.2332, allocations: 200.5 kB / 228.3 MB, free: 15.59 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006201/0.2338, allocations: 73.69 kB / 228.4 MB, free: 15.52 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.2362, allocations: 0.8188 MB / 229.2 MB, free: 14.61 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.2367, allocations: 0.7883 MB / 230 MB, free: 13.8 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.2369, allocations: 35.42 kB / 230 MB, free: 13.77 MB / 202.7 MB Notification: Performance of SimCode: time 1.687e-06/0.2369, allocations: 0 / 230 MB, free: 13.77 MB / 202.7 MB Notification: Performance of Templates: time 0.008324/0.2453, allocations: 4.037 MB / 234 MB, free: 9.746 MB / 202.7 MB