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.FixedRotation.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.FixedRotation,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.302/2.302, allocations: 234.9 MB / 250.4 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004335, allocations: 12 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3532, allocations: 54.85 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.05233/0.4055, allocations: 34.16 MB / 403.4 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02113/0.4267, allocations: 7.596 MB / 411 MB, free: 2.887 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006617/0.4334, allocations: 167.6 kB / 411.2 MB, free: 2.723 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006289/0.4397, allocations: 1.851 MB / 413 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01941/0.4592, allocations: 5.147 MB / 418.2 MB, free: 11.7 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.4617, allocations: 283.6 kB / 418.5 MB, free: 11.43 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.03187/0.4936, allocations: 10.77 MB / 429.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00882/0.5025, allocations: 3.855 MB / 433.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004746/0.5073, allocations: 1.565 MB / 434.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00453/0.5119, allocations: 1.935 MB / 436.6 MB, free: 9.207 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00165/0.5136, allocations: 232 kB / 436.8 MB, free: 8.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002862/0.5165, allocations: 0.5735 MB / 437.4 MB, free: 8.406 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004471/0.521, allocations: 2.377 MB / 439.8 MB, free: 6.023 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002783/0.5239, allocations: 1.325 MB / 441.1 MB, free: 4.688 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01365/0.5376, allocations: 8.122 MB / 449.2 MB, free: 12.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.5376, allocations: 0 / 449.2 MB, free: 12.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.5377, allocations: 0 / 449.2 MB, free: 12.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003921/0.5381, allocations: 0 / 449.2 MB, free: 12.55 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2814 * Number of variables: 2814 Notification: Performance of Generate backend data structure: time 0.01684/0.5549, allocations: 5.945 MB / 455.1 MB, free: 6.523 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.555, allocations: 8.031 kB / 455.2 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004177/0.5592, allocations: 1.272 MB / 456.4 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04353/0.6028, allocations: 7.131 MB / 463.6 MB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/0.6135, allocations: 3.209 MB / 466.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004593/0.614, allocations: 323.9 kB / 467.1 MB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002646/0.6166, allocations: 411.7 kB / 467.5 MB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05085/0.6675, allocations: 19 MB / 486.5 MB, free: 6.332 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001812/0.6678, allocations: 31.69 kB / 486.5 MB, free: 6.301 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002917/0.6707, allocations: 207.7 kB / 486.7 MB, free: 6.098 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01425/0.685, allocations: 4.742 MB / 491.5 MB, free: 1.348 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3991/1.084, allocations: 17.58 MB / 0.4971 GB, free: 107.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1235/1.208, allocations: 61.27 MB / 0.5569 GB, free: 63.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.023/1.231, allocations: 8.407 MB / 0.5652 GB, free: 54.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03445/1.265, allocations: 11.93 MB / 0.5768 GB, free: 41.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/1.265, allocations: 60.56 kB / 0.5769 GB, free: 41.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=321): time 8.325e-06/1.266, allocations: 0 / 0.5769 GB, free: 41.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.03068/1.296, allocations: 8.549 MB / 0.5852 GB, free: 33.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/1.296, allocations: 103.1 kB / 0.5853 GB, free: 32.94 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01229/1.309, allocations: 5.612 MB / 0.5908 GB, free: 27.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006103/1.309, allocations: 61.7 kB / 0.5909 GB, free: 27.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003984/1.313, allocations: 4.977 MB / 0.5957 GB, free: 22.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001906/1.315, allocations: 1.205 MB / 0.5969 GB, free: 21.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/1.316, allocations: 179.8 kB / 0.5971 GB, free: 20.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007903/1.317, allocations: 0.7355 MB / 0.5978 GB, free: 20.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008198/1.325, allocations: 3.165 MB / 0.6009 GB, free: 17.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01168/1.337, allocations: 8.593 MB / 0.6093 GB, free: 5.766 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01158/1.349, allocations: 5.262 MB / 0.6144 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001866/1.349, allocations: 55.98 kB / 0.6145 GB, free: 460 kB / 426.7 MB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.03275/1.382, allocations: 11.41 MB / 0.6256 GB, free: 5.027 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001788/1.382, allocations: 90.03 kB / 0.6257 GB, free: 4.941 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003428/1.382, allocations: 188 kB / 0.6259 GB, free: 4.758 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003976/1.383, allocations: 280 kB / 0.6261 GB, free: 4.484 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01362/1.396, allocations: 2.07 MB / 0.6282 GB, free: 2.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005425/1.397, allocations: 378.5 kB / 0.6285 GB, free: 2.039 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009816/1.407, allocations: 1.314 MB / 0.6298 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001962/1.409, allocations: 0.5469 MB / 0.6303 GB, free: 172 kB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 865 * Number of states: 0 () * Number of discrete variables: 30 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1137): * Single equations (assignments): 1119 * Array equations: 18 * 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.009898/1.419, allocations: 3.701 MB / 0.6339 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001125/1.42, allocations: 485.5 kB / 0.6344 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001935/1.422, allocations: 0.6449 MB / 0.635 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001484/1.422, allocations: 55.98 kB / 0.6351 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.007e-05/1.422, allocations: 4 kB / 0.6351 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.498e-05/1.422, allocations: 7.969 kB / 0.6351 GB, free: 11.26 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03653/1.459, allocations: 12.6 MB / 0.6474 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.448e-05/1.459, allocations: 16.12 kB / 0.6474 GB, free: 14.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003952/1.463, allocations: 427.3 kB / 0.6478 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-05/1.463, allocations: 31.89 kB / 0.6479 GB, free: 13.97 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005435/1.463, allocations: 64.3 kB / 0.6479 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.247e-05/1.463, allocations: 35.92 kB / 0.648 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.281e-05/1.463, allocations: 19.88 kB / 0.648 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/1.475, allocations: 4.61 MB / 0.6525 GB, free: 9.012 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001764/1.477, allocations: 0.5917 MB / 0.6531 GB, free: 8.395 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001874/1.479, allocations: 51.95 kB / 0.6531 GB, free: 8.344 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003819/1.482, allocations: 131.4 kB / 0.6532 GB, free: 8.219 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008388/1.483, allocations: 168.8 kB / 0.6534 GB, free: 8.055 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003718/1.484, allocations: 103.7 kB / 0.6535 GB, free: 7.957 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009616/1.493, allocations: 3.442 MB / 0.6569 GB, free: 4.535 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.31e-07/1.493, allocations: 0 / 0.6569 GB, free: 4.535 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01037/1.504, allocations: 1.982 MB / 0.6588 GB, free: 2.551 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * 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.01219/1.516, allocations: 5.292 MB / 0.664 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01907/1.535, allocations: 7.227 MB / 0.671 GB, free: 5.832 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.852e-05/1.535, allocations: 4 kB / 0.671 GB, free: 5.828 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005361/1.541, allocations: 2.002 MB / 0.673 GB, free: 3.832 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004238/1.545, allocations: 0.5509 MB / 0.6735 GB, free: 3.285 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4036/1.948, allocations: 34.73 MB / 0.7074 GB, free: 144.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0159/1.964, allocations: 5.58 MB / 0.7129 GB, free: 142.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009985/1.974, allocations: 3.389 MB / 0.7162 GB, free: 139 MB / 490.7 MB Notification: Performance of SimCode: time 1.893e-06/1.975, allocations: 0 / 0.7162 GB, free: 139 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.7/6.675, allocations: 132 MB / 0.8451 GB, free: 6.906 MB / 490.7 MB