Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.986/1.986, allocations: 194.9 MB / 211.1 MB, free: 7.57 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004879, allocations: 12 kB / 264.1 MB, free: 2.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3542, allocations: 44.5 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.004282/0.3585, allocations: 1.763 MB / 310.3 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008262/0.3594, allocations: 199.3 kB / 310.5 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.3596, allocations: 8 kB / 310.5 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.3598, allocations: 19.84 kB / 310.5 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.3601, allocations: 67.78 kB / 310.6 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.3604, allocations: 35.95 kB / 310.6 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004166/0.3608, allocations: 159.7 kB / 310.8 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003829/0.3612, allocations: 81.98 kB / 310.9 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.3614, allocations: 71.72 kB / 310.9 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.3617, allocations: 87.62 kB / 311 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.887e-05/0.3618, allocations: 12 kB / 311 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004031/0.3622, allocations: 16 kB / 311.1 MB, free: 10.13 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003005/0.3626, allocations: 31.84 kB / 311.1 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003189/0.363, allocations: 65.58 kB / 311.2 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008792/0.3639, allocations: 188.4 kB / 311.3 MB, free: 9.844 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3639, allocations: 0 / 311.3 MB, free: 9.844 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.013e-06/0.364, allocations: 0 / 311.3 MB, free: 9.844 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.364, allocations: 3.938 kB / 311.3 MB, free: 9.84 MB / 250.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.001223/0.3652, allocations: 487.2 kB / 311.8 MB, free: 9.316 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.58e-05/0.3653, allocations: 8.031 kB / 311.8 MB, free: 9.309 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/0.3654, allocations: 58.53 kB / 311.9 MB, free: 9.242 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.826e-05/0.3656, allocations: 23.72 kB / 311.9 MB, free: 9.219 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004356/0.366, allocations: 222.7 kB / 312.1 MB, free: 8.961 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/0.3661, allocations: 16.56 kB / 312.1 MB, free: 8.945 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-05/0.3662, allocations: 20 kB / 312.2 MB, free: 8.926 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.3679, allocations: 232.3 kB / 312.4 MB, free: 8.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/0.368, allocations: 7.938 kB / 312.4 MB, free: 8.672 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.493e-05/0.3681, allocations: 8 kB / 312.4 MB, free: 8.664 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.3681, allocations: 4 kB / 312.4 MB, free: 8.66 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005523/0.3687, allocations: 135.8 kB / 312.5 MB, free: 8.527 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003656/0.3724, allocations: 0.8637 MB / 313.4 MB, free: 7.602 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/0.3729, allocations: 151.7 kB / 313.6 MB, free: 7.426 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.373, allocations: 11.97 kB / 313.6 MB, free: 7.414 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.3731, allocations: 38.5 kB / 313.6 MB, free: 7.367 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 4.859e-06/0.3731, allocations: 0 / 313.6 MB, free: 7.367 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.000809/0.3739, allocations: 165.7 kB / 313.8 MB, free: 7.199 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.203e-05/0.374, allocations: 110.8 kB / 313.9 MB, free: 7.066 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.3744, allocations: 187.2 kB / 314.1 MB, free: 6.875 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.3745, allocations: 29.7 kB / 314.1 MB, free: 6.84 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.3747, allocations: 159.8 kB / 314.2 MB, free: 6.68 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.3748, allocations: 63.11 kB / 314.3 MB, free: 6.617 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.3748, allocations: 12 kB / 314.3 MB, free: 6.605 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.375, allocations: 330.8 kB / 314.6 MB, free: 6.273 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.3753, allocations: 44.55 kB / 314.7 MB, free: 6.227 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/0.3757, allocations: 154.7 kB / 314.8 MB, free: 6.027 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003358/0.376, allocations: 76.55 kB / 314.9 MB, free: 5.953 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.376, allocations: 3.953 kB / 314.9 MB, free: 5.949 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008972/0.3769, allocations: 245.4 kB / 315.2 MB, free: 5.703 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.496e-05/0.377, allocations: 8 kB / 315.2 MB, free: 5.695 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.377, allocations: 4 kB / 315.2 MB, free: 5.691 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.369e-05/0.3771, allocations: 7.984 kB / 315.2 MB, free: 5.684 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/0.3777, allocations: 55.92 kB / 315.2 MB, free: 5.629 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/0.3777, allocations: 7.938 kB / 315.2 MB, free: 5.621 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.3781, allocations: 31.62 kB / 315.3 MB, free: 5.59 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.3782, allocations: 16 kB / 315.3 MB, free: 5.574 MB / 250.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.000252/0.3784, allocations: 143.7 kB / 315.4 MB, free: 5.426 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.3786, allocations: 23.77 kB / 315.4 MB, free: 5.402 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.3787, allocations: 21.41 kB / 315.5 MB, free: 5.383 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.3788, allocations: 4 kB / 315.5 MB, free: 5.379 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.3788, allocations: 0 / 315.5 MB, free: 5.379 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.3788, allocations: 3.984 kB / 315.5 MB, free: 5.375 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.3801, allocations: 416.8 kB / 315.9 MB, free: 4.902 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.3802, allocations: 8.094 kB / 315.9 MB, free: 4.895 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005344/0.3808, allocations: 35.92 kB / 315.9 MB, free: 4.859 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-05/0.3808, allocations: 4 kB / 315.9 MB, free: 4.855 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.3808, allocations: 8 kB / 315.9 MB, free: 4.848 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.08e-05/0.3809, allocations: 3.984 kB / 315.9 MB, free: 4.844 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.3809, allocations: 0 / 315.9 MB, free: 4.844 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008178/0.3817, allocations: 383.1 kB / 316.3 MB, free: 4.441 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.3819, allocations: 92.86 kB / 316.4 MB, free: 4.332 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.219e-05/0.3819, allocations: 4 kB / 316.4 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000349/0.3823, allocations: 7.938 kB / 316.4 MB, free: 4.32 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.3824, allocations: 12.03 kB / 316.4 MB, free: 4.309 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.3824, allocations: 12 kB / 316.4 MB, free: 4.297 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002438/0.3827, allocations: 143.4 kB / 316.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.3827, allocations: 0 / 316.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0008771/0.3836, allocations: 51.91 kB / 316.6 MB, free: 4.105 MB / 250.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.001221/0.3848, allocations: 0.9134 MB / 317.5 MB, free: 3.156 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006059/0.3855, allocations: 139.7 kB / 317.7 MB, free: 3.02 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3855, allocations: 0 / 317.7 MB, free: 3.02 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.3857, allocations: 56.78 kB / 317.7 MB, free: 2.965 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006937/0.3864, allocations: 24.98 kB / 317.8 MB, free: 2.941 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004398/0.3908, allocations: 1.445 MB / 319.2 MB, free: 1.379 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/0.3914, allocations: 0.7397 MB / 319.9 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002609/0.3917, allocations: 25.94 kB / 320 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.3919, allocations: 59.42 kB / 320 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of SimCode: time 1.222e-06/0.392, allocations: 0 / 320 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/0.421, allocations: 3.316 MB / 323.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004275/0.4214, allocations: 185.9 kB / 323.5 MB, free: 13 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/2.812, allocations: 0 / 323.5 MB, free: 13 MB / 266.7 MB