Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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_cpp_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadModel(Modelica): time 1.98/1.98, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 12 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1044, allocations: 44.5 MB / 309 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4489/0.5534, allocations: 73.57 MB / 382.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004081/0.5539, allocations: 76.44 kB / 382.6 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06246/0.6164, allocations: 9.104 MB / 391.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.6164, allocations: 3.938 kB / 391.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.065e-05/0.6165, allocations: 15.62 kB / 391.7 MB, free: 13.95 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.0029/0.6194, allocations: 0.7507 MB / 392.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.6195, allocations: 11.56 kB / 392.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002236/0.6197, allocations: 57.33 kB / 392.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006875/0.6204, allocations: 310.6 kB / 392.9 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.788e-05/0.6205, allocations: 34.94 kB / 392.9 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.6207, allocations: 44.72 kB / 392.9 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/0.6229, allocations: 470.8 kB / 393.4 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.646e-05/0.623, allocations: 6.906 kB / 393.4 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.212e-05/0.6231, allocations: 16.06 kB / 393.4 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.6231, allocations: 11.62 kB / 393.4 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002748/0.6259, allocations: 494.9 kB / 393.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005119/0.6311, allocations: 1.391 MB / 395.3 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/0.6334, allocations: 0.5565 MB / 395.9 MB, free: 12.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.942e-05/0.6336, allocations: 14.38 kB / 395.9 MB, free: 12.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.6336, allocations: 40.69 kB / 395.9 MB, free: 12.63 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 5.651e-06/0.6337, allocations: 7.938 kB / 395.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=103): time 0.01976/0.6535, allocations: 3.274 MB / 399.2 MB, free: 11.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.6536, allocations: 67.52 kB / 399.3 MB, free: 11.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004687/0.6541, allocations: 243 kB / 399.5 MB, free: 11.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.6542, allocations: 42.45 kB / 399.5 MB, free: 11.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.6544, allocations: 247.1 kB / 399.8 MB, free: 11.51 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003862/0.6548, allocations: 351.5 kB / 400.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-05/0.6549, allocations: 21.12 kB / 400.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.655, allocations: 344.9 kB / 400.5 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/0.6566, allocations: 289 kB / 400.8 MB, free: 10.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.6583, allocations: 363.2 kB / 401.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001576/0.6599, allocations: 312.9 kB / 401.4 MB, free: 10.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.6599, allocations: 0 / 401.4 MB, free: 10.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003609/0.6635, allocations: 0.7988 MB / 402.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.6636, allocations: 3.906 kB / 402.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.6637, allocations: 0 / 402.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-05/0.6637, allocations: 6.906 kB / 402.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/0.6661, allocations: 222.8 kB / 402.5 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.448e-05/0.6662, allocations: 3.875 kB / 402.5 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.6674, allocations: 57.06 kB / 402.5 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.6675, allocations: 34.98 kB / 402.6 MB, free: 10.8 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.000575/0.6681, allocations: 190.9 kB / 402.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/0.6684, allocations: 58.27 kB / 402.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003135/0.6688, allocations: 77.75 kB / 402.9 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.367e-05/0.6688, allocations: 10.12 kB / 402.9 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/0.6688, allocations: 0 / 402.9 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-05/0.6689, allocations: 3.844 kB / 402.9 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007852/0.6767, allocations: 2.022 MB / 404.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/0.6768, allocations: 3.875 kB / 404.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002454/0.6793, allocations: 221.3 kB / 405.1 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.78e-05/0.6794, allocations: 7.719 kB / 405.1 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001681/0.6796, allocations: 29.42 kB / 405.2 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.503e-05/0.6796, allocations: 15.59 kB / 405.2 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/0.6797, allocations: 3.969 kB / 405.2 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005897/0.6856, allocations: 1.411 MB / 406.6 MB, free: 9.641 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002819/0.6859, allocations: 119.8 kB / 406.7 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002459/0.6862, allocations: 28.92 kB / 406.7 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.6873, allocations: 67.12 kB / 406.8 MB, free: 9.512 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002143/0.6876, allocations: 72.3 kB / 406.9 MB, free: 9.504 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.6877, allocations: 37.23 kB / 406.9 MB, free: 9.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003411/0.6881, allocations: 177.5 kB / 407.1 MB, free: 9.418 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.032e-06/0.6881, allocations: 0 / 407.1 MB, free: 9.418 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001107/0.6892, allocations: 158.1 kB / 407.2 MB, free: 9.414 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.0002798/0.6895, allocations: 138.9 kB / 407.4 MB, free: 9.309 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003615/0.6932, allocations: 0.7488 MB / 408.1 MB, free: 9.262 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/0.6932, allocations: 0 / 408.1 MB, free: 9.262 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002273/0.6955, allocations: 465 kB / 408.6 MB, free: 9.223 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.6972, allocations: 85.77 kB / 408.7 MB, free: 9.219 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006064/0.7033, allocations: 1.879 MB / 410.5 MB, free: 8.098 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005281/0.7039, allocations: 0.8784 MB / 411.4 MB, free: 7.395 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005848/0.7045, allocations: 63.72 kB / 411.5 MB, free: 7.391 MB / 314.7 MB Notification: Performance of SimCode: time 1.813e-06/0.7045, allocations: 0 / 411.5 MB, free: 7.391 MB / 314.7 MB Notification: Performance of Templates: time 0.02306/0.7276, allocations: 6.98 MB / 418.5 MB, free: 4.105 MB / 314.7 MB