Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.TestMove.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.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.TestMove") Notification: Performance of loadModel(ModelicaTest): time 2.223/2.223, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004649/0.0004654, allocations: 12 kB / 314.3 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.288, allocations: 54.87 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01805/0.3061, allocations: 11.83 MB / 381 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009682/0.3158, allocations: 4.159 MB / 385.2 MB, free: 10.69 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002047/0.3179, allocations: 55.81 kB / 385.2 MB, free: 10.63 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.3194, allocations: 0.5288 MB / 385.8 MB, free: 10.1 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00596/0.3254, allocations: 1.851 MB / 387.6 MB, free: 8.246 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.3269, allocations: 455.1 kB / 388 MB, free: 7.801 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003159/0.3301, allocations: 1.497 MB / 389.5 MB, free: 6.301 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002542/0.3327, allocations: 1.39 MB / 390.9 MB, free: 4.875 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.3338, allocations: 0.6073 MB / 391.5 MB, free: 4.266 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.3352, allocations: 0.8644 MB / 392.4 MB, free: 3.398 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002932/0.3355, allocations: 76 kB / 392.5 MB, free: 3.324 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.3375, allocations: 0.8074 MB / 393.3 MB, free: 2.516 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001384/0.3389, allocations: 0.9 MB / 394.2 MB, free: 1.613 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006876/0.3396, allocations: 0.4884 MB / 394.7 MB, free: 1.117 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00477/0.3444, allocations: 3.033 MB / 397.7 MB, free: 14.08 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.794e-06/0.3444, allocations: 0 / 397.7 MB, free: 14.08 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3445, allocations: 3.938 kB / 397.7 MB, free: 14.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.218e-05/0.3445, allocations: 4 kB / 397.7 MB, free: 14.07 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.006232/0.3508, allocations: 2.586 MB / 400.3 MB, free: 11.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3508, allocations: 8.031 kB / 400.3 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009206/0.36, allocations: 1.981 MB / 402.3 MB, free: 9.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003653/0.3637, allocations: 1.565 MB / 403.9 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.3639, allocations: 131 kB / 404 MB, free: 7.688 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005021/0.3645, allocations: 159.9 kB / 404.1 MB, free: 7.531 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01303/0.3775, allocations: 6.495 MB / 410.6 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.645e-05/0.3777, allocations: 43.66 kB / 410.7 MB, free: 480 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003375/0.378, allocations: 83.89 kB / 410.8 MB, free: 396 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002793/0.3808, allocations: 1.374 MB / 412.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01384/0.3947, allocations: 5.736 MB / 417.9 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03982/0.4345, allocations: 26.75 MB / 444.6 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0059/0.4405, allocations: 2.137 MB / 446.8 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.4408, allocations: 178.5 kB / 446.9 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.4408, allocations: 42.83 kB / 447 MB, free: 11.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=100): time 4.941e-06/0.4409, allocations: 4 kB / 447 MB, free: 11.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=112): time 0.02245/0.4633, allocations: 6.693 MB / 453.7 MB, free: 4.336 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.4635, allocations: 145 kB / 453.8 MB, free: 4.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00544/0.4689, allocations: 2.991 MB / 456.8 MB, free: 1.156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001975/0.4691, allocations: 37.7 kB / 456.8 MB, free: 1.113 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002024/0.4712, allocations: 2.077 MB / 458.9 MB, free: 15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006308/0.4718, allocations: 462.3 kB / 459.4 MB, free: 14.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/0.4721, allocations: 84 kB / 459.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004218/0.4725, allocations: 0.4925 MB / 459.9 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003002/0.4756, allocations: 1.402 MB / 461.3 MB, free: 12.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005913/0.4815, allocations: 4.249 MB / 465.6 MB, free: 6.863 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005081/0.4866, allocations: 2.385 MB / 468 MB, free: 4.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.749e-05/0.4868, allocations: 32 kB / 468 MB, free: 4.449 MB / 394.7 MB Notification: Performance of matching and sorting (n=574) (initialization): time 0.3082/0.795, allocations: 5.343 MB / 473.4 MB, free: 84.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.7952, allocations: 50.5 kB / 473.4 MB, free: 84.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001825/0.7954, allocations: 104.2 kB / 473.5 MB, free: 84.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003139/0.7957, allocations: 147.7 kB / 473.6 MB, free: 84.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005424/0.8011, allocations: 1.218 MB / 474.9 MB, free: 84.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002567/0.8014, allocations: 197.1 kB / 475.1 MB, free: 84.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003943/0.8054, allocations: 237 kB / 475.3 MB, free: 84.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006375/0.806, allocations: 285.2 kB / 475.6 MB, free: 84.88 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 15 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (550): * Single equations (assignments): 547 * Array equations: 3 * 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.002712/0.8088, allocations: 1.381 MB / 476.9 MB, free: 84.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005005/0.8093, allocations: 242.1 kB / 477.2 MB, free: 84.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002556/0.8119, allocations: 1.235 MB / 478.4 MB, free: 84.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-05/0.8119, allocations: 13.08 kB / 478.4 MB, free: 84.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.8119, allocations: 2.312 kB / 478.4 MB, free: 84.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.829e-05/0.812, allocations: 8.844 kB / 478.4 MB, free: 84.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009929/0.8219, allocations: 4.558 MB / 483 MB, free: 82.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/0.822, allocations: 7.812 kB / 483 MB, free: 82.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002203/0.8242, allocations: 372.1 kB / 483.4 MB, free: 82.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.609e-05/0.8242, allocations: 7.719 kB / 483.4 MB, free: 82.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.8244, allocations: 22.84 kB / 483.4 MB, free: 82.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-05/0.8244, allocations: 11 kB / 483.4 MB, free: 82.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.859e-06/0.8244, allocations: 7.719 kB / 483.4 MB, free: 82.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003104/0.8275, allocations: 2.155 MB / 485.6 MB, free: 81.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009791/0.8285, allocations: 474.7 kB / 486 MB, free: 81.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003394/0.8289, allocations: 24.7 kB / 486.1 MB, free: 81.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.8301, allocations: 58.2 kB / 486.1 MB, free: 81.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.8303, allocations: 64.89 kB / 486.2 MB, free: 81.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.8304, allocations: 39.27 kB / 486.2 MB, free: 81.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003252/0.8337, allocations: 1.895 MB / 488.1 MB, free: 80.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.48e-07/0.8337, allocations: 0 / 488.1 MB, free: 80.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004258/0.838, allocations: 0.6365 MB / 488.8 MB, free: 80.88 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (90): * Single equations (assignments): 87 * Array equations: 3 * 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.000458/0.8385, allocations: 174.5 kB / 488.9 MB, free: 80.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006005/0.8445, allocations: 3.215 MB / 492.1 MB, free: 79.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/0.8446, allocations: 320 / 492.1 MB, free: 79.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.8459, allocations: 0.7904 MB / 492.9 MB, free: 78.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.8475, allocations: 253.2 kB / 493.2 MB, free: 78.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.8587, allocations: 6.802 MB / 500 MB, free: 71.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002653/0.8614, allocations: 2.263 MB / 0.4905 GB, free: 69.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009576/0.8623, allocations: 211.4 kB / 0.4907 GB, free: 69.44 MB / 394.7 MB Notification: Performance of SimCode: time 1.883e-06/0.8624, allocations: 0 / 0.4907 GB, free: 69.44 MB / 394.7 MB Notification: Performance of Templates: time 0.05273/0.9151, allocations: 36.61 MB / 0.5264 GB, free: 32.8 MB / 394.7 MB