Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadModel(Modelica): time 2.387/2.387, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003554, allocations: 11.98 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09646/0.09684, allocations: 44.5 MB / 309 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5416/0.6385, allocations: 73.58 MB / 382.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.6389, allocations: 78.95 kB / 382.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03956/0.6784, allocations: 9.103 MB / 391.8 MB, free: 14.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.6785, allocations: 3.938 kB / 391.8 MB, free: 14.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.18e-05/0.6785, allocations: 11.78 kB / 391.8 MB, free: 14.42 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.002054/0.6806, allocations: 0.7599 MB / 392.6 MB, free: 13.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.6807, allocations: 7.719 kB / 392.6 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.6809, allocations: 54.61 kB / 392.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.6813, allocations: 310.2 kB / 392.9 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.068e-05/0.6814, allocations: 35.38 kB / 393 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.6815, allocations: 47.11 kB / 393 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.683, allocations: 462.8 kB / 393.5 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.683, allocations: 11.41 kB / 393.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.416e-05/0.6831, allocations: 17.41 kB / 393.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.6831, allocations: 11.5 kB / 393.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.6849, allocations: 0.4896 MB / 394 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003386/0.6883, allocations: 1.385 MB / 395.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.6897, allocations: 0.5574 MB / 396 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.12e-05/0.6898, allocations: 20 kB / 396 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.6899, allocations: 42 kB / 396 MB, free: 13.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 3.898e-06/0.6899, allocations: 0 / 396 MB, free: 13.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=103): time 0.01269/0.7026, allocations: 3.269 MB / 399.3 MB, free: 12.37 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.7027, allocations: 64.03 kB / 399.3 MB, free: 12.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.703, allocations: 250.8 kB / 399.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.25e-05/0.7031, allocations: 43.77 kB / 399.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.7033, allocations: 196.5 kB / 399.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002784/0.7036, allocations: 346.9 kB / 400.2 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.409e-05/0.7036, allocations: 22.56 kB / 400.2 MB, free: 11.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.7037, allocations: 362.5 kB / 400.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.7048, allocations: 287.1 kB / 400.8 MB, free: 11.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.7059, allocations: 355.3 kB / 401.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.707, allocations: 315.3 kB / 401.5 MB, free: 11.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.707, allocations: 0 / 401.5 MB, free: 11.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002476/0.7095, allocations: 0.8146 MB / 402.3 MB, free: 11.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.7096, allocations: 7.75 kB / 402.3 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.7096, allocations: 0 / 402.3 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/0.7096, allocations: 3.875 kB / 402.3 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.7111, allocations: 221.8 kB / 402.5 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.382e-05/0.7112, allocations: 3.875 kB / 402.5 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007006/0.7119, allocations: 63.25 kB / 402.6 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.261e-05/0.712, allocations: 26 kB / 402.6 MB, free: 11.33 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.0003583/0.7123, allocations: 194.3 kB / 402.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.7125, allocations: 58.42 kB / 402.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.7127, allocations: 75.7 kB / 402.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.7127, allocations: 11.66 kB / 402.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.7127, allocations: 7.75 kB / 402.9 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.7127, allocations: 3.75 kB / 402.9 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004571/0.7173, allocations: 2.028 MB / 405 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.7174, allocations: 3.781 kB / 405 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/0.7189, allocations: 210.8 kB / 405.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/0.7189, allocations: 7.75 kB / 405.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.314e-05/0.719, allocations: 33.2 kB / 405.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.305e-05/0.719, allocations: 7.75 kB / 405.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.7191, allocations: 11.84 kB / 405.2 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003479/0.7225, allocations: 1.405 MB / 406.7 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.7228, allocations: 134.2 kB / 406.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.723, allocations: 22.27 kB / 406.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007466/0.7237, allocations: 63.06 kB / 406.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.7239, allocations: 84.88 kB / 406.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.78e-05/0.724, allocations: 30.56 kB / 407 MB, free: 10.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002253/0.7242, allocations: 176.4 kB / 407.1 MB, free: 9.938 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.7242, allocations: 0 / 407.1 MB, free: 9.938 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007827/0.725, allocations: 155.5 kB / 407.3 MB, free: 9.938 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.0002124/0.7252, allocations: 139.3 kB / 407.4 MB, free: 9.828 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002295/0.7275, allocations: 0.751 MB / 408.2 MB, free: 9.777 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.7276, allocations: 3.875 kB / 408.2 MB, free: 9.777 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.7289, allocations: 458.1 kB / 408.6 MB, free: 9.742 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009996/0.7299, allocations: 99.94 kB / 408.7 MB, free: 9.727 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003754/0.7337, allocations: 1.833 MB / 410.6 MB, free: 8.652 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.7341, allocations: 0.8797 MB / 411.4 MB, free: 7.898 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006066/0.7347, allocations: 75.92 kB / 411.5 MB, free: 7.863 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/0.735, allocations: 55.67 kB / 411.6 MB, free: 7.855 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.735, allocations: 0 / 411.6 MB, free: 7.855 MB / 314.7 MB Notification: Performance of Templates: time 0.01724/0.7523, allocations: 5.735 MB / 417.3 MB, free: 5.094 MB / 314.7 MB