Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadModel(Modelica): time 1.785/1.785, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003632, allocations: 11.94 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08085/0.08124, allocations: 44.5 MB / 308.4 MB, free: 1 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.371/0.4523, allocations: 73.59 MB / 382 MB, free: 18.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.4525, allocations: 74.28 kB / 382.1 MB, free: 18.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0341/0.4866, allocations: 9.111 MB / 391.2 MB, free: 17.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.302e-06/0.4867, allocations: 0 / 391.2 MB, free: 17.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.624e-05/0.4867, allocations: 7.781 kB / 391.2 MB, free: 17.82 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001309/0.488, allocations: 0.7659 MB / 392 MB, free: 17.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.4881, allocations: 7.844 kB / 392 MB, free: 17.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.4882, allocations: 54.58 kB / 392 MB, free: 17.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.4886, allocations: 306.2 kB / 392.3 MB, free: 17.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.893e-05/0.4887, allocations: 36.19 kB / 392.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.456e-05/0.4888, allocations: 46.34 kB / 392.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.4899, allocations: 460 kB / 392.9 MB, free: 17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.49, allocations: 11.81 kB / 392.9 MB, free: 16.99 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.634e-05/0.49, allocations: 21.97 kB / 392.9 MB, free: 16.99 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.4901, allocations: 11.59 kB / 392.9 MB, free: 16.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.4914, allocations: 495.8 kB / 393.4 MB, free: 16.97 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00278/0.4942, allocations: 1.391 MB / 394.8 MB, free: 16.58 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.4954, allocations: 0.5571 MB / 395.3 MB, free: 16.53 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5e-05/0.4955, allocations: 12.28 kB / 395.4 MB, free: 16.53 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.4955, allocations: 40.69 kB / 395.4 MB, free: 16.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 4.05e-06/0.4955, allocations: 3.938 kB / 395.4 MB, free: 16.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=103): time 0.008957/0.5045, allocations: 3.271 MB / 398.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.5046, allocations: 62.92 kB / 398.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.5048, allocations: 221.5 kB / 399 MB, free: 15.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.705e-05/0.5049, allocations: 44.08 kB / 399 MB, free: 15.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.505, allocations: 247.4 kB / 399.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.5052, allocations: 348.3 kB / 399.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-05/0.5053, allocations: 18.34 kB / 399.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.634e-05/0.5054, allocations: 345.3 kB / 399.9 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008078/0.5062, allocations: 289.6 kB / 400.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000849/0.5071, allocations: 360.5 kB / 400.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008453/0.5079, allocations: 313.8 kB / 400.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.729e-06/0.508, allocations: 0 / 400.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001847/0.5098, allocations: 0.7946 MB / 401.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.5098, allocations: 8.375 kB / 401.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.5099, allocations: 0 / 401.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.5099, allocations: 3.875 kB / 401.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.5109, allocations: 222.3 kB / 401.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.511, allocations: 3.875 kB / 401.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005131/0.5115, allocations: 61.42 kB / 402 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-05/0.5116, allocations: 33.97 kB / 402 MB, free: 14.67 MB / 314.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 (113): * Single equations (assignments): 113 * 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.0003146/0.5119, allocations: 194.5 kB / 402.2 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.512, allocations: 61.77 kB / 402.2 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.5122, allocations: 70.31 kB / 402.3 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.5122, allocations: 11.39 kB / 402.3 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.5122, allocations: 4 kB / 402.3 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.5123, allocations: 11.05 kB / 402.3 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003938/0.5162, allocations: 2.013 MB / 404.4 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.5163, allocations: 7.969 kB / 404.4 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/0.5174, allocations: 213.8 kB / 404.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-05/0.5174, allocations: 7.875 kB / 404.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-05/0.5175, allocations: 31.73 kB / 404.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.135e-05/0.5175, allocations: 7.75 kB / 404.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.218e-06/0.5175, allocations: 7.781 kB / 404.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002931/0.5205, allocations: 1.629 MB / 406.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.5207, allocations: 131.2 kB / 406.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.5208, allocations: 18.62 kB / 406.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005696/0.5214, allocations: 67.67 kB / 406.5 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.5215, allocations: 78.38 kB / 406.5 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.434e-05/0.5216, allocations: 34.08 kB / 406.6 MB, free: 13.06 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001924/0.5218, allocations: 170.5 kB / 406.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.93e-07/0.5218, allocations: 3.875 kB / 406.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006951/0.5225, allocations: 153.8 kB / 406.9 MB, free: 12.97 MB / 314.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 (103): * Single equations (assignments): 103 * 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.0001789/0.5227, allocations: 143.1 kB / 407 MB, free: 12.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.5244, allocations: 0.7505 MB / 407.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.506e-06/0.5245, allocations: 128 / 407.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.5255, allocations: 465.1 kB / 408.2 MB, free: 12.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007368/0.5263, allocations: 90.91 kB / 408.3 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.5292, allocations: 1.867 MB / 410.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.5296, allocations: 0.8766 MB / 411.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.5299, allocations: 69.33 kB / 411.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of SimCode: time 1.416e-06/0.5299, allocations: 0 / 411.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of Templates: time 0.01112/0.541, allocations: 6.983 MB / 418.1 MB, free: 8.18 MB / 314.7 MB