Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadModel(Modelica): time 1.566/1.566, allocations: 171.1 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003492, allocations: 7.984 kB / 233.2 MB, free: 3.004 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06731/0.06768, allocations: 38.77 MB / 272 MB, free: 12.15 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3188/0.3865, allocations: 68.28 MB / 340.3 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.3868, allocations: 77.95 kB / 340.4 MB, free: 5.555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03693/0.4237, allocations: 9.104 MB / 349.5 MB, free: 13.9 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.43e-06/0.4238, allocations: 0 / 349.5 MB, free: 13.9 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.26e-05/0.4238, allocations: 12 kB / 349.5 MB, free: 13.89 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.001591/0.4254, allocations: 0.7582 MB / 350.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.4255, allocations: 12.03 kB / 350.3 MB, free: 13.1 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.4256, allocations: 55.34 kB / 350.3 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005129/0.4261, allocations: 318.4 kB / 350.6 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-05/0.4262, allocations: 31.31 kB / 350.7 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.4263, allocations: 50.23 kB / 350.7 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.4276, allocations: 466 kB / 351.2 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/0.4276, allocations: 7.844 kB / 351.2 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.714e-05/0.4277, allocations: 16.38 kB / 351.2 MB, free: 12.33 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.4277, allocations: 12 kB / 351.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.4292, allocations: 490.8 kB / 351.7 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003193/0.4324, allocations: 1.4 MB / 353.1 MB, free: 10.87 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.4337, allocations: 0.5556 MB / 353.6 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.495e-05/0.4338, allocations: 8.562 kB / 353.6 MB, free: 10.49 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.4339, allocations: 42.98 kB / 353.7 MB, free: 10.44 MB / 282.7 MB Notification: Performance of pre-optimization done (n=67): time 4.122e-06/0.4339, allocations: 0 / 353.7 MB, free: 10.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=103): time 0.01011/0.444, allocations: 3.284 MB / 357 MB, free: 7.793 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/0.4441, allocations: 68.34 kB / 357 MB, free: 7.711 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/0.4445, allocations: 220.9 kB / 357.2 MB, free: 7.527 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.584e-05/0.4445, allocations: 40.14 kB / 357.3 MB, free: 7.492 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.4447, allocations: 248.7 kB / 357.5 MB, free: 7.281 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003302/0.445, allocations: 349.5 kB / 357.9 MB, free: 6.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.4451, allocations: 17.38 kB / 357.9 MB, free: 6.977 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.4453, allocations: 348.2 kB / 358.2 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008167/0.4461, allocations: 282.9 kB / 358.5 MB, free: 6.449 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008976/0.4471, allocations: 366.4 kB / 358.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008861/0.448, allocations: 318.4 kB / 359.2 MB, free: 5.984 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.69e-06/0.448, allocations: 0 / 359.2 MB, free: 5.984 MB / 282.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002044/0.45, allocations: 0.7895 MB / 360 MB, free: 5.406 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.4501, allocations: 7.984 kB / 360 MB, free: 5.398 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.4501, allocations: 0 / 360 MB, free: 5.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.4501, allocations: 7.953 kB / 360 MB, free: 5.391 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.4512, allocations: 214.1 kB / 360.2 MB, free: 5.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.4513, allocations: 11.98 kB / 360.2 MB, free: 5.176 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004909/0.4518, allocations: 53.34 kB / 360.2 MB, free: 5.137 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-05/0.4519, allocations: 31.11 kB / 360.3 MB, free: 5.113 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.0003684/0.4523, allocations: 198.5 kB / 360.5 MB, free: 4.957 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.4524, allocations: 50.88 kB / 360.5 MB, free: 4.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.4526, allocations: 72.08 kB / 360.6 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.4526, allocations: 12 kB / 360.6 MB, free: 4.875 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.4526, allocations: 3.953 kB / 360.6 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.4527, allocations: 3.984 kB / 360.6 MB, free: 4.867 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004348/0.457, allocations: 2.027 MB / 362.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.4571, allocations: 8 kB / 362.6 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/0.4582, allocations: 219.2 kB / 362.9 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.928e-05/0.4583, allocations: 8 kB / 362.9 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.53e-05/0.4583, allocations: 28.92 kB / 362.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-05/0.4584, allocations: 8 kB / 362.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.541e-06/0.4584, allocations: 7.938 kB / 362.9 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003317/0.4617, allocations: 1.637 MB / 364.5 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/0.4621, allocations: 175 kB / 364.7 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.4622, allocations: 27.58 kB / 364.7 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005354/0.4628, allocations: 59.41 kB / 364.8 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.4629, allocations: 76.48 kB / 364.9 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.812e-05/0.463, allocations: 35.36 kB / 364.9 MB, free: 1.188 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002364/0.4633, allocations: 170.8 kB / 365.1 MB, free: 1.047 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.05e-07/0.4633, allocations: 3.938 kB / 365.1 MB, free: 1.043 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007295/0.464, allocations: 158.8 kB / 365.2 MB, free: 0.9141 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.0002177/0.4643, allocations: 150 kB / 365.4 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001918/0.4662, allocations: 0.7543 MB / 366.1 MB, free: 208 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.231e-06/0.4662, allocations: 0 / 366.1 MB, free: 208 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.4674, allocations: 456.3 kB / 366.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008368/0.4682, allocations: 98.03 kB / 366.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003688/0.472, allocations: 1.864 MB / 368.5 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006621/0.4727, allocations: 0.8852 MB / 369.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/0.473, allocations: 59.42 kB / 369.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of SimCode: time 2.083e-06/0.473, allocations: 0 / 369.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of Templates: time 0.01364/0.4867, allocations: 6.991 MB / 376.5 MB, free: 6.098 MB / 298.7 MB