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.PreLoad.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.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.053/1.053, allocations: 111.1 MB / 127.3 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003396, allocations: 4 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05156/0.05193, allocations: 25.16 MB / 184 MB, free: 6.027 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2034/0.2554, allocations: 35.25 MB / 219.3 MB, free: 6.309 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.2556, allocations: 66.56 kB / 219.3 MB, free: 6.301 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03433/0.29, allocations: 8.716 MB / 228.1 MB, free: 3.074 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2901, allocations: 11.81 kB / 228.1 MB, free: 3.066 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.477e-05/0.2901, allocations: 7.688 kB / 228.1 MB, free: 3.066 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.001711/0.2918, allocations: 0.73 MB / 228.8 MB, free: 2.512 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2919, allocations: 7.688 kB / 228.8 MB, free: 2.512 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.292, allocations: 54.22 kB / 228.9 MB, free: 2.484 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.2924, allocations: 294.5 kB / 229.2 MB, free: 2.223 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.53e-05/0.2924, allocations: 38.67 kB / 229.2 MB, free: 2.219 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.2925, allocations: 46.72 kB / 229.2 MB, free: 2.219 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.2939, allocations: 447.5 kB / 229.7 MB, free: 2.082 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/0.294, allocations: 8.844 kB / 229.7 MB, free: 2.078 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/0.294, allocations: 14.84 kB / 229.7 MB, free: 2.078 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.2941, allocations: 10.34 kB / 229.7 MB, free: 2.078 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.2957, allocations: 480.8 kB / 230.2 MB, free: 1.836 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003128/0.2989, allocations: 1.355 MB / 231.5 MB, free: 0.793 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.3002, allocations: 0.4969 MB / 232 MB, free: 460 kB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.495e-05/0.3003, allocations: 19.7 kB / 232.1 MB, free: 448 kB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.3003, allocations: 38.31 kB / 232.1 MB, free: 404 kB / 170.7 MB Notification: Performance of pre-optimization done (n=62): time 3.347e-06/0.3003, allocations: 4 kB / 232.1 MB, free: 400 kB / 170.7 MB Notification: Performance of matching and sorting (n=98): time 0.01274/0.3131, allocations: 3.168 MB / 235.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.634e-05/0.3132, allocations: 64.41 kB / 235.3 MB, free: 13.74 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.3136, allocations: 241.4 kB / 235.6 MB, free: 13.54 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 6.459e-05/0.3137, allocations: 41.02 kB / 235.6 MB, free: 13.5 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.3138, allocations: 242.8 kB / 235.8 MB, free: 13.29 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000324/0.3141, allocations: 339 kB / 236.2 MB, free: 13.01 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.3142, allocations: 19.31 kB / 236.2 MB, free: 13.01 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3144, allocations: 346.1 kB / 236.5 MB, free: 12.68 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009932/0.3154, allocations: 282 kB / 236.8 MB, free: 12.48 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.3165, allocations: 348.7 kB / 237.1 MB, free: 12.23 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.3175, allocations: 302.6 kB / 237.4 MB, free: 12.04 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3176, allocations: 0 / 237.4 MB, free: 12.04 MB / 186.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002389/0.32, allocations: 0.7605 MB / 238.2 MB, free: 11.48 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.32, allocations: 4 kB / 238.2 MB, free: 11.48 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.32, allocations: 4 kB / 238.2 MB, free: 11.47 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.3201, allocations: 7.984 kB / 238.2 MB, free: 11.46 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.3216, allocations: 210.6 kB / 238.4 MB, free: 11.27 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/0.3216, allocations: 4 kB / 238.4 MB, free: 11.26 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006615/0.3223, allocations: 59.95 kB / 238.5 MB, free: 11.22 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-05/0.3224, allocations: 38.95 kB / 238.5 MB, free: 11.19 MB / 186.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 () * Number of clocked 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.00037/0.3227, allocations: 191.6 kB / 238.7 MB, free: 11.04 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.3229, allocations: 47.44 kB / 238.8 MB, free: 10.99 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.3231, allocations: 64.59 kB / 238.8 MB, free: 10.97 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.3231, allocations: 19.86 kB / 238.8 MB, free: 10.95 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.3232, allocations: 4 kB / 238.8 MB, free: 10.95 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.3232, allocations: 3.984 kB / 238.8 MB, free: 10.94 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004893/0.3281, allocations: 1.961 MB / 240.8 MB, free: 9.355 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.3281, allocations: 4 kB / 240.8 MB, free: 9.352 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/0.3297, allocations: 211.1 kB / 241 MB, free: 9.152 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.827e-05/0.3298, allocations: 8 kB / 241 MB, free: 9.145 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-05/0.3298, allocations: 21.38 kB / 241 MB, free: 9.137 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.799e-05/0.3299, allocations: 19.92 kB / 241.1 MB, free: 9.117 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/0.3299, allocations: 4 kB / 241.1 MB, free: 9.113 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003962/0.3339, allocations: 1.371 MB / 242.4 MB, free: 7.734 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004631/0.3344, allocations: 172.5 kB / 242.6 MB, free: 7.547 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.3345, allocations: 23.98 kB / 242.6 MB, free: 7.523 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000717/0.3353, allocations: 59.97 kB / 242.7 MB, free: 7.465 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/0.3355, allocations: 76.45 kB / 242.8 MB, free: 7.391 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.34e-05/0.3356, allocations: 31.94 kB / 242.8 MB, free: 7.359 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002579/0.3358, allocations: 174 kB / 243 MB, free: 7.191 MB / 186.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.3358, allocations: 0 / 243 MB, free: 7.191 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0007708/0.3366, allocations: 144 kB / 243.1 MB, free: 7.051 MB / 186.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 () * Number of clocked 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.0002236/0.3369, allocations: 139 kB / 243.2 MB, free: 6.906 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.002489/0.3394, allocations: 0.7204 MB / 244 MB, free: 6.184 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.3394, allocations: 0 / 244 MB, free: 6.184 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.3408, allocations: 444.6 kB / 244.4 MB, free: 5.754 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009693/0.3418, allocations: 89.98 kB / 244.5 MB, free: 5.668 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004185/0.346, allocations: 1.829 MB / 246.3 MB, free: 3.742 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000545/0.3466, allocations: 0.8727 MB / 247.2 MB, free: 2.84 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004106/0.347, allocations: 59.41 kB / 247.2 MB, free: 2.785 MB / 186.7 MB Notification: Performance of SimCode: time 1.192e-06/0.347, allocations: 0 / 247.2 MB, free: 2.785 MB / 186.7 MB Notification: Performance of Templates: time 0.01594/0.363, allocations: 6.688 MB / 253.9 MB, free: 12.08 MB / 202.7 MB