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.PreLoad.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.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadModel(Modelica): time 0.9544/0.9544, allocations: 111.2 MB / 124.2 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.102e-05/2.116e-05, allocations: 0 / 154.3 MB, free: 13.15 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1351, allocations: 25.16 MB / 179.4 MB, free: 0.793 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05252/0.1877, allocations: 35.17 MB / 214.6 MB, free: 13.95 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.1879, allocations: 67.89 kB / 214.7 MB, free: 13.88 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03657/0.2245, allocations: 8.713 MB / 223.4 MB, free: 5.137 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.962e-06/0.2246, allocations: 0 / 223.4 MB, free: 5.137 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.396e-05/0.2246, allocations: 12 kB / 223.4 MB, free: 5.125 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001494/0.2261, allocations: 0.7015 MB / 224.1 MB, free: 4.379 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.2262, allocations: 8.031 kB / 224.1 MB, free: 4.371 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.2263, allocations: 59.34 kB / 224.2 MB, free: 4.312 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004674/0.2268, allocations: 281.4 kB / 224.4 MB, free: 4 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.534e-05/0.2269, allocations: 37 kB / 224.5 MB, free: 3.965 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.227, allocations: 47.98 kB / 224.5 MB, free: 3.918 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009544/0.228, allocations: 394.4 kB / 224.9 MB, free: 3.527 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/0.228, allocations: 7.906 kB / 224.9 MB, free: 3.52 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.073e-05/0.2281, allocations: 20 kB / 224.9 MB, free: 3.5 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.2281, allocations: 8 kB / 224.9 MB, free: 3.492 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009061/0.229, allocations: 343.9 kB / 225.3 MB, free: 3.156 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00323/0.2323, allocations: 1.355 MB / 226.6 MB, free: 1.738 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.2333, allocations: 448.7 kB / 227.1 MB, free: 1.293 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008196/0.2342, allocations: 315 kB / 227.4 MB, free: 0.9805 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.386e-05/0.2342, allocations: 16.55 kB / 227.4 MB, free: 0.9648 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.2343, allocations: 39.12 kB / 227.4 MB, free: 0.9141 MB / 186.7 MB Notification: Performance of pre-optimization done (n=62): time 3.481e-06/0.2343, allocations: 4 kB / 227.4 MB, free: 0.9102 MB / 186.7 MB Notification: Performance of matching and sorting (n=98): time 0.008131/0.2425, allocations: 2.671 MB / 230.1 MB, free: 14.15 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.2425, allocations: 64.19 kB / 230.2 MB, free: 14.07 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.2429, allocations: 211.1 kB / 230.4 MB, free: 13.86 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 7.096e-05/0.2429, allocations: 41.7 kB / 230.4 MB, free: 13.82 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.2431, allocations: 239.7 kB / 230.6 MB, free: 13.58 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003231/0.2435, allocations: 331.1 kB / 231 MB, free: 13.25 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/0.2435, allocations: 20 kB / 231 MB, free: 13.23 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.2437, allocations: 342.8 kB / 231.3 MB, free: 12.89 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005372/0.2443, allocations: 214 kB / 231.5 MB, free: 12.68 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006324/0.2449, allocations: 293.5 kB / 231.8 MB, free: 12.38 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006/0.2455, allocations: 240.9 kB / 232 MB, free: 12.15 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.245e-06/0.2456, allocations: 0 / 232 MB, free: 12.15 MB / 202.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001476/0.2471, allocations: 0.6455 MB / 232.7 MB, free: 11.5 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.2471, allocations: 8 kB / 232.7 MB, free: 11.49 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.423e-06/0.2471, allocations: 3.984 kB / 232.7 MB, free: 11.49 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.2471, allocations: 4 kB / 232.7 MB, free: 11.48 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.2482, allocations: 207.7 kB / 232.9 MB, free: 11.28 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.887e-05/0.2483, allocations: 8.062 kB / 232.9 MB, free: 11.27 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004725/0.2487, allocations: 63.89 kB / 233 MB, free: 11.21 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-05/0.2488, allocations: 31.94 kB / 233 MB, free: 11.18 MB / 202.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0002055/0.249, allocations: 152.6 kB / 233.2 MB, free: 11.02 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.2492, allocations: 55.44 kB / 233.2 MB, free: 10.97 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.2494, allocations: 69.27 kB / 233.3 MB, free: 10.9 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.2494, allocations: 8 kB / 233.3 MB, free: 10.89 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.671e-06/0.2494, allocations: 0 / 233.3 MB, free: 10.89 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.2494, allocations: 3.984 kB / 233.3 MB, free: 10.89 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003823/0.2533, allocations: 1.852 MB / 235.1 MB, free: 8.922 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.2533, allocations: 4.594 kB / 235.2 MB, free: 8.918 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.2544, allocations: 211.7 kB / 235.4 MB, free: 8.711 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-05/0.2545, allocations: 8 kB / 235.4 MB, free: 8.703 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.248e-05/0.2546, allocations: 27.98 kB / 235.4 MB, free: 8.676 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.495e-05/0.2546, allocations: 8 kB / 235.4 MB, free: 8.668 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.13e-05/0.2546, allocations: 11.94 kB / 235.4 MB, free: 8.656 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/0.2571, allocations: 1.409 MB / 236.8 MB, free: 7.055 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/0.2575, allocations: 168.5 kB / 237 MB, free: 6.871 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.954e-05/0.2576, allocations: 23.98 kB / 237 MB, free: 6.848 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005731/0.2582, allocations: 59.97 kB / 237.1 MB, free: 6.789 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.2583, allocations: 76.58 kB / 237.1 MB, free: 6.715 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/0.2584, allocations: 28 kB / 237.2 MB, free: 6.688 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.000227/0.2586, allocations: 171.1 kB / 237.3 MB, free: 6.523 MB / 202.7 MB Notification: Performance of sort global known variables: time 7.38e-07/0.2587, allocations: 4 kB / 237.3 MB, free: 6.52 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0007021/0.2594, allocations: 144 kB / 237.5 MB, free: 6.379 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 98 * 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.0002255/0.2596, allocations: 139 kB / 237.6 MB, free: 6.23 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.261, allocations: 0.599 MB / 238.2 MB, free: 5.629 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.261, allocations: 0 / 238.2 MB, free: 5.629 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008309/0.2618, allocations: 385.5 kB / 238.6 MB, free: 5.254 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007574/0.2626, allocations: 106 kB / 238.7 MB, free: 5.156 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.2654, allocations: 1.259 MB / 240 MB, free: 3.812 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006487/0.2661, allocations: 0.8769 MB / 240.8 MB, free: 2.906 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.2664, allocations: 67.34 kB / 240.9 MB, free: 2.844 MB / 202.7 MB Notification: Performance of SimCode: time 1.59e-06/0.2664, allocations: 0 / 240.9 MB, free: 2.844 MB / 202.7 MB Notification: Performance of Templates: time 0.1284/0.3948, allocations: 6.701 MB / 247.6 MB, free: 51.79 MB / 202.7 MB