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.9765/0.9765, allocations: 111.1 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002614/0.0002615, allocations: 8 kB / 158.3 MB, free: 15.17 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06667/0.06695, allocations: 25.17 MB / 183.5 MB, free: 5.965 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1941/0.2611, allocations: 35.26 MB / 218.8 MB, free: 6.352 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000189/0.2614, allocations: 67 kB / 218.8 MB, free: 6.344 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03421/0.2956, allocations: 8.715 MB / 227.5 MB, free: 3.121 MB / 170.7 MB Notification: Performance of FrontEnd: time 3.398e-06/0.2956, allocations: 0 / 227.5 MB, free: 3.121 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.2957, allocations: 7.594 kB / 227.5 MB, free: 3.121 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.001341/0.297, allocations: 0.7344 MB / 228.3 MB, free: 2.562 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.2971, allocations: 7.281 kB / 228.3 MB, free: 2.562 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.2972, allocations: 53.66 kB / 228.3 MB, free: 2.535 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.2976, allocations: 296.2 kB / 228.6 MB, free: 2.273 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.796e-05/0.2977, allocations: 31.69 kB / 228.7 MB, free: 2.273 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.2978, allocations: 44.84 kB / 228.7 MB, free: 2.273 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.2989, allocations: 461.4 kB / 229.2 MB, free: 2.125 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/0.299, allocations: 8.812 kB / 229.2 MB, free: 2.121 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-05/0.2991, allocations: 15.03 kB / 229.2 MB, free: 2.121 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.2991, allocations: 10.44 kB / 229.2 MB, free: 2.121 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.3004, allocations: 476.2 kB / 229.6 MB, free: 1.789 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002727/0.3031, allocations: 1.349 MB / 231 MB, free: 0.7539 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.3042, allocations: 0.5085 MB / 231.5 MB, free: 412 kB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.075e-05/0.3043, allocations: 12.23 kB / 231.5 MB, free: 404 kB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.3043, allocations: 37.88 kB / 231.6 MB, free: 364 kB / 170.7 MB Notification: Performance of pre-optimization done (n=62): time 3.587e-06/0.3043, allocations: 0 / 231.6 MB, free: 364 kB / 170.7 MB Notification: Performance of matching and sorting (n=98): time 0.009835/0.3142, allocations: 3.172 MB / 234.7 MB, free: 13.78 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.3143, allocations: 64.41 kB / 234.8 MB, free: 13.7 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003175/0.3146, allocations: 212.6 kB / 235 MB, free: 13.52 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 6.871e-05/0.3147, allocations: 45.02 kB / 235 MB, free: 13.48 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.3149, allocations: 242.5 kB / 235.3 MB, free: 13.27 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003295/0.3152, allocations: 335.8 kB / 235.6 MB, free: 12.99 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.3153, allocations: 14.88 kB / 235.6 MB, free: 12.99 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.3155, allocations: 353.9 kB / 236 MB, free: 12.65 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008035/0.3163, allocations: 274.3 kB / 236.2 MB, free: 12.46 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008806/0.3172, allocations: 345.1 kB / 236.6 MB, free: 12.21 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008457/0.3181, allocations: 305.4 kB / 236.9 MB, free: 12.03 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.3181, allocations: 4 kB / 236.9 MB, free: 12.02 MB / 186.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00198/0.3201, allocations: 0.7563 MB / 237.6 MB, free: 11.46 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.3202, allocations: 16.05 kB / 237.6 MB, free: 11.45 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.485e-06/0.3202, allocations: 0 / 237.6 MB, free: 11.45 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.3202, allocations: 4 kB / 237.6 MB, free: 11.45 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.3212, allocations: 206 kB / 237.9 MB, free: 11.25 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.3213, allocations: 4 kB / 237.9 MB, free: 11.25 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/0.3218, allocations: 61.14 kB / 237.9 MB, free: 11.2 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-05/0.3218, allocations: 30.48 kB / 237.9 MB, free: 11.18 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.0003569/0.3222, allocations: 196.8 kB / 238.1 MB, free: 11.02 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.3224, allocations: 47.44 kB / 238.2 MB, free: 10.97 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.3225, allocations: 74.52 kB / 238.3 MB, free: 10.95 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.3226, allocations: 12 kB / 238.3 MB, free: 10.93 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.3226, allocations: 0 / 238.3 MB, free: 10.93 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.3226, allocations: 3.984 kB / 238.3 MB, free: 10.93 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004275/0.3269, allocations: 1.961 MB / 240.2 MB, free: 9.34 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.3269, allocations: 4 kB / 240.2 MB, free: 9.336 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.328, allocations: 206.4 kB / 240.4 MB, free: 9.141 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.782e-05/0.328, allocations: 8.312 kB / 240.4 MB, free: 9.133 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-05/0.3281, allocations: 32.38 kB / 240.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-05/0.3281, allocations: 15.92 kB / 240.5 MB, free: 9.098 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/0.3281, allocations: 7.938 kB / 240.5 MB, free: 9.09 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003354/0.3315, allocations: 1.586 MB / 242.1 MB, free: 7.402 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003692/0.3319, allocations: 172.5 kB / 242.3 MB, free: 7.215 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.332, allocations: 24 kB / 242.3 MB, free: 7.191 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005436/0.3326, allocations: 59.95 kB / 242.3 MB, free: 7.133 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.3328, allocations: 72.47 kB / 242.4 MB, free: 7.062 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.509e-05/0.3329, allocations: 31.98 kB / 242.4 MB, free: 7.031 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002409/0.3331, allocations: 177.9 kB / 242.6 MB, free: 6.859 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.3331, allocations: 0 / 242.6 MB, free: 6.859 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0007259/0.3339, allocations: 144 kB / 242.8 MB, free: 6.719 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.0002349/0.3341, allocations: 151 kB / 242.9 MB, free: 6.562 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001954/0.3361, allocations: 0.7203 MB / 243.6 MB, free: 5.84 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 7.722e-06/0.3361, allocations: 4 kB / 243.6 MB, free: 5.836 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001716/0.3378, allocations: 436.6 kB / 244.1 MB, free: 5.414 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.3389, allocations: 101.4 kB / 244.2 MB, free: 5.316 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00372/0.3427, allocations: 1.809 MB / 246 MB, free: 3.41 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006532/0.3434, allocations: 0.8726 MB / 246.8 MB, free: 2.512 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/0.3437, allocations: 71.34 kB / 246.9 MB, free: 2.445 MB / 186.7 MB Notification: Performance of SimCode: time 4.013e-06/0.3437, allocations: 0 / 246.9 MB, free: 2.445 MB / 186.7 MB Notification: Performance of Templates: time 0.01332/0.357, allocations: 6.686 MB / 253.6 MB, free: 11.75 MB / 202.7 MB