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.26/1.26, allocations: 111.2 MB / 124.2 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.842e-05/2.853e-05, allocations: 4 kB / 154.4 MB, free: 13.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1727, allocations: 25.15 MB / 179.5 MB, free: 0.7109 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0718/0.2446, allocations: 35.17 MB / 214.7 MB, free: 13.83 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.2449, allocations: 59.97 kB / 214.7 MB, free: 13.77 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04163/0.2865, allocations: 8.732 MB / 223.5 MB, free: 5.004 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2866, allocations: 0 / 223.5 MB, free: 5.004 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.371e-05/0.2866, allocations: 8 kB / 223.5 MB, free: 4.996 MB / 186.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.002101/0.2887, allocations: 0.6937 MB / 224.2 MB, free: 4.258 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.2888, allocations: 15.97 kB / 224.2 MB, free: 4.242 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001833/0.289, allocations: 82.52 kB / 224.3 MB, free: 4.152 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.2892, allocations: 55.34 kB / 224.3 MB, free: 4.098 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005185/0.2897, allocations: 289.4 kB / 224.6 MB, free: 3.777 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-05/0.2898, allocations: 33 kB / 224.6 MB, free: 3.746 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.2899, allocations: 44 kB / 224.7 MB, free: 3.703 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.2911, allocations: 398.4 kB / 225.1 MB, free: 3.309 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.435e-05/0.2912, allocations: 11.84 kB / 225.1 MB, free: 3.297 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.889e-05/0.2912, allocations: 20 kB / 225.1 MB, free: 3.277 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.2913, allocations: 12 kB / 225.1 MB, free: 3.266 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.2924, allocations: 343.9 kB / 225.5 MB, free: 2.93 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004095/0.2965, allocations: 1.347 MB / 226.8 MB, free: 1.52 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.2977, allocations: 449.7 kB / 227.2 MB, free: 1.074 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.2988, allocations: 316.8 kB / 227.6 MB, free: 0.7617 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.95e-05/0.2989, allocations: 16.53 kB / 227.6 MB, free: 0.7461 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/0.2989, allocations: 43.12 kB / 227.6 MB, free: 0.6914 MB / 186.7 MB Notification: Performance of pre-optimization done (n=62): time 3.486e-06/0.2989, allocations: 0 / 227.6 MB, free: 0.6914 MB / 186.7 MB Notification: Performance of matching and sorting (n=98): time 0.011/0.31, allocations: 2.669 MB / 230.3 MB, free: 13.93 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/0.3101, allocations: 68.14 kB / 230.3 MB, free: 13.85 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.3104, allocations: 207.2 kB / 230.6 MB, free: 13.64 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 7.713e-05/0.3105, allocations: 41.7 kB / 230.6 MB, free: 13.6 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.3107, allocations: 247.7 kB / 230.8 MB, free: 13.35 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003694/0.3111, allocations: 331.1 kB / 231.2 MB, free: 13.02 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.121e-05/0.3112, allocations: 16 kB / 231.2 MB, free: 13.01 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.3114, allocations: 342.8 kB / 231.5 MB, free: 12.66 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006415/0.312, allocations: 214 kB / 231.7 MB, free: 12.46 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007201/0.3128, allocations: 289.5 kB / 232 MB, free: 12.16 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006984/0.3135, allocations: 240.9 kB / 232.2 MB, free: 11.93 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3135, allocations: 4 kB / 232.2 MB, free: 11.93 MB / 202.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001731/0.3152, allocations: 0.6416 MB / 232.9 MB, free: 11.28 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.3153, allocations: 8.938 kB / 232.9 MB, free: 11.27 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.3153, allocations: 3.984 kB / 232.9 MB, free: 11.27 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.764e-05/0.3154, allocations: 4 kB / 232.9 MB, free: 11.27 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.3169, allocations: 207.8 kB / 233.1 MB, free: 11.06 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.477e-05/0.317, allocations: 4 kB / 233.1 MB, free: 11.06 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007084/0.3177, allocations: 71.84 kB / 233.2 MB, free: 10.99 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.779e-05/0.3178, allocations: 31.98 kB / 233.2 MB, free: 10.96 MB / 202.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 () * 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.0002321/0.318, allocations: 148.6 kB / 233.3 MB, free: 10.8 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.3182, allocations: 51.44 kB / 233.4 MB, free: 10.75 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.3184, allocations: 73.27 kB / 233.5 MB, free: 10.68 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.3185, allocations: 8 kB / 233.5 MB, free: 10.68 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.3185, allocations: 0 / 233.5 MB, free: 10.68 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.3185, allocations: 3.984 kB / 233.5 MB, free: 10.67 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004303/0.3228, allocations: 1.853 MB / 235.3 MB, free: 8.703 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.3229, allocations: 8.062 kB / 235.3 MB, free: 8.695 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/0.3246, allocations: 207.7 kB / 235.5 MB, free: 8.492 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.139e-05/0.3246, allocations: 8 kB / 235.6 MB, free: 8.484 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.315e-05/0.3247, allocations: 27.98 kB / 235.6 MB, free: 8.457 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-05/0.3248, allocations: 11.94 kB / 235.6 MB, free: 8.445 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.348e-06/0.3248, allocations: 7.938 kB / 235.6 MB, free: 8.438 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/0.3276, allocations: 1.409 MB / 237 MB, free: 6.836 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003652/0.328, allocations: 168.5 kB / 237.2 MB, free: 6.652 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.3282, allocations: 23.98 kB / 237.2 MB, free: 6.629 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007324/0.3289, allocations: 64.09 kB / 237.3 MB, free: 6.566 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.3291, allocations: 76.58 kB / 237.3 MB, free: 6.492 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.598e-05/0.3292, allocations: 28 kB / 237.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002383/0.3294, allocations: 163.1 kB / 237.5 MB, free: 6.309 MB / 202.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.3295, allocations: 4 kB / 237.5 MB, free: 6.305 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0007302/0.3302, allocations: 156 kB / 237.7 MB, free: 6.152 MB / 202.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 () * 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.003669/0.3339, allocations: 3.28 MB / 241 MB, free: 2.711 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001777/0.3357, allocations: 0.5991 MB / 241.6 MB, free: 2.109 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.3358, allocations: 0 / 241.6 MB, free: 2.109 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.3368, allocations: 384.3 kB / 241.9 MB, free: 1.734 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009801/0.3378, allocations: 89.64 kB / 242 MB, free: 1.648 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003825/0.3417, allocations: 1.388 MB / 243.4 MB, free: 164 kB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005552/0.3423, allocations: 0.8691 MB / 244.3 MB, free: 15.27 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005286/0.3428, allocations: 191.3 kB / 244.5 MB, free: 15.08 MB / 218.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3428, allocations: 0 / 244.5 MB, free: 15.08 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.595/2.937, allocations: 8.942 MB / 253.4 MB, free: 6.133 MB / 218.7 MB