Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.TestMove.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.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.1_cpp_ModelicaTest.Rotational.TestMove") Notification: Performance of loadModel(ModelicaTest): time 1.907/1.907, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.667e-05/2.684e-05, allocations: 0 / 277.8 MB, free: 15.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08644/0.08649, allocations: 48.71 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3566/0.4431, allocations: 88.21 MB / 414.7 MB, free: 3.168 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001835/0.4434, allocations: 66.34 kB / 414.8 MB, free: 3.137 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2328/0.6762, allocations: 57.89 MB / 472.7 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.468e-06/0.6762, allocations: 0 / 472.7 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000121/0.6763, allocations: 44 kB / 472.7 MB, free: 0.5234 MB / 362.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.008037/0.6844, allocations: 2.582 MB / 475.3 MB, free: 13.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.6845, allocations: 12.03 kB / 475.3 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/0.6958, allocations: 1.978 MB / 477.3 MB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01145/0.7073, allocations: 3.347 MB / 480.7 MB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/0.7076, allocations: 184.8 kB / 480.8 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/0.7086, allocations: 239.9 kB / 481.1 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01577/0.7244, allocations: 6.801 MB / 487.9 MB, free: 0.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001429/0.7246, allocations: 51.53 kB / 487.9 MB, free: 460 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006908/0.7253, allocations: 127.9 kB / 488.1 MB, free: 332 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001554/0.7269, allocations: 0.7151 MB / 488.8 MB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01419/0.7411, allocations: 5.736 MB / 494.5 MB, free: 9.859 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04689/0.788, allocations: 33.52 MB / 0.5157 GB, free: 7.176 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005801/0.7939, allocations: 2.083 MB / 0.5177 GB, free: 4.941 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002054/0.796, allocations: 1.011 MB / 0.5187 GB, free: 3.918 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.545e-05/0.7961, allocations: 20.25 kB / 0.5187 GB, free: 3.898 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.7962, allocations: 38.89 kB / 0.5187 GB, free: 3.852 MB / 426.7 MB Notification: Performance of pre-optimization done (n=100): time 5.295e-06/0.7962, allocations: 0 / 0.5187 GB, free: 3.852 MB / 426.7 MB Notification: Performance of matching and sorting (n=112): time 0.2475/1.044, allocations: 5.147 MB / 0.5238 GB, free: 113 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/1.044, allocations: 142.1 kB / 0.5239 GB, free: 112.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005292/1.049, allocations: 2.548 MB / 0.5264 GB, free: 112.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002069/1.049, allocations: 40.45 kB / 0.5264 GB, free: 112.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001202/1.051, allocations: 2.085 MB / 0.5285 GB, free: 111.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004405/1.051, allocations: 462.8 kB / 0.5289 GB, free: 111.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/1.051, allocations: 84.22 kB / 0.529 GB, free: 111.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002836/1.052, allocations: 0.4934 MB / 0.5295 GB, free: 111 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002638/1.054, allocations: 1.357 MB / 0.5308 GB, free: 111 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004404/1.059, allocations: 4.18 MB / 0.5349 GB, free: 107.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004687/1.063, allocations: 2.368 MB / 0.5372 GB, free: 107.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/1.064, allocations: 29.25 kB / 0.5372 GB, free: 107.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.01318/1.077, allocations: 5.266 MB / 0.5423 GB, free: 106.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001212/1.077, allocations: 48.66 kB / 0.5424 GB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001861/1.077, allocations: 101.7 kB / 0.5425 GB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002516/1.077, allocations: 146.8 kB / 0.5426 GB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004994/1.082, allocations: 1.084 MB / 0.5437 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002633/1.083, allocations: 197.9 kB / 0.5439 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004775/1.088, allocations: 294 kB / 0.5442 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001059/1.089, allocations: 279.7 kB / 0.5444 GB, free: 106.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (548): * Single equations (assignments): 545 * 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.001165/1.09, allocations: 460.6 kB / 0.5449 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005678/1.09, allocations: 239.4 kB / 0.5451 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002774/1.093, allocations: 1.23 MB / 0.5463 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.93e-05/1.093, allocations: 12.25 kB / 0.5463 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/1.093, allocations: 0 / 0.5463 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/1.093, allocations: 8.578 kB / 0.5463 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009765/1.103, allocations: 3.99 MB / 0.5502 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/1.103, allocations: 0 / 0.5502 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/1.105, allocations: 217.2 kB / 0.5504 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.371e-05/1.105, allocations: 7.719 kB / 0.5504 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/1.105, allocations: 16.64 kB / 0.5504 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.392e-06/1.105, allocations: 3.5 kB / 0.5504 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.444e-06/1.105, allocations: 0 / 0.5504 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003139/1.108, allocations: 2.062 MB / 0.5525 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/1.109, allocations: 463.3 kB / 0.5529 GB, free: 104.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00042/1.11, allocations: 22.5 kB / 0.5529 GB, free: 104.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/1.111, allocations: 69.53 kB / 0.553 GB, free: 104.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/1.111, allocations: 50.03 kB / 0.553 GB, free: 104.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/1.111, allocations: 41.03 kB / 0.5531 GB, free: 104.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003586/1.115, allocations: 1.761 MB / 0.5548 GB, free: 104.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.056e-06/1.115, allocations: 0 / 0.5548 GB, free: 104.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004834/1.12, allocations: 0.6367 MB / 0.5554 GB, free: 104.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.00045/1.12, allocations: 177.9 kB / 0.5556 GB, free: 104.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00627/1.127, allocations: 3.156 MB / 0.5587 GB, free: 103.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.912e-06/1.127, allocations: 0 / 0.5587 GB, free: 103.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001407/1.128, allocations: 0.7734 MB / 0.5594 GB, free: 103.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/1.13, allocations: 243.1 kB / 0.5597 GB, free: 102.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/1.141, allocations: 4.685 MB / 0.5642 GB, free: 101.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002963/1.144, allocations: 2.262 MB / 0.5664 GB, free: 100.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009609/1.145, allocations: 213.2 kB / 0.5666 GB, free: 100.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.964e-06/1.145, allocations: 0 / 0.5666 GB, free: 100.2 MB / 426.7 MB Notification: Performance of Templates: time 0.05545/1.201, allocations: 36.45 MB / 0.6022 GB, free: 79.83 MB / 426.7 MB