Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.723/1.723, allocations: 171.2 MB / 186.8 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005487/0.0005487, allocations: 8 kB / 233.3 MB, free: 0.832 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09418/0.09477, allocations: 38.76 MB / 272.1 MB, free: 9.992 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3787/0.4735, allocations: 68.29 MB / 340.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.4739, allocations: 71.97 kB / 340.5 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04194/0.5158, allocations: 9.109 MB / 349.6 MB, free: 5.531 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.5159, allocations: 0 / 349.6 MB, free: 5.531 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.294e-05/0.5159, allocations: 12 kB / 349.6 MB, free: 5.52 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.002195/0.5181, allocations: 0.7654 MB / 350.3 MB, free: 4.703 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.5182, allocations: 8.031 kB / 350.4 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000158/0.5184, allocations: 86.52 kB / 350.4 MB, free: 4.602 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.5185, allocations: 55.34 kB / 350.5 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005603/0.5191, allocations: 314 kB / 350.8 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-05/0.5192, allocations: 41 kB / 350.8 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.5193, allocations: 48 kB / 350.9 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.5209, allocations: 466.3 kB / 351.3 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.5209, allocations: 3.906 kB / 351.3 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.99e-05/0.521, allocations: 20.22 kB / 351.4 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.5211, allocations: 12 kB / 351.4 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.523, allocations: 495.6 kB / 351.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003875/0.5269, allocations: 1.394 MB / 353.3 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.5286, allocations: 0.5522 MB / 353.8 MB, free: 1.117 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.67e-05/0.5287, allocations: 12.55 kB / 353.8 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.5287, allocations: 39.12 kB / 353.9 MB, free: 1.059 MB / 282.7 MB Notification: Performance of pre-optimization done (n=67): time 3.457e-06/0.5287, allocations: 0 / 353.9 MB, free: 1.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=103): time 0.01373/0.5425, allocations: 3.289 MB / 357.1 MB, free: 13.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/0.5426, allocations: 68.41 kB / 357.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.543, allocations: 214.2 kB / 357.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.363e-05/0.5431, allocations: 41.7 kB / 357.5 MB, free: 13.35 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.5432, allocations: 251.7 kB / 357.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003948/0.5436, allocations: 350.8 kB / 358.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/0.5437, allocations: 16 kB / 358.1 MB, free: 12.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.5439, allocations: 350.7 kB / 358.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.545, allocations: 285.8 kB / 358.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.5462, allocations: 357.4 kB / 359 MB, free: 11.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.5473, allocations: 314.9 kB / 359.3 MB, free: 11.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.5474, allocations: 4 kB / 359.4 MB, free: 11.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002574/0.5499, allocations: 0.7899 MB / 360.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.55, allocations: 8.062 kB / 360.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.55, allocations: 4 kB / 360.2 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.708e-05/0.5501, allocations: 11.94 kB / 360.2 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/0.5516, allocations: 219.7 kB / 360.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.028e-05/0.5517, allocations: 4 kB / 360.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007085/0.5524, allocations: 55.97 kB / 360.4 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.569e-05/0.5525, allocations: 31.98 kB / 360.5 MB, free: 10.32 MB / 298.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.0003978/0.5529, allocations: 189.7 kB / 360.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.5531, allocations: 55.34 kB / 360.7 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.5533, allocations: 77.39 kB / 360.8 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/0.5533, allocations: 15.95 kB / 360.8 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.5533, allocations: 0 / 360.8 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.5534, allocations: 3.984 kB / 360.8 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005202/0.5586, allocations: 2.022 MB / 362.8 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.5586, allocations: 4 kB / 362.8 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/0.5602, allocations: 215.7 kB / 363 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.948e-05/0.5603, allocations: 8.312 kB / 363 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.64e-05/0.5604, allocations: 32 kB / 363.1 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.112e-05/0.5604, allocations: 11.98 kB / 363.1 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.291e-05/0.5604, allocations: 15.88 kB / 363.1 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004182/0.5646, allocations: 1.626 MB / 364.7 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004127/0.5651, allocations: 176.5 kB / 364.9 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.5652, allocations: 27.95 kB / 364.9 MB, free: 5.516 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007086/0.5659, allocations: 55.95 kB / 365 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/0.5661, allocations: 88.73 kB / 365.1 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-05/0.5662, allocations: 27.98 kB / 365.1 MB, free: 5.344 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002703/0.5665, allocations: 182 kB / 365.3 MB, free: 5.168 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5665, allocations: 3.938 kB / 365.3 MB, free: 5.164 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007828/0.5673, allocations: 156 kB / 365.4 MB, free: 5.012 MB / 298.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.005006/0.5723, allocations: 3.513 MB / 368.9 MB, free: 1.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002588/0.575, allocations: 0.7505 MB / 369.7 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/0.575, allocations: 0 / 369.7 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.5765, allocations: 470.6 kB / 370.2 MB, free: 140 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.5776, allocations: 97.86 kB / 370.3 MB, free: 40 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.5877, allocations: 4.078 MB / 374.3 MB, free: 11.83 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005952/0.5883, allocations: 0.8813 MB / 375.2 MB, free: 10.92 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005965/0.5889, allocations: 207.3 kB / 375.4 MB, free: 10.72 MB / 314.7 MB Notification: Performance of SimCode: time 1.343e-06/0.5889, allocations: 0 / 375.4 MB, free: 10.72 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.614/3.203, allocations: 9.123 MB / 384.5 MB, free: 1.582 MB / 314.7 MB