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.SignConvention.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.SignConvention,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.289/1.289, allocations: 111.2 MB / 124.2 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.635e-05/2.649e-05, allocations: 4 kB / 154.4 MB, free: 13.1 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2071, allocations: 25.15 MB / 179.5 MB, free: 0.7109 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09641/0.3036, allocations: 33.52 MB / 213 MB, free: 15.49 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.3039, allocations: 63.97 kB / 213.1 MB, free: 15.43 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01237/0.3163, allocations: 2.823 MB / 215.9 MB, free: 12.59 MB / 186.7 MB Notification: Performance of FrontEnd: time 3.928e-06/0.3164, allocations: 4 kB / 215.9 MB, free: 12.59 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.3164, allocations: 7.938 kB / 215.9 MB, free: 12.58 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006607/0.3171, allocations: 422.1 kB / 216.3 MB, free: 12.12 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.3171, allocations: 15.97 kB / 216.4 MB, free: 12.11 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001175/0.3173, allocations: 50.55 kB / 216.4 MB, free: 12.05 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.342e-05/0.3173, allocations: 27.67 kB / 216.4 MB, free: 12.02 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.3176, allocations: 208.3 kB / 216.6 MB, free: 11.78 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.3177, allocations: 16 kB / 216.7 MB, free: 11.76 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-05/0.3177, allocations: 19.91 kB / 216.7 MB, free: 11.74 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004205/0.3181, allocations: 180.1 kB / 216.9 MB, free: 11.55 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.3182, allocations: 0 / 216.9 MB, free: 11.55 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.3182, allocations: 8 kB / 216.9 MB, free: 11.54 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.3182, allocations: 7.953 kB / 216.9 MB, free: 11.54 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.3185, allocations: 95.92 kB / 217 MB, free: 11.44 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.3202, allocations: 0.7718 MB / 217.7 MB, free: 10.6 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.3205, allocations: 119.8 kB / 217.9 MB, free: 10.45 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.3207, allocations: 46.64 kB / 217.9 MB, free: 10.4 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.3207, allocations: 4 kB / 217.9 MB, free: 10.39 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.3207, allocations: 38.56 kB / 217.9 MB, free: 10.35 MB / 186.7 MB Notification: Performance of pre-optimization done (n=13): time 3.125e-06/0.3207, allocations: 0 / 217.9 MB, free: 10.35 MB / 186.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003969/0.3211, allocations: 113.5 kB / 218.1 MB, free: 10.23 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.645e-05/0.3212, allocations: 102.8 kB / 218.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.3215, allocations: 189.9 kB / 218.3 MB, free: 9.91 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.3216, allocations: 25.7 kB / 218.4 MB, free: 9.879 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.3217, allocations: 202.4 kB / 218.6 MB, free: 9.676 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.659e-05/0.3218, allocations: 59.19 kB / 218.6 MB, free: 9.617 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/0.3218, allocations: 0 / 218.6 MB, free: 9.617 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.322, allocations: 322.8 kB / 218.9 MB, free: 9.293 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.3221, allocations: 36.41 kB / 219 MB, free: 9.254 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.3223, allocations: 129 kB / 219.1 MB, free: 9.086 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.3225, allocations: 59.92 kB / 219.2 MB, free: 9.027 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.3225, allocations: 0 / 219.2 MB, free: 9.027 MB / 186.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004691/0.323, allocations: 193.5 kB / 219.3 MB, free: 8.832 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.323, allocations: 8.062 kB / 219.3 MB, free: 8.824 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.323, allocations: 4 kB / 219.4 MB, free: 8.82 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/0.3231, allocations: 8 kB / 219.4 MB, free: 8.812 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.3234, allocations: 47.86 kB / 219.4 MB, free: 8.766 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/0.3234, allocations: 11.92 kB / 219.4 MB, free: 8.754 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.3236, allocations: 23.75 kB / 219.4 MB, free: 8.73 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.3237, allocations: 12 kB / 219.5 MB, free: 8.719 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0001054/0.3238, allocations: 119.6 kB / 219.6 MB, free: 8.598 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.3239, allocations: 19.77 kB / 219.6 MB, free: 8.578 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.859e-05/0.324, allocations: 32.98 kB / 219.6 MB, free: 8.547 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.324, allocations: 240 / 219.6 MB, free: 8.547 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.324, allocations: 4.062 kB / 219.6 MB, free: 8.543 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.324, allocations: 7.938 kB / 219.6 MB, free: 8.535 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006333/0.3247, allocations: 241.5 kB / 219.9 MB, free: 8.25 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3247, allocations: 0 / 219.9 MB, free: 8.25 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.325, allocations: 31.98 kB / 219.9 MB, free: 8.219 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/0.3251, allocations: 4 kB / 219.9 MB, free: 8.215 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.3251, allocations: 3.953 kB / 219.9 MB, free: 8.211 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.3251, allocations: 3.938 kB / 219.9 MB, free: 8.207 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.3251, allocations: 15.97 kB / 219.9 MB, free: 8.191 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005289/0.3257, allocations: 413.5 kB / 220.3 MB, free: 7.758 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.592e-05/0.3258, allocations: 96.77 kB / 220.4 MB, free: 7.645 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.3258, allocations: 8.062 kB / 220.4 MB, free: 7.637 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.3261, allocations: 4 kB / 220.4 MB, free: 7.633 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.3261, allocations: 7.984 kB / 220.4 MB, free: 7.625 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.3261, allocations: 11.94 kB / 220.5 MB, free: 7.613 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001916/0.3263, allocations: 152.4 kB / 220.6 MB, free: 7.465 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3263, allocations: 0 / 220.6 MB, free: 7.465 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004967/0.3268, allocations: 40 kB / 220.6 MB, free: 7.426 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0008426/0.3277, allocations: 1.082 MB / 221.7 MB, free: 6.305 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003264/0.328, allocations: 104.4 kB / 221.8 MB, free: 6.203 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3281, allocations: 4.188 kB / 221.8 MB, free: 6.199 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 9.226e-05/0.3282, allocations: 35.94 kB / 221.9 MB, free: 6.164 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.3287, allocations: 28.88 kB / 221.9 MB, free: 6.137 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.3305, allocations: 0.6577 MB / 222.6 MB, free: 5.434 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.3308, allocations: 0.7285 MB / 223.3 MB, free: 4.68 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.331, allocations: 59.42 kB / 223.3 MB, free: 4.621 MB / 186.7 MB Notification: Performance of SimCode: time 1.203e-06/0.331, allocations: 0 / 223.3 MB, free: 4.621 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.526/2.857, allocations: 2.714 MB / 226.1 MB, free: 1.906 MB / 186.7 MB