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.Damper.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.Damper,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 0.9879/0.9879, allocations: 111.1 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002606/0.0002603, allocations: 4 kB / 158.3 MB, free: 15.13 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05277/0.05307, allocations: 25.17 MB / 183.5 MB, free: 5.918 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002853/0.05598, allocations: 1.642 MB / 185.2 MB, free: 4.277 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006391/0.05667, allocations: 215.3 kB / 185.4 MB, free: 4.066 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.05681, allocations: 7.938 kB / 185.4 MB, free: 4.059 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 7.423e-05/0.05689, allocations: 27.77 kB / 185.4 MB, free: 4.031 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.05716, allocations: 87.8 kB / 185.5 MB, free: 3.945 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.05736, allocations: 35.95 kB / 185.5 MB, free: 3.91 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003182/0.05769, allocations: 183.6 kB / 185.7 MB, free: 3.73 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.05794, allocations: 73.62 kB / 185.8 MB, free: 3.656 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.0581, allocations: 91.64 kB / 185.9 MB, free: 3.566 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.0583, allocations: 91.61 kB / 185.9 MB, free: 3.477 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.05835, allocations: 12 kB / 186 MB, free: 3.465 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.828e-05/0.05842, allocations: 12 kB / 186 MB, free: 3.453 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 5.135e-05/0.05848, allocations: 35.84 kB / 186 MB, free: 3.418 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 7.979e-05/0.05857, allocations: 65.58 kB / 186.1 MB, free: 3.348 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.05888, allocations: 191.4 kB / 186.3 MB, free: 3.16 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.05889, allocations: 0 / 186.3 MB, free: 3.16 MB / 154.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.0589, allocations: 0 / 186.3 MB, free: 3.16 MB / 154.7 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.05892, allocations: 0 / 186.3 MB, free: 3.16 MB / 154.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009525/0.05988, allocations: 0.495 MB / 186.8 MB, free: 2.617 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.49e-05/0.05996, allocations: 8.031 kB / 186.8 MB, free: 2.609 MB / 154.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.117e-05/0.06006, allocations: 54.55 kB / 186.8 MB, free: 2.547 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.102e-05/0.06014, allocations: 23.72 kB / 186.8 MB, free: 2.523 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.06046, allocations: 230.7 kB / 187.1 MB, free: 2.258 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.06051, allocations: 24.36 kB / 187.1 MB, free: 2.234 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.06059, allocations: 27.91 kB / 187.1 MB, free: 2.207 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000567/0.06117, allocations: 222.2 kB / 187.3 MB, free: 1.973 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.0612, allocations: 0 / 187.3 MB, free: 1.973 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.06124, allocations: 7.953 kB / 187.3 MB, free: 1.965 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.06126, allocations: 11.94 kB / 187.4 MB, free: 1.953 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004087/0.06168, allocations: 140.4 kB / 187.5 MB, free: 1.816 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.06319, allocations: 0.7705 MB / 188.3 MB, free: 0.9883 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/0.06392, allocations: 259.5 kB / 188.5 MB, free: 0.707 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.06398, allocations: 4 kB / 188.5 MB, free: 0.7031 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/0.06404, allocations: 46.5 kB / 188.6 MB, free: 0.6484 MB / 154.7 MB Notification: Performance of pre-optimization done (n=28): time 3.095e-06/0.06405, allocations: 0 / 188.6 MB, free: 0.6484 MB / 154.7 MB Notification: Performance of matching and sorting (n=40): time 0.003907/0.06796, allocations: 1.84 MB / 190.4 MB, free: 14.54 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.922e-05/0.06809, allocations: 114.8 kB / 190.5 MB, free: 14.41 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.06835, allocations: 182.3 kB / 190.7 MB, free: 14.22 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.0684, allocations: 33.7 kB / 190.7 MB, free: 14.18 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.06854, allocations: 199.1 kB / 190.9 MB, free: 13.98 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.06871, allocations: 141.9 kB / 191.1 MB, free: 13.84 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/0.06874, allocations: 4 kB / 191.1 MB, free: 13.84 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.0689, allocations: 326.8 kB / 191.4 MB, free: 13.51 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.06915, allocations: 80.84 kB / 191.5 MB, free: 13.43 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.06946, allocations: 150.3 kB / 191.6 MB, free: 13.27 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.06977, allocations: 99.94 kB / 191.7 MB, free: 13.17 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.06979, allocations: 4 kB / 191.7 MB, free: 13.16 MB / 170.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007411/0.07054, allocations: 307.2 kB / 192 MB, free: 12.86 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.07057, allocations: 4.094 kB / 192 MB, free: 12.86 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.0706, allocations: 11.94 kB / 192 MB, free: 12.84 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.07063, allocations: 8.094 kB / 192 MB, free: 12.84 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005911/0.07123, allocations: 83.91 kB / 192.1 MB, free: 12.75 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.07125, allocations: 0 / 192.1 MB, free: 12.75 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.07146, allocations: 8 kB / 192.1 MB, free: 12.75 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.0715, allocations: 19.95 kB / 192.1 MB, free: 12.73 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0002034/0.07172, allocations: 153.7 kB / 192.3 MB, free: 12.57 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.07184, allocations: 23.72 kB / 192.3 MB, free: 12.54 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.07197, allocations: 29.92 kB / 192.3 MB, free: 12.52 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.07199, allocations: 7.984 kB / 192.4 MB, free: 12.51 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.07201, allocations: 8 kB / 192.4 MB, free: 12.5 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.07203, allocations: 3.984 kB / 192.4 MB, free: 12.5 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.07399, allocations: 0.9919 MB / 193.4 MB, free: 11.42 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.07404, allocations: 4 kB / 193.4 MB, free: 11.41 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006859/0.07473, allocations: 84.12 kB / 193.4 MB, free: 11.33 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/0.07476, allocations: 8 kB / 193.4 MB, free: 11.32 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.0748, allocations: 8 kB / 193.5 MB, free: 11.32 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.398e-06/0.07482, allocations: 5.562 kB / 193.5 MB, free: 11.31 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.07484, allocations: 7.984 kB / 193.5 MB, free: 11.3 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.07596, allocations: 0.6705 MB / 194.1 MB, free: 10.58 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.07609, allocations: 104.8 kB / 194.2 MB, free: 10.46 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.346e-05/0.07616, allocations: 20.06 kB / 194.3 MB, free: 10.44 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.07648, allocations: 8 kB / 194.3 MB, free: 10.43 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.07655, allocations: 31.92 kB / 194.3 MB, free: 10.4 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.0766, allocations: 16 kB / 194.3 MB, free: 10.39 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.000157/0.07676, allocations: 136.1 kB / 194.4 MB, free: 10.25 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.07677, allocations: 192 / 194.4 MB, free: 10.25 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005706/0.07735, allocations: 68 kB / 194.5 MB, free: 10.19 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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.001487/0.07885, allocations: 1.235 MB / 195.8 MB, free: 8.895 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0006683/0.07956, allocations: 239.8 kB / 196 MB, free: 8.66 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.07958, allocations: 0 / 196 MB, free: 8.66 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002939/0.07988, allocations: 128.3 kB / 196.1 MB, free: 8.535 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007769/0.08067, allocations: 60.38 kB / 196.2 MB, free: 8.477 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004135/0.08482, allocations: 1.923 MB / 198.1 MB, free: 6.441 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.08531, allocations: 0.7689 MB / 198.9 MB, free: 5.648 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.08555, allocations: 83.42 kB / 198.9 MB, free: 5.566 MB / 170.7 MB Notification: Performance of SimCode: time 1.192e-06/0.08557, allocations: 0 / 198.9 MB, free: 5.566 MB / 170.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.727/2.813, allocations: 4.204 MB / 203.1 MB, free: 1.359 MB / 170.7 MB