Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedRotation.frame_b.r_0.1.|fixedRotation.frame_b.r_0.2.|fixedRotation.frame_b.r_0.3.|fixedRotation.frame_b.f.1.|fixedRotation.frame_b.f.2.|fixedRotation.frame_b.f.3.|fixedRotation.frame_b.t.1.|fixedRotation.frame_b.t.2.|fixedRotation.frame_b.t.3.|fixedRotation1.frame_b.r_0.1.|fixedRotation1.frame_b.r_0.2.|fixedRotation1.frame_b.r_0.3.|fixedRotation1.frame_b.f.1.|fixedRotation1.frame_b.f.2.|fixedRotation1.frame_b.f.3.|fixedRotation1.frame_b.t.1.|fixedRotation1.frame_b.t.2.|fixedRotation1.frame_b.t.3.|fixedRotation2.frame_b.r_0.1.|fixedRotation2.frame_b.r_0.2.|fixedRotation2.frame_b.r_0.3.|fixedRotation2.frame_b.f.1.|fixedRotation2.frame_b.f.2.|fixedRotation2.frame_b.f.3.|fixedRotation2.frame_b.t.1.|fixedRotation2.frame_b.t.2.|fixedRotation2.frame_b.t.3.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.FixedRotation") Notification: Performance of loadModel(ModelicaTest): time 2.224/2.224, allocations: 234.9 MB / 250.5 MB, free: 10.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000443/0.0004431, allocations: 19.98 kB / 314.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2763, allocations: 54.87 MB / 369.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.0458/0.3221, allocations: 34.14 MB / 403.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02017/0.3423, allocations: 7.596 MB / 410.9 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008923/0.3513, allocations: 171.6 kB / 411.1 MB, free: 0.793 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005498/0.3569, allocations: 1.859 MB / 413 MB, free: 14.93 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02135/0.3783, allocations: 5.135 MB / 418.1 MB, free: 9.777 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002802/0.3811, allocations: 295.5 kB / 418.4 MB, free: 9.488 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.02452/0.4057, allocations: 10.76 MB / 429.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006833/0.4126, allocations: 3.851 MB / 433 MB, free: 10.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002735/0.4154, allocations: 1.565 MB / 434.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003082/0.4185, allocations: 1.935 MB / 436.5 MB, free: 7.281 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008034/0.4193, allocations: 228 kB / 436.7 MB, free: 7.059 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.4209, allocations: 0.5735 MB / 437.3 MB, free: 6.484 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002867/0.4238, allocations: 2.377 MB / 439.7 MB, free: 4.102 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00166/0.4255, allocations: 1.325 MB / 441 MB, free: 2.766 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0116/0.4371, allocations: 8.129 MB / 449.1 MB, free: 10.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.8e-06/0.4372, allocations: 0 / 449.1 MB, free: 10.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.837e-06/0.4372, allocations: 0 / 449.1 MB, free: 10.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001867/0.4374, allocations: 0 / 449.1 MB, free: 10.62 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.01238/0.4498, allocations: 5.937 MB / 455.1 MB, free: 4.602 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.4498, allocations: 8.031 kB / 455.1 MB, free: 4.594 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03017/0.48, allocations: 7.134 MB / 462.2 MB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008308/0.4884, allocations: 3.201 MB / 465.4 MB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003849/0.4888, allocations: 323.9 kB / 465.7 MB, free: 9.848 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001712/0.4905, allocations: 411.7 kB / 466.1 MB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3326/0.8231, allocations: 18.99 MB / 485.1 MB, free: 80.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001155/0.8233, allocations: 39.31 kB / 485.2 MB, free: 80.28 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001173/0.8245, allocations: 207.6 kB / 485.4 MB, free: 80.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00812/0.8326, allocations: 4.742 MB / 490.1 MB, free: 79.4 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03635/0.869, allocations: 17.59 MB / 0.4958 GB, free: 65.24 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09344/0.9625, allocations: 61.27 MB / 0.5556 GB, free: 3.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03475/0.9973, allocations: 8.416 MB / 0.5638 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03859/1.036, allocations: 11.93 MB / 0.5755 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.521e-05/1.036, allocations: 64.56 kB / 0.5755 GB, free: 13.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=321): time 8.617e-06/1.036, allocations: 0 / 0.5755 GB, free: 13.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.02758/1.064, allocations: 8.547 MB / 0.5839 GB, free: 4.863 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.064, allocations: 103.1 kB / 0.584 GB, free: 4.746 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0122/1.076, allocations: 5.612 MB / 0.5895 GB, free: 15.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004537/1.077, allocations: 61.7 kB / 0.5895 GB, free: 15.08 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005776/1.082, allocations: 4.974 MB / 0.5944 GB, free: 10.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001869/1.084, allocations: 1.197 MB / 0.5956 GB, free: 8.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000711/1.085, allocations: 183.7 kB / 0.5957 GB, free: 8.754 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008719/1.086, allocations: 0.7239 MB / 0.5964 GB, free: 8.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007388/1.093, allocations: 3.177 MB / 0.5995 GB, free: 4.836 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01306/1.106, allocations: 8.593 MB / 0.6079 GB, free: 9.578 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/1.117, allocations: 5.265 MB / 0.6131 GB, free: 4.316 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001645/1.118, allocations: 56 kB / 0.6131 GB, free: 4.262 MB / 458.7 MB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.02774/1.145, allocations: 11.42 MB / 0.6243 GB, free: 8.832 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001836/1.146, allocations: 87.94 kB / 0.6244 GB, free: 8.746 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002927/1.146, allocations: 192 kB / 0.6246 GB, free: 8.559 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003883/1.146, allocations: 280 kB / 0.6248 GB, free: 8.285 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008778/1.155, allocations: 2.059 MB / 0.6268 GB, free: 6.223 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00045/1.156, allocations: 378.5 kB / 0.6272 GB, free: 5.852 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008482/1.164, allocations: 1.314 MB / 0.6285 GB, free: 4.523 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001668/1.166, allocations: 0.5584 MB / 0.629 GB, free: 3.969 MB / 474.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.008512/1.174, allocations: 3.697 MB / 0.6326 GB, free: 268 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009311/1.175, allocations: 485.5 kB / 0.6331 GB, free: 15.78 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/1.177, allocations: 0.641 MB / 0.6337 GB, free: 15.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001118/1.177, allocations: 55.98 kB / 0.6338 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/1.177, allocations: 4 kB / 0.6338 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.874e-05/1.177, allocations: 11.95 kB / 0.6338 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02833/1.205, allocations: 12.61 MB / 0.6461 GB, free: 2.234 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-05/1.205, allocations: 12 kB / 0.6461 GB, free: 2.223 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002272/1.208, allocations: 427.3 kB / 0.6465 GB, free: 1.805 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.78e-05/1.208, allocations: 24 kB / 0.6465 GB, free: 1.781 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002696/1.208, allocations: 56.72 kB / 0.6466 GB, free: 1.727 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.681e-05/1.208, allocations: 27.92 kB / 0.6466 GB, free: 1.699 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.521e-05/1.208, allocations: 31.83 kB / 0.6467 GB, free: 1.668 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.302/1.51, allocations: 4.605 MB / 0.6511 GB, free: 156.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/1.511, allocations: 0.5862 MB / 0.6517 GB, free: 156.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001081/1.513, allocations: 57.89 kB / 0.6518 GB, free: 156.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002405/1.515, allocations: 127.1 kB / 0.6519 GB, free: 156.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005209/1.516, allocations: 176.4 kB / 0.6521 GB, free: 156.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002946/1.516, allocations: 103.7 kB / 0.6522 GB, free: 156.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006682/1.523, allocations: 3.446 MB / 0.6555 GB, free: 155.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.58e-06/1.523, allocations: 0 / 0.6555 GB, free: 155.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008425/1.531, allocations: 1.988 MB / 0.6575 GB, free: 155 MB / 490.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.0007172/1.532, allocations: 195.3 kB / 0.6577 GB, free: 154.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01229/1.544, allocations: 7.217 MB / 0.6647 GB, free: 152.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/1.544, allocations: 0 / 0.6647 GB, free: 152.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00335/1.547, allocations: 2.007 MB / 0.6667 GB, free: 152 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00301/1.551, allocations: 0.561 MB / 0.6672 GB, free: 151.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0312/1.582, allocations: 19.32 MB / 0.6861 GB, free: 140.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009976/1.592, allocations: 5.58 MB / 0.6915 GB, free: 136.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001999/1.594, allocations: 451.4 kB / 0.692 GB, free: 135.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.76e-06/1.594, allocations: 0 / 0.692 GB, free: 135.8 MB / 490.7 MB Notification: Performance of Templates: time 0.1286/1.722, allocations: 89.7 MB / 0.7796 GB, free: 47.99 MB / 490.7 MB