Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.971/1.971, allocations: 209.3 MB / 224.8 MB, free: 0.6016 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005932/0.0005934, allocations: 8 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3434, allocations: 48.71 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.05003/0.3934, allocations: 34.14 MB / 365.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02184/0.4153, allocations: 7.595 MB / 373 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007155/0.4226, allocations: 171.6 kB / 373.2 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006485/0.4291, allocations: 1.855 MB / 375 MB, free: 2.656 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01988/0.449, allocations: 5.151 MB / 380.2 MB, free: 13.49 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002663/0.4517, allocations: 287.6 kB / 380.5 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.03148/0.4833, allocations: 10.76 MB / 391.2 MB, free: 2.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008128/0.4915, allocations: 3.855 MB / 395.1 MB, free: 14.51 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003709/0.4952, allocations: 1.565 MB / 396.6 MB, free: 12.94 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004061/0.4993, allocations: 1.938 MB / 398.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001543/0.5009, allocations: 232 kB / 398.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002647/0.5036, allocations: 0.5696 MB / 399.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00412/0.5078, allocations: 2.369 MB / 401.8 MB, free: 7.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002363/0.5102, allocations: 1.325 MB / 403.1 MB, free: 6.484 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01281/0.5231, allocations: 8.126 MB / 411.2 MB, free: 14.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5231, allocations: 0 / 411.2 MB, free: 14.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.642e-06/0.5231, allocations: 0 / 411.2 MB, free: 14.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000371/0.5235, allocations: 3.938 kB / 411.2 MB, free: 14.34 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: 2814 * Number of variables: 2814 Notification: Performance of Generate backend data structure: time 0.01641/0.5399, allocations: 5.937 MB / 417.1 MB, free: 8.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.54, allocations: 8.031 kB / 417.2 MB, free: 8.312 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004092/0.5441, allocations: 1.276 MB / 418.4 MB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0424/0.5866, allocations: 7.127 MB / 425.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01046/0.5971, allocations: 3.201 MB / 428.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004318/0.5976, allocations: 327.8 kB / 429.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002713/0.6003, allocations: 415.7 kB / 429.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04727/0.6476, allocations: 18.99 MB / 448.5 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001538/0.6478, allocations: 35.64 kB / 448.5 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001472/0.6493, allocations: 211.6 kB / 448.7 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01345/0.6628, allocations: 4.742 MB / 453.5 MB, free: 3.148 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05267/0.7155, allocations: 17.59 MB / 471.1 MB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4062/1.122, allocations: 61.24 MB / 0.5198 GB, free: 63.17 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02235/1.144, allocations: 8.412 MB / 0.528 GB, free: 55.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0335/1.178, allocations: 11.93 MB / 0.5397 GB, free: 43.38 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/1.178, allocations: 56.56 kB / 0.5397 GB, free: 43.31 MB / 394.7 MB Notification: Performance of pre-optimization done (n=321): time 8.366e-06/1.178, allocations: 4 kB / 0.5397 GB, free: 43.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=321): time 0.02842/1.206, allocations: 8.552 MB / 0.5481 GB, free: 34.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.646e-05/1.206, allocations: 103.1 kB / 0.5482 GB, free: 34.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0108/1.217, allocations: 5.62 MB / 0.5537 GB, free: 28.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005768/1.218, allocations: 69.3 kB / 0.5537 GB, free: 28.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003693/1.221, allocations: 4.966 MB / 0.5586 GB, free: 23.72 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001753/1.223, allocations: 1.198 MB / 0.5598 GB, free: 22.54 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008986/1.224, allocations: 183.8 kB / 0.5599 GB, free: 22.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0006686/1.225, allocations: 0.7317 MB / 0.5607 GB, free: 21.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007611/1.233, allocations: 3.165 MB / 0.5637 GB, free: 18.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01103/1.244, allocations: 8.601 MB / 0.5721 GB, free: 7.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01125/1.255, allocations: 5.257 MB / 0.5773 GB, free: 1.918 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002066/1.255, allocations: 59.94 kB / 0.5773 GB, free: 1.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.03098/1.286, allocations: 11.42 MB / 0.5885 GB, free: 6.453 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001743/1.286, allocations: 84.22 kB / 0.5886 GB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000341/1.287, allocations: 200 kB / 0.5888 GB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003758/1.287, allocations: 284 kB / 0.589 GB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01293/1.3, allocations: 2.063 MB / 0.591 GB, free: 3.832 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004765/1.301, allocations: 374.5 kB / 0.5914 GB, free: 3.465 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009698/1.31, allocations: 1.322 MB / 0.5927 GB, free: 2.133 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001853/1.312, allocations: 0.5544 MB / 0.5932 GB, free: 1.582 MB / 410.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.009635/1.322, allocations: 3.698 MB / 0.5968 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/1.323, allocations: 485.5 kB / 0.5973 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002134/1.325, allocations: 0.641 MB / 0.5979 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001538/1.325, allocations: 51.98 kB / 0.598 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.531e-05/1.325, allocations: 7.953 kB / 0.598 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.75e-05/1.325, allocations: 11.95 kB / 0.598 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03598/1.361, allocations: 12.61 MB / 0.6103 GB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.841e-05/1.362, allocations: 12 kB / 0.6103 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003549/1.365, allocations: 423.3 kB / 0.6107 GB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.671e-05/1.365, allocations: 27.98 kB / 0.6108 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002805/1.365, allocations: 55.94 kB / 0.6108 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.923e-05/1.365, allocations: 35.86 kB / 0.6108 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.123e-05/1.366, allocations: 19.94 kB / 0.6109 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009811/1.375, allocations: 4.618 MB / 0.6154 GB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001634/1.377, allocations: 0.5838 MB / 0.6159 GB, free: 9.828 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001245/1.378, allocations: 59.5 kB / 0.616 GB, free: 9.773 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002942/1.381, allocations: 127.6 kB / 0.6161 GB, free: 9.652 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005248/1.382, allocations: 180.8 kB / 0.6163 GB, free: 9.477 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003075/1.382, allocations: 95.98 kB / 0.6164 GB, free: 9.383 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008692/1.391, allocations: 3.442 MB / 0.6197 GB, free: 5.961 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.52e-07/1.391, allocations: 0 / 0.6197 GB, free: 5.961 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009725/1.401, allocations: 1.99 MB / 0.6217 GB, free: 3.973 MB / 442.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.2985/1.699, allocations: 5.278 MB / 0.6268 GB, free: 137.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01757/1.717, allocations: 7.225 MB / 0.6339 GB, free: 136.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.444e-05/1.717, allocations: 2.062 kB / 0.6339 GB, free: 136.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004667/1.722, allocations: 2.001 MB / 0.6359 GB, free: 135.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00399/1.726, allocations: 0.5576 MB / 0.6364 GB, free: 135.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0609/1.786, allocations: 34.72 MB / 0.6703 GB, free: 107.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01213/1.799, allocations: 5.576 MB / 0.6758 GB, free: 106.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007632/1.806, allocations: 3.393 MB / 0.6791 GB, free: 103.4 MB / 442.7 MB Notification: Performance of SimCode: time 2.004e-06/1.806, allocations: 3.938 kB / 0.6791 GB, free: 103.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.132/6.938, allocations: 132 MB / 0.8079 GB, free: 142.3 MB / 458.7 MB