Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.232/2.232, allocations: 234.9 MB / 250.5 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005919/0.000592, allocations: 12 kB / 314.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3384, allocations: 54.87 MB / 369.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.03641/0.3749, allocations: 23.98 MB / 393.3 MB, free: 2.793 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01403/0.389, allocations: 5.126 MB / 398.4 MB, free: 13.65 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003966/0.393, allocations: 111.8 kB / 398.5 MB, free: 13.54 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004335/0.3974, allocations: 1.248 MB / 399.7 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01252/0.41, allocations: 3.366 MB / 403.1 MB, free: 8.91 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.4113, allocations: 75.92 kB / 403.2 MB, free: 8.836 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003587/0.4149, allocations: 1.563 MB / 404.7 MB, free: 7.27 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00373/0.4187, allocations: 1.974 MB / 406.7 MB, free: 5.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.4203, allocations: 0.7823 MB / 407.5 MB, free: 4.465 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001941/0.4223, allocations: 1.051 MB / 408.5 MB, free: 3.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006076/0.4229, allocations: 124 kB / 408.7 MB, free: 3.289 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001341/0.4242, allocations: 395.4 kB / 409.1 MB, free: 2.902 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001582/0.4258, allocations: 1.254 MB / 410.3 MB, free: 1.645 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008588/0.4267, allocations: 0.7102 MB / 411 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006637/0.4334, allocations: 4.295 MB / 415.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4334, allocations: 0 / 415.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.687e-06/0.4334, allocations: 0 / 415.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001642/0.4336, allocations: 0 / 415.3 MB, free: 12.62 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1517 * Number of variables: 1517 Notification: Performance of Generate backend data structure: time 0.007146/0.4408, allocations: 3.091 MB / 418.4 MB, free: 9.465 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.4408, allocations: 8.031 kB / 418.4 MB, free: 9.457 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001376/0.4422, allocations: 0.7 MB / 419.1 MB, free: 8.746 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02156/0.4638, allocations: 3.61 MB / 422.7 MB, free: 5.125 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004757/0.4686, allocations: 1.54 MB / 424.3 MB, free: 3.535 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/0.4688, allocations: 180.4 kB / 424.4 MB, free: 3.355 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008546/0.4697, allocations: 235.8 kB / 424.7 MB, free: 3.125 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02203/0.4918, allocations: 9.944 MB / 434.6 MB, free: 8.738 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.434e-05/0.4919, allocations: 19.81 kB / 434.6 MB, free: 8.719 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005524/0.4925, allocations: 115.8 kB / 434.7 MB, free: 8.605 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007155/0.4996, allocations: 2.522 MB / 437.3 MB, free: 6.078 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02545/0.5251, allocations: 8.922 MB / 446.2 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3598/0.885, allocations: 31.43 MB / 477.6 MB, free: 81.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008074/0.8932, allocations: 3.287 MB / 480.9 MB, free: 80.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.8933, allocations: 20.23 kB / 480.9 MB, free: 80.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.8934, allocations: 47.77 kB / 481 MB, free: 80.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=150): time 6.823e-06/0.8934, allocations: 0 / 481 MB, free: 80.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=150): time 0.01132/0.9047, allocations: 3.901 MB / 484.9 MB, free: 79.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.9048, allocations: 92.08 kB / 485 MB, free: 79.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0052/0.91, allocations: 3.125 MB / 488.1 MB, free: 78.63 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002104/0.9103, allocations: 43.97 kB / 488.1 MB, free: 78.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00173/0.912, allocations: 2.714 MB / 490.8 MB, free: 76.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000649/0.9127, allocations: 0.5748 MB / 491.4 MB, free: 76.06 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002744/0.913, allocations: 91.36 kB / 491.5 MB, free: 75.99 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003062/0.9133, allocations: 0.5223 MB / 492 MB, free: 75.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003047/0.9164, allocations: 1.519 MB / 493.5 MB, free: 75.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004413/0.9208, allocations: 4.484 MB / 498 MB, free: 70.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004927/0.9258, allocations: 2.629 MB / 0.4889 GB, free: 69.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.652e-05/0.9259, allocations: 30.66 kB / 0.489 GB, free: 69.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01143/0.9373, allocations: 5.768 MB / 0.4946 GB, free: 66.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.21e-05/0.9374, allocations: 54.05 kB / 0.4946 GB, free: 66.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-05/0.9375, allocations: 112.5 kB / 0.4947 GB, free: 66.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/0.9377, allocations: 156 kB / 0.4949 GB, free: 66.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005326/0.943, allocations: 1.073 MB / 0.4959 GB, free: 65.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001469/0.9432, allocations: 207.2 kB / 0.4961 GB, free: 65.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003912/0.9471, allocations: 0.6891 MB / 0.4968 GB, free: 64.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004661/0.9476, allocations: 309.3 kB / 0.4971 GB, free: 64.21 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * Number of states: 0 () * Number of discrete variables: 24 (arrow.color[3],arrow.color[2],arrow.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (596): * Single equations (assignments): 590 * Array equations: 6 * 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.003764/0.9514, allocations: 1.974 MB / 0.499 GB, free: 62.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004726/0.9519, allocations: 260.5 kB / 0.4993 GB, free: 61.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006877/0.9526, allocations: 332 kB / 0.4996 GB, free: 61.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.502e-05/0.9526, allocations: 16 kB / 0.4996 GB, free: 61.63 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/0.9526, allocations: 4 kB / 0.4996 GB, free: 61.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.9527, allocations: 3.984 kB / 0.4996 GB, free: 61.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01422/0.9669, allocations: 7.105 MB / 0.5066 GB, free: 54.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/0.967, allocations: 8.125 kB / 0.5066 GB, free: 54.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/0.9683, allocations: 179.7 kB / 0.5067 GB, free: 54.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.656e-05/0.9684, allocations: 12 kB / 0.5068 GB, free: 54.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.9685, allocations: 33.23 kB / 0.5068 GB, free: 54.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.424e-05/0.9685, allocations: 11.94 kB / 0.5068 GB, free: 54.14 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/0.9685, allocations: 15.92 kB / 0.5068 GB, free: 54.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003527/0.972, allocations: 2.269 MB / 0.509 GB, free: 51.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006986/0.9728, allocations: 373.1 kB / 0.5094 GB, free: 51.35 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005148/0.9733, allocations: 25.17 kB / 0.5094 GB, free: 51.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.9746, allocations: 47.95 kB / 0.5095 GB, free: 51.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.9748, allocations: 89.52 kB / 0.5095 GB, free: 51.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.9749, allocations: 51.72 kB / 0.5096 GB, free: 51.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003471/0.9784, allocations: 1.98 MB / 0.5115 GB, free: 49.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.9784, allocations: 0 / 0.5115 GB, free: 49.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004373/0.9828, allocations: 1.027 MB / 0.5125 GB, free: 48.14 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 simulation (102): * Single equations (assignments): 96 * Array equations: 6 * 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.003913/0.9867, allocations: 2.919 MB / 0.5154 GB, free: 45.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006683/0.9934, allocations: 3.552 MB / 0.5188 GB, free: 41.58 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.9935, allocations: 7.938 kB / 0.5189 GB, free: 41.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001563/0.995, allocations: 0.9236 MB / 0.5198 GB, free: 40.65 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.9967, allocations: 293.9 kB / 0.52 GB, free: 40.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0515/1.048, allocations: 26.45 MB / 0.5459 GB, free: 11.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004083/1.052, allocations: 3.15 MB / 0.5489 GB, free: 7.918 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002957/1.055, allocations: 1.624 MB / 0.5505 GB, free: 6.293 MB / 394.7 MB Notification: Performance of SimCode: time 1.213e-06/1.055, allocations: 0 / 0.5505 GB, free: 6.293 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.614/4.67, allocations: 67.89 MB / 0.6168 GB, free: 2.336 MB / 458.7 MB