Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadModel(Modelica): time 1.859/1.859, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003585, allocations: 8 kB / 233.8 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08601/0.08639, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3666/0.4531, allocations: 68.29 MB / 340.9 MB, free: 5.055 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.4534, allocations: 73.41 kB / 341 MB, free: 5.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04456/0.498, allocations: 9.115 MB / 350.1 MB, free: 13.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.972e-06/0.498, allocations: 0 / 350.1 MB, free: 13.36 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.491e-05/0.4981, allocations: 15.94 kB / 350.1 MB, free: 13.34 MB / 282.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.002064/0.5002, allocations: 0.7519 MB / 350.9 MB, free: 12.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.5002, allocations: 12.03 kB / 350.9 MB, free: 12.56 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.5004, allocations: 56.03 kB / 350.9 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005139/0.5009, allocations: 313.8 kB / 351.2 MB, free: 12.19 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.599e-05/0.501, allocations: 37.06 kB / 351.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.5011, allocations: 45.56 kB / 351.3 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.5026, allocations: 464 kB / 351.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.563e-05/0.5026, allocations: 15.33 kB / 351.8 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.407e-05/0.5027, allocations: 18.06 kB / 351.8 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.5027, allocations: 12 kB / 351.8 MB, free: 11.78 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.5045, allocations: 489.7 kB / 352.3 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003534/0.5081, allocations: 1.406 MB / 353.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.5097, allocations: 0.5474 MB / 354.2 MB, free: 9.953 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.916e-05/0.5098, allocations: 9.125 kB / 354.3 MB, free: 9.945 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.5098, allocations: 40.06 kB / 354.3 MB, free: 9.902 MB / 282.7 MB Notification: Performance of pre-optimization done (n=67): time 3.327e-06/0.5098, allocations: 4 kB / 354.3 MB, free: 9.898 MB / 282.7 MB Notification: Performance of matching and sorting (n=103): time 0.01308/0.5229, allocations: 3.279 MB / 357.6 MB, free: 7.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.523, allocations: 64.41 kB / 357.6 MB, free: 7.172 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/0.5234, allocations: 248.5 kB / 357.9 MB, free: 6.969 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.859e-05/0.5235, allocations: 45.25 kB / 357.9 MB, free: 6.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.5236, allocations: 194.5 kB / 358.1 MB, free: 6.777 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003477/0.524, allocations: 344.1 kB / 358.5 MB, free: 6.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.5241, allocations: 23.19 kB / 358.5 MB, free: 6.473 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.5243, allocations: 365.8 kB / 358.8 MB, free: 6.129 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.5253, allocations: 281.9 kB / 359.1 MB, free: 5.938 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.5264, allocations: 365.1 kB / 359.5 MB, free: 5.672 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.5275, allocations: 314.1 kB / 359.8 MB, free: 5.477 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.5275, allocations: 0 / 359.8 MB, free: 5.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002501/0.5301, allocations: 0.8118 MB / 360.6 MB, free: 4.879 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.5301, allocations: 8 kB / 360.6 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.5301, allocations: 0 / 360.6 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.5301, allocations: 11.89 kB / 360.6 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.5317, allocations: 215.6 kB / 360.8 MB, free: 4.652 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.5317, allocations: 8 kB / 360.8 MB, free: 4.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000635/0.5324, allocations: 57.16 kB / 360.9 MB, free: 4.605 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-05/0.5325, allocations: 34.48 kB / 360.9 MB, free: 4.578 MB / 282.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.0003786/0.5328, allocations: 189.5 kB / 361.1 MB, free: 4.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.533, allocations: 55.34 kB / 361.1 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.5332, allocations: 74.64 kB / 361.2 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/0.5332, allocations: 11.95 kB / 361.2 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.5332, allocations: 0 / 361.2 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.5333, allocations: 11.97 kB / 361.2 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005006/0.5383, allocations: 2.022 MB / 363.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/0.5383, allocations: 8 kB / 363.3 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/0.5399, allocations: 210.9 kB / 363.5 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.139e-05/0.54, allocations: 12 kB / 363.5 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.687e-05/0.54, allocations: 24.8 kB / 363.5 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.619e-05/0.5401, allocations: 8 kB / 363.5 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-05/0.5401, allocations: 15.89 kB / 363.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003813/0.5439, allocations: 1.417 MB / 365 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003462/0.5443, allocations: 175.8 kB / 365.1 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.5444, allocations: 29.36 kB / 365.2 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006892/0.5451, allocations: 57.97 kB / 365.2 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.5453, allocations: 79.17 kB / 365.3 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.505e-05/0.5454, allocations: 31 kB / 365.3 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000254/0.5457, allocations: 179.2 kB / 365.5 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.334e-06/0.5457, allocations: 3.938 kB / 365.5 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007692/0.5465, allocations: 156.5 kB / 365.7 MB, free: 0.6953 MB / 282.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.0002329/0.5467, allocations: 138 kB / 365.8 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002406/0.5491, allocations: 0.7561 MB / 366.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5492, allocations: 0 / 366.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001378/0.5505, allocations: 466.5 kB / 367 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009372/0.5515, allocations: 98.55 kB / 367.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/0.5557, allocations: 1.837 MB / 368.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006213/0.5564, allocations: 0.8774 MB / 369.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005964/0.557, allocations: 76.94 kB / 369.9 MB, free: 12.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.5573, allocations: 54.48 kB / 369.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of SimCode: time 1.343e-06/0.5573, allocations: 0 / 369.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of Templates: time 0.0182/0.5755, allocations: 5.744 MB / 375.7 MB, free: 7.059 MB / 298.7 MB