Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.122/1.122, allocations: 111.1 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002531/0.0002532, allocations: 4 kB / 158.4 MB, free: 15.1 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05985/0.06013, allocations: 25.17 MB / 183.6 MB, free: 5.887 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2153/0.2755, allocations: 35.26 MB / 218.8 MB, free: 6.016 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.2757, allocations: 62.81 kB / 218.9 MB, free: 6.008 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03583/0.3116, allocations: 8.719 MB / 227.6 MB, free: 2.785 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3116, allocations: 0 / 227.6 MB, free: 2.785 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.244e-05/0.3117, allocations: 11.5 kB / 227.6 MB, free: 2.785 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001847/0.3135, allocations: 0.7348 MB / 228.4 MB, free: 2.223 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.3136, allocations: 10.06 kB / 228.4 MB, free: 2.223 MB / 170.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001386/0.3137, allocations: 84.89 kB / 228.5 MB, free: 2.172 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.314, allocations: 53.81 kB / 228.5 MB, free: 2.145 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007039/0.3147, allocations: 301.7 kB / 228.8 MB, free: 1.879 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.542e-05/0.3148, allocations: 33.78 kB / 228.8 MB, free: 1.879 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.315, allocations: 42.47 kB / 228.9 MB, free: 1.879 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002478/0.3175, allocations: 451.8 kB / 229.3 MB, free: 1.68 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.856e-05/0.3176, allocations: 6.344 kB / 229.3 MB, free: 1.676 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.3178, allocations: 20.3 kB / 229.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.3178, allocations: 15.94 kB / 229.4 MB, free: 1.652 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002533/0.3203, allocations: 470.6 kB / 229.8 MB, free: 1.305 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004516/0.3249, allocations: 1.349 MB / 231.2 MB, free: 272 kB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.3269, allocations: 0.4968 MB / 231.7 MB, free: 15.93 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.628e-05/0.327, allocations: 12.55 kB / 231.7 MB, free: 15.91 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.672e-05/0.3271, allocations: 41.38 kB / 231.7 MB, free: 15.87 MB / 186.7 MB Notification: Performance of pre-optimization done (n=62): time 4.388e-06/0.3271, allocations: 0 / 231.7 MB, free: 15.87 MB / 186.7 MB Notification: Performance of matching and sorting (n=98): time 0.01655/0.3437, allocations: 3.183 MB / 234.9 MB, free: 13.29 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.3438, allocations: 64.41 kB / 235 MB, free: 13.21 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.3441, allocations: 220.1 kB / 235.2 MB, free: 13.03 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 6.69e-05/0.3442, allocations: 41.14 kB / 235.2 MB, free: 12.99 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.3444, allocations: 242.4 kB / 235.5 MB, free: 12.78 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003515/0.3448, allocations: 331.9 kB / 235.8 MB, free: 12.5 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.548e-05/0.3448, allocations: 19.31 kB / 235.8 MB, free: 12.5 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.345, allocations: 346.2 kB / 236.1 MB, free: 12.16 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009916/0.346, allocations: 278.7 kB / 236.4 MB, free: 11.97 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.3471, allocations: 344.5 kB / 236.8 MB, free: 11.72 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.3482, allocations: 310.2 kB / 237.1 MB, free: 11.53 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3482, allocations: 0 / 237.1 MB, free: 11.53 MB / 186.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002384/0.3506, allocations: 0.7577 MB / 237.8 MB, free: 10.97 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.3507, allocations: 4 kB / 237.8 MB, free: 10.96 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3507, allocations: 0 / 237.8 MB, free: 10.96 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.3507, allocations: 4 kB / 237.8 MB, free: 10.96 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.3522, allocations: 213 kB / 238 MB, free: 10.76 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-05/0.3522, allocations: 4 kB / 238 MB, free: 10.76 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006649/0.3529, allocations: 56.84 kB / 238.1 MB, free: 10.71 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.191e-05/0.353, allocations: 30.06 kB / 238.1 MB, free: 10.69 MB / 186.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 (108): * Single equations (assignments): 108 * 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.0003889/0.3534, allocations: 205.7 kB / 238.3 MB, free: 10.53 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.3536, allocations: 47.44 kB / 238.4 MB, free: 10.48 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.3538, allocations: 69.7 kB / 238.4 MB, free: 10.46 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.3538, allocations: 8 kB / 238.4 MB, free: 10.45 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.3538, allocations: 0 / 238.4 MB, free: 10.45 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.3539, allocations: 3.984 kB / 238.5 MB, free: 10.45 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004962/0.3588, allocations: 1.966 MB / 240.4 MB, free: 8.852 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/0.3589, allocations: 7.984 kB / 240.4 MB, free: 8.844 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/0.3605, allocations: 208 kB / 240.6 MB, free: 8.648 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.819e-05/0.3605, allocations: 8 kB / 240.6 MB, free: 8.641 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.146e-05/0.3606, allocations: 28.36 kB / 240.7 MB, free: 8.625 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.505e-05/0.3606, allocations: 8 kB / 240.7 MB, free: 8.617 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.477e-05/0.3606, allocations: 7.938 kB / 240.7 MB, free: 8.609 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003994/0.3646, allocations: 1.595 MB / 242.3 MB, free: 7.141 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003576/0.365, allocations: 168.5 kB / 242.4 MB, free: 6.957 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.3652, allocations: 27.92 kB / 242.5 MB, free: 6.93 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006855/0.3659, allocations: 59.97 kB / 242.5 MB, free: 6.871 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.366, allocations: 76.45 kB / 242.6 MB, free: 6.797 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.501e-05/0.3661, allocations: 28 kB / 242.6 MB, free: 6.77 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002555/0.3664, allocations: 170 kB / 242.8 MB, free: 6.605 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3664, allocations: 7.938 kB / 242.8 MB, free: 6.598 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0007924/0.3672, allocations: 152 kB / 242.9 MB, free: 6.449 MB / 186.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 (98): * Single equations (assignments): 98 * 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.005056/0.3723, allocations: 3.463 MB / 246.4 MB, free: 2.832 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.002485/0.3748, allocations: 0.7205 MB / 247.1 MB, free: 2.113 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.3749, allocations: 4 kB / 247.1 MB, free: 2.109 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001475/0.3764, allocations: 436.6 kB / 247.6 MB, free: 1.684 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.3774, allocations: 101.6 kB / 247.7 MB, free: 1.586 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009712/0.3872, allocations: 3.934 MB / 251.6 MB, free: 13.51 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006361/0.3878, allocations: 0.8727 MB / 252.5 MB, free: 12.61 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005561/0.3884, allocations: 191.3 kB / 252.7 MB, free: 12.43 MB / 202.7 MB Notification: Performance of SimCode: time 1.372e-06/0.3884, allocations: 0 / 252.7 MB, free: 12.43 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.857/3.246, allocations: 8.735 MB / 261.4 MB, free: 3.672 MB / 202.7 MB