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.WhyArrows.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.WhyArrows,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.058/1.058, allocations: 111.1 MB / 126.7 MB, free: 6.129 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002813/0.0002813, allocations: 8 kB / 158.4 MB, free: 15.08 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05714/0.05747, allocations: 25.18 MB / 183.6 MB, free: 5.867 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2292/0.2867, allocations: 33.66 MB / 217.3 MB, free: 6.391 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.287, allocations: 63.34 kB / 217.3 MB, free: 6.383 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0126/0.2996, allocations: 3.331 MB / 220.7 MB, free: 5 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.2997, allocations: 4 kB / 220.7 MB, free: 4.996 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.2997, allocations: 3.875 kB / 220.7 MB, free: 4.996 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007069/0.3004, allocations: 475.4 kB / 221.1 MB, free: 4.566 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3005, allocations: 7.438 kB / 221.1 MB, free: 4.566 MB / 170.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.937e-05/0.3006, allocations: 58.62 kB / 221.2 MB, free: 4.52 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.886e-05/0.3006, allocations: 30.92 kB / 221.2 MB, free: 4.5 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.3008, allocations: 182.5 kB / 221.4 MB, free: 4.289 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.3008, allocations: 21.59 kB / 221.4 MB, free: 4.289 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.172e-05/0.3009, allocations: 27.03 kB / 221.4 MB, free: 4.285 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.3013, allocations: 222.8 kB / 221.7 MB, free: 4.18 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.3014, allocations: 3.984 kB / 221.7 MB, free: 4.176 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.3014, allocations: 10.66 kB / 221.7 MB, free: 4.176 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.3014, allocations: 11.8 kB / 221.7 MB, free: 4.168 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003369/0.3018, allocations: 134.6 kB / 221.8 MB, free: 4.148 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.3032, allocations: 0.8604 MB / 222.7 MB, free: 3.484 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.3035, allocations: 167.9 kB / 222.8 MB, free: 3.391 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.3036, allocations: 0 / 222.8 MB, free: 3.391 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.3036, allocations: 41.81 kB / 222.9 MB, free: 3.348 MB / 170.7 MB Notification: Performance of pre-optimization done (n=17): time 1.993e-06/0.3036, allocations: 0 / 222.9 MB, free: 3.348 MB / 170.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005192/0.3041, allocations: 172.2 kB / 223.1 MB, free: 3.285 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.3042, allocations: 102.8 kB / 223.2 MB, free: 3.16 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.3044, allocations: 177.4 kB / 223.3 MB, free: 3.051 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.3044, allocations: 25.7 kB / 223.4 MB, free: 3.02 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.999e-05/0.3045, allocations: 217.6 kB / 223.6 MB, free: 2.828 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.3046, allocations: 67.16 kB / 223.6 MB, free: 2.781 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/0.3046, allocations: 11.34 kB / 223.6 MB, free: 2.777 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.714e-05/0.3047, allocations: 322.3 kB / 224 MB, free: 2.457 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.3048, allocations: 56.95 kB / 224 MB, free: 2.441 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.305, allocations: 151.2 kB / 224.2 MB, free: 2.301 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.3052, allocations: 75.25 kB / 224.2 MB, free: 2.289 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.3052, allocations: 0 / 224.2 MB, free: 2.289 MB / 170.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005003/0.3057, allocations: 234.5 kB / 224.5 MB, free: 2.215 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.3058, allocations: 7.812 kB / 224.5 MB, free: 2.215 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.3058, allocations: 3.719 kB / 224.5 MB, free: 2.215 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.3058, allocations: 7.812 kB / 224.5 MB, free: 2.211 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.3062, allocations: 55.86 kB / 224.5 MB, free: 2.203 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.3062, allocations: 15.92 kB / 224.6 MB, free: 2.195 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.3065, allocations: 30.22 kB / 224.6 MB, free: 2.18 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.3065, allocations: 11.19 kB / 224.6 MB, free: 2.18 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * 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.0001583/0.3067, allocations: 143 kB / 224.7 MB, free: 2.055 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.894e-05/0.3068, allocations: 18.06 kB / 224.7 MB, free: 2.047 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.186e-05/0.3069, allocations: 25.98 kB / 224.8 MB, free: 2.035 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.3069, allocations: 7.812 kB / 224.8 MB, free: 2.031 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3069, allocations: 0 / 224.8 MB, free: 2.031 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3069, allocations: 3.719 kB / 224.8 MB, free: 2.031 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006658/0.3076, allocations: 419.1 kB / 225.2 MB, free: 1.664 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3076, allocations: 0 / 225.2 MB, free: 1.664 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.308, allocations: 41.88 kB / 225.2 MB, free: 1.652 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.308, allocations: 3.781 kB / 225.2 MB, free: 1.652 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.3081, allocations: 7.5 kB / 225.2 MB, free: 1.648 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.3081, allocations: 3.75 kB / 225.2 MB, free: 1.648 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3081, allocations: 0 / 225.2 MB, free: 1.648 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000471/0.3086, allocations: 427.8 kB / 225.7 MB, free: 1.316 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.734e-05/0.3086, allocations: 96.7 kB / 225.8 MB, free: 1.207 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.3087, allocations: 7.5 kB / 225.8 MB, free: 1.207 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.3089, allocations: 3.812 kB / 225.8 MB, free: 1.207 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.309, allocations: 11.52 kB / 225.8 MB, free: 1.203 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.309, allocations: 7.688 kB / 225.8 MB, free: 1.199 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001433/0.3091, allocations: 148.1 kB / 225.9 MB, free: 1.105 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.3091, allocations: 0 / 225.9 MB, free: 1.105 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005213/0.3097, allocations: 57.22 kB / 226 MB, free: 1.098 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * 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 (17): * Single equations (assignments): 17 * 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.0007569/0.3104, allocations: 1.241 MB / 227.2 MB, free: 15.96 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004009/0.3109, allocations: 147.1 kB / 227.4 MB, free: 15.93 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3109, allocations: 0 / 227.4 MB, free: 15.93 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.311, allocations: 50.61 kB / 227.4 MB, free: 15.92 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.3115, allocations: 26.86 kB / 227.5 MB, free: 15.91 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004116/0.3156, allocations: 3.716 MB / 231.2 MB, free: 12.61 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.3162, allocations: 0.7378 MB / 231.9 MB, free: 11.88 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.3164, allocations: 63.03 kB / 232 MB, free: 11.87 MB / 186.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3164, allocations: 4 kB / 232 MB, free: 11.86 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.622/2.938, allocations: 3.103 MB / 235.1 MB, free: 10.33 MB / 186.7 MB