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/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.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 1.122/1.122, allocations: 111.2 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.112e-05/2.124e-05, allocations: 4 kB / 148.1 MB, free: 6.23 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04602/0.04607, allocations: 25.18 MB / 173.3 MB, free: 13.01 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1752/0.2213, allocations: 34.5 MB / 207.8 MB, free: 6.969 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.2215, allocations: 62.77 kB / 207.8 MB, free: 6.969 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03699/0.2585, allocations: 8.638 MB / 216.5 MB, free: 5.871 MB / 170.7 MB Notification: Performance of FrontEnd: time 4.248e-06/0.2586, allocations: 0 / 216.5 MB, free: 5.871 MB / 170.7 MB Notification: Performance of Transformations before backend: time 3.677e-05/0.2587, allocations: 11.41 kB / 216.5 MB, free: 5.871 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002672/0.2614, allocations: 0.7118 MB / 217.2 MB, free: 5.336 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.817e-05/0.2615, allocations: 9.844 kB / 217.2 MB, free: 5.336 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002632/0.2618, allocations: 61.52 kB / 217.3 MB, free: 5.301 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007849/0.2626, allocations: 285.2 kB / 217.6 MB, free: 5.047 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.824e-05/0.2627, allocations: 14.91 kB / 217.6 MB, free: 5.047 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.2629, allocations: 26.28 kB / 217.6 MB, free: 5.047 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001734/0.2646, allocations: 339 kB / 217.9 MB, free: 5.004 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.2662, allocations: 326.1 kB / 218.2 MB, free: 4.91 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.872e-05/0.2663, allocations: 3.656 kB / 218.2 MB, free: 4.91 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.2665, allocations: 0 / 218.2 MB, free: 4.91 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.2665, allocations: 10.94 kB / 218.3 MB, free: 4.91 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005633/0.2722, allocations: 1.263 MB / 219.5 MB, free: 4.309 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.2739, allocations: 426.3 kB / 219.9 MB, free: 4.266 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001402/0.2753, allocations: 296.7 kB / 220.2 MB, free: 4.227 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.888e-05/0.2755, allocations: 12.27 kB / 220.2 MB, free: 4.223 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.2755, allocations: 42.78 kB / 220.3 MB, free: 4.18 MB / 170.7 MB Notification: Performance of pre-optimization done (n=62): time 7.512e-06/0.2756, allocations: 0 / 220.3 MB, free: 4.18 MB / 170.7 MB Notification: Performance of matching and sorting (n=98): time 0.01804/0.2936, allocations: 2.139 MB / 222.4 MB, free: 3.32 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.2937, allocations: 63.88 kB / 222.5 MB, free: 3.258 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004178/0.2942, allocations: 186.5 kB / 222.7 MB, free: 3.148 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 9.597e-05/0.2943, allocations: 29.64 kB / 222.7 MB, free: 3.113 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.2945, allocations: 251.2 kB / 222.9 MB, free: 2.914 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004327/0.295, allocations: 318 kB / 223.2 MB, free: 2.672 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.029e-05/0.2951, allocations: 0 / 223.2 MB, free: 2.672 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.2952, allocations: 352.9 kB / 223.6 MB, free: 2.34 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009841/0.2962, allocations: 199.3 kB / 223.8 MB, free: 2.336 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.2974, allocations: 264.8 kB / 224 MB, free: 2.285 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.2985, allocations: 229.3 kB / 224.3 MB, free: 2.254 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.075e-06/0.2986, allocations: 0 / 224.3 MB, free: 2.254 MB / 170.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002645/0.3012, allocations: 0.5864 MB / 224.9 MB, free: 2.133 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.3013, allocations: 7.938 kB / 224.9 MB, free: 2.129 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.3013, allocations: 0 / 224.9 MB, free: 2.129 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.965e-05/0.3014, allocations: 3.875 kB / 224.9 MB, free: 2.129 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01424/0.3156, allocations: 213.6 kB / 225.1 MB, free: 2.086 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.496e-05/0.3157, allocations: 3.875 kB / 225.1 MB, free: 2.086 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.3168, allocations: 46.58 kB / 225.1 MB, free: 2.07 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.317, allocations: 26.5 kB / 225.2 MB, free: 2.07 MB / 170.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.0003085/0.3173, allocations: 116.8 kB / 225.3 MB, free: 1.949 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002769/0.3176, allocations: 50.56 kB / 225.3 MB, free: 1.926 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.318, allocations: 60.92 kB / 225.4 MB, free: 1.906 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/0.318, allocations: 7.219 kB / 225.4 MB, free: 1.906 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/0.3181, allocations: 0 / 225.4 MB, free: 1.906 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.556e-05/0.3181, allocations: 7.859 kB / 225.4 MB, free: 1.902 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.3289, allocations: 1.692 MB / 227.1 MB, free: 1.113 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.34e-05/0.329, allocations: 7.844 kB / 227.1 MB, free: 1.109 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00222/0.3312, allocations: 211.9 kB / 227.3 MB, free: 1.062 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.261e-05/0.3313, allocations: 7.875 kB / 227.3 MB, free: 1.062 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.3314, allocations: 11.73 kB / 227.3 MB, free: 1.059 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-05/0.3315, allocations: 15.53 kB / 227.3 MB, free: 1.055 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.357e-05/0.3315, allocations: 3.906 kB / 227.3 MB, free: 1.055 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006497/0.338, allocations: 1.336 MB / 228.7 MB, free: 320 kB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004696/0.3386, allocations: 168.8 kB / 228.8 MB, free: 180 kB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.3387, allocations: 11.75 kB / 228.8 MB, free: 176 kB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008068/0.3395, allocations: 50.45 kB / 228.9 MB, free: 160 kB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.3397, allocations: 71.22 kB / 229 MB, free: 124 kB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.3398, allocations: 34.08 kB / 229 MB, free: 120 kB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0002269/0.3401, allocations: 148.9 kB / 229.1 MB, free: 32 kB / 170.7 MB Notification: Performance of sort global known variables: time 2.679e-06/0.3401, allocations: 0 / 229.1 MB, free: 32 kB / 170.7 MB Notification: Performance of remove unused functions: time 0.001167/0.3413, allocations: 119.7 kB / 229.3 MB, free: 28 kB / 170.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.0002961/0.3416, allocations: 114.2 kB / 229.4 MB, free: 15.93 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.3435, allocations: 0.5569 MB / 229.9 MB, free: 15.89 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 5.88e-06/0.3435, allocations: 0 / 229.9 MB, free: 15.89 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.3447, allocations: 360.3 kB / 230.3 MB, free: 15.85 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.346, allocations: 86.91 kB / 230.4 MB, free: 15.82 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004282/0.3503, allocations: 1.198 MB / 231.6 MB, free: 15.03 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008494/0.3512, allocations: 0.8738 MB / 232.4 MB, free: 14.26 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004703/0.3517, allocations: 63.06 kB / 232.5 MB, free: 14.25 MB / 186.7 MB Notification: Performance of SimCode: time 2.462e-06/0.3517, allocations: 0 / 232.5 MB, free: 14.25 MB / 186.7 MB Notification: Performance of Templates: time 0.02219/0.3739, allocations: 6.618 MB / 239.1 MB, free: 9.293 MB / 186.7 MB