Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedTranslation.frame_b.r_0.1.|fixedTranslation.frame_b.r_0.2.|fixedTranslation.frame_b.r_0.3.|fixedTranslation.frame_b.f.1.|fixedTranslation.frame_b.f.2.|fixedTranslation.frame_b.f.3.|fixedTranslation.frame_b.t.1.|fixedTranslation.frame_b.t.2.|fixedTranslation.frame_b.t.3.|fixed1.frame_b.r_0.1.|fixed1.frame_b.r_0.2.|fixed1.frame_b.r_0.3.|fixed1.frame_b.f.1.|fixed1.frame_b.f.2.|fixed1.frame_b.f.3.|fixed1.frame_b.t.1.|fixed1.frame_b.t.2.|fixed1.frame_b.t.3.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation") Notification: Performance of loadModel(ModelicaTest): time 1.849/1.849, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004355, allocations: 15.98 kB / 282.5 MB, free: 9.637 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2827, allocations: 48.7 MB / 331.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.02975/0.3125, allocations: 23.98 MB / 355.2 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01425/0.3268, allocations: 5.114 MB / 360.3 MB, free: 1.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005098/0.3319, allocations: 112.7 kB / 360.4 MB, free: 1.215 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003916/0.3358, allocations: 1.258 MB / 361.7 MB, free: 12 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01179/0.3477, allocations: 3.347 MB / 365 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.3488, allocations: 87.86 kB / 365.1 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003326/0.3521, allocations: 1.559 MB / 366.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003309/0.3555, allocations: 1.967 MB / 368.6 MB, free: 8.992 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.3568, allocations: 0.7901 MB / 369.4 MB, free: 8.199 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.3585, allocations: 1.039 MB / 370.4 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003848/0.3589, allocations: 124 kB / 370.6 MB, free: 7.035 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.3599, allocations: 391.5 kB / 370.9 MB, free: 6.652 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001498/0.3614, allocations: 1.266 MB / 372.2 MB, free: 5.383 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008378/0.3623, allocations: 0.7102 MB / 372.9 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005737/0.3681, allocations: 4.299 MB / 377.2 MB, free: 364 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.3681, allocations: 0 / 377.2 MB, free: 364 kB / 298.7 MB Notification: Performance of FrontEnd: time 2.399e-06/0.3681, allocations: 0 / 377.2 MB, free: 364 kB / 298.7 MB Notification: Performance of Transformations before backend: time 4.65e-05/0.3682, allocations: 0 / 377.2 MB, free: 364 kB / 298.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.005323/0.3735, allocations: 3.083 MB / 380.3 MB, free: 13.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3735, allocations: 8.031 kB / 380.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02796/0.4015, allocations: 3.614 MB / 383.9 MB, free: 9.574 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006761/0.4083, allocations: 1.54 MB / 385.5 MB, free: 7.988 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003306/0.4087, allocations: 180.4 kB / 385.6 MB, free: 7.809 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001276/0.41, allocations: 235.8 kB / 385.9 MB, free: 7.578 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03201/0.442, allocations: 9.932 MB / 395.8 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-05/0.4422, allocations: 23.8 kB / 395.8 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000477/0.4427, allocations: 119.8 kB / 395.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005327/0.448, allocations: 2.529 MB / 398.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02156/0.4696, allocations: 8.915 MB / 407.4 MB, free: 1.598 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08472/0.5544, allocations: 31.45 MB / 438.8 MB, free: 1.293 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01598/0.5704, allocations: 3.287 MB / 442.1 MB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001698/0.5706, allocations: 25 kB / 442.1 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.637e-05/0.5708, allocations: 47.5 kB / 442.2 MB, free: 13.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=150): time 1.114e-05/0.5708, allocations: 0 / 442.2 MB, free: 13.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=150): time 0.01555/0.5864, allocations: 3.895 MB / 446.1 MB, free: 9.688 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/0.5865, allocations: 90.11 kB / 446.2 MB, free: 9.578 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00573/0.5922, allocations: 3.128 MB / 449.3 MB, free: 6.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001862/0.5924, allocations: 41.7 kB / 449.3 MB, free: 6.383 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002569/0.595, allocations: 2.714 MB / 452.1 MB, free: 3.633 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008302/0.5959, allocations: 0.5669 MB / 452.6 MB, free: 3.059 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/0.5962, allocations: 96 kB / 452.7 MB, free: 2.965 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004839/0.5967, allocations: 0.5213 MB / 453.2 MB, free: 2.434 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003183/0.5999, allocations: 1.516 MB / 454.8 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006062/0.606, allocations: 4.49 MB / 459.2 MB, free: 10.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005316/0.6113, allocations: 2.62 MB / 461.9 MB, free: 8.309 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.638e-05/0.6114, allocations: 28 kB / 461.9 MB, free: 8.281 MB / 394.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01321/0.6247, allocations: 5.77 MB / 467.7 MB, free: 2.508 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.6248, allocations: 54.3 kB / 467.7 MB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001568/0.625, allocations: 108 kB / 467.8 MB, free: 2.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002114/0.6252, allocations: 160.7 kB / 468 MB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004309/0.6295, allocations: 1.076 MB / 469.1 MB, free: 1.117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002368/0.6298, allocations: 211.2 kB / 469.3 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005228/0.635, allocations: 0.6915 MB / 470 MB, free: 220 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007712/0.6358, allocations: 300 kB / 470.2 MB, free: 15.92 MB / 410.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.00414/0.64, allocations: 1.973 MB / 472.2 MB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005194/0.6405, allocations: 260.5 kB / 472.5 MB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007466/0.6413, allocations: 336 kB / 472.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.481e-05/0.6413, allocations: 20 kB / 472.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.6414, allocations: 0 / 472.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/0.6414, allocations: 3.984 kB / 472.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01536/0.6568, allocations: 7.109 MB / 479.9 MB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/0.6568, allocations: 8 kB / 479.9 MB, free: 6.035 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009706/0.6578, allocations: 175.7 kB / 480.1 MB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.251e-05/0.6578, allocations: 12 kB / 480.1 MB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.658, allocations: 36.66 kB / 480.2 MB, free: 5.816 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.296e-05/0.658, allocations: 19.92 kB / 480.2 MB, free: 5.797 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.315e-05/0.658, allocations: 15.94 kB / 480.2 MB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004002/0.662, allocations: 2.267 MB / 482.5 MB, free: 3.398 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008298/0.6629, allocations: 365.2 kB / 482.8 MB, free: 3.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003853/0.6633, allocations: 35.92 kB / 482.9 MB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.6644, allocations: 47.91 kB / 482.9 MB, free: 2.938 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.6646, allocations: 80.45 kB / 483 MB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/0.6647, allocations: 55.98 kB / 483 MB, free: 2.805 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003914/0.6687, allocations: 1.98 MB / 485 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.93e-07/0.6687, allocations: 0 / 485 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.2307/0.8994, allocations: 1.027 MB / 486 MB, free: 126.1 MB / 410.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.0005103/0.9, allocations: 147.1 kB / 486.2 MB, free: 126 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006768/0.9067, allocations: 3.559 MB / 489.7 MB, free: 125.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.29e-06/0.9068, allocations: 5.016 kB / 489.7 MB, free: 125.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001639/0.9084, allocations: 0.9204 MB / 490.7 MB, free: 125.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.91, allocations: 296.1 kB / 491 MB, free: 125.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01686/0.9269, allocations: 9.813 MB / 0.489 GB, free: 120 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005199/0.9321, allocations: 3.149 MB / 0.4921 GB, free: 118.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009242/0.9331, allocations: 230.5 kB / 0.4923 GB, free: 118.8 MB / 410.7 MB Notification: Performance of SimCode: time 2.013e-06/0.9331, allocations: 3.938 kB / 0.4923 GB, free: 118.8 MB / 410.7 MB Notification: Performance of Templates: time 0.0668/0.9999, allocations: 45.51 MB / 0.5368 GB, free: 80.96 MB / 410.7 MB