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.347/2.347, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.625e-05/2.635e-05, allocations: 0 / 309.7 MB, free: 1.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.322, allocations: 54.86 MB / 364.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1458/0.4679, allocations: 95.02 MB / 459.6 MB, free: 1.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.4681, allocations: 67.97 kB / 459.6 MB, free: 1.363 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2784/0.7466, allocations: 57.9 MB / 0.5054 GB, free: 7.031 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.36e-06/0.7466, allocations: 4 kB / 0.5054 GB, free: 7.027 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001107/0.7467, allocations: 51.98 kB / 0.5054 GB, free: 6.977 MB / 442.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.006935/0.7537, allocations: 2.58 MB / 0.508 GB, free: 4.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.7538, allocations: 12.03 kB / 0.508 GB, free: 4.328 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.7649, allocations: 1.977 MB / 0.5099 GB, free: 2.344 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01095/0.7759, allocations: 3.337 MB / 0.5132 GB, free: 14.95 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000234/0.7762, allocations: 184.7 kB / 0.5133 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008746/0.7771, allocations: 243.9 kB / 0.5136 GB, free: 14.53 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01511/0.7922, allocations: 6.809 MB / 0.5202 GB, free: 6.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001267/0.7924, allocations: 51.52 kB / 0.5203 GB, free: 6.859 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005173/0.7929, allocations: 127.9 kB / 0.5204 GB, free: 6.734 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001587/0.7945, allocations: 0.7111 MB / 0.5211 GB, free: 6.027 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02409/0.8186, allocations: 5.736 MB / 0.5267 GB, free: 288 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3648/1.183, allocations: 33.6 MB / 0.5595 GB, free: 92.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00537/1.189, allocations: 2.078 MB / 0.5615 GB, free: 91.53 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001957/1.191, allocations: 1.022 MB / 0.5625 GB, free: 91.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002198/1.191, allocations: 186 kB / 0.5627 GB, free: 91.31 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/1.191, allocations: 40.08 kB / 0.5627 GB, free: 91.27 MB / 458.7 MB Notification: Performance of pre-optimization done (n=100): time 5.467e-06/1.191, allocations: 1.281 kB / 0.5627 GB, free: 91.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=112): time 0.01792/1.209, allocations: 5.139 MB / 0.5678 GB, free: 89.82 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/1.209, allocations: 146.7 kB / 0.5679 GB, free: 89.66 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005201/1.214, allocations: 2.549 MB / 0.5704 GB, free: 88.87 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002149/1.215, allocations: 42.61 kB / 0.5704 GB, free: 88.83 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001407/1.216, allocations: 2.078 MB / 0.5725 GB, free: 87.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005264/1.217, allocations: 459.4 kB / 0.5729 GB, free: 86.99 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003497/1.217, allocations: 85.56 kB / 0.573 GB, free: 86.92 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000275/1.217, allocations: 0.4926 MB / 0.5735 GB, free: 86.53 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003019/1.22, allocations: 1.357 MB / 0.5748 GB, free: 86.11 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004554/1.225, allocations: 4.174 MB / 0.5789 GB, free: 81.86 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004561/1.23, allocations: 2.374 MB / 0.5812 GB, free: 81.21 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-05/1.23, allocations: 27.16 kB / 0.5812 GB, free: 81.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.01197/1.242, allocations: 5.263 MB / 0.5864 GB, free: 79.54 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.754e-05/1.242, allocations: 48.44 kB / 0.5864 GB, free: 79.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001178/1.242, allocations: 103.9 kB / 0.5865 GB, free: 79.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001641/1.242, allocations: 148.4 kB / 0.5866 GB, free: 79.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004561/1.247, allocations: 1.084 MB / 0.5877 GB, free: 79.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001729/1.247, allocations: 196.2 kB / 0.5879 GB, free: 79.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004595/1.252, allocations: 294.4 kB / 0.5882 GB, free: 79.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008186/1.252, allocations: 282.1 kB / 0.5884 GB, free: 79.23 MB / 458.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.0007618/1.253, allocations: 442.2 kB / 0.5889 GB, free: 78.86 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005605/1.254, allocations: 236.8 kB / 0.5891 GB, free: 78.73 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/1.256, allocations: 1.206 MB / 0.5903 GB, free: 78.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.713e-05/1.256, allocations: 18.44 kB / 0.5903 GB, free: 78.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/1.256, allocations: 2.297 kB / 0.5903 GB, free: 78.27 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.086e-05/1.256, allocations: 10.95 kB / 0.5903 GB, free: 78.27 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/1.267, allocations: 4.392 MB / 0.5946 GB, free: 76.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.966e-05/1.267, allocations: 10.27 kB / 0.5946 GB, free: 76.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/1.269, allocations: 222.1 kB / 0.5948 GB, free: 76.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.805e-05/1.269, allocations: 9.875 kB / 0.5948 GB, free: 76.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/1.269, allocations: 18.25 kB / 0.5948 GB, free: 76.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.157e-05/1.269, allocations: 10.75 kB / 0.5948 GB, free: 76.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.289e-06/1.269, allocations: 10.95 kB / 0.5948 GB, free: 76.49 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003774/1.273, allocations: 2.574 MB / 0.5974 GB, free: 74.87 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002072/1.275, allocations: 457.5 kB / 0.5978 GB, free: 74.58 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001109/1.276, allocations: 23.72 kB / 0.5978 GB, free: 74.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002919/1.279, allocations: 79.86 kB / 0.5979 GB, free: 74.55 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003935/1.279, allocations: 68.05 kB / 0.598 GB, free: 74.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002131/1.28, allocations: 35.22 kB / 0.598 GB, free: 74.54 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005959/1.286, allocations: 1.781 MB / 0.5997 GB, free: 73.89 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.607e-06/1.286, allocations: 0 / 0.5997 GB, free: 73.89 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00802/1.294, allocations: 0.6267 MB / 0.6003 GB, free: 73.8 MB / 458.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 () * 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.0006342/1.294, allocations: 164.4 kB / 0.6005 GB, free: 73.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01038/1.305, allocations: 3.157 MB / 0.6036 GB, free: 72.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/1.305, allocations: 0 / 0.6036 GB, free: 72.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002399/1.307, allocations: 0.7696 MB / 0.6043 GB, free: 72.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/1.31, allocations: 250.4 kB / 0.6046 GB, free: 72.27 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01925/1.33, allocations: 4.879 MB / 0.6093 GB, free: 70.35 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003056/1.333, allocations: 2.278 MB / 0.6116 GB, free: 68.64 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.334, allocations: 203.1 kB / 0.6118 GB, free: 68.45 MB / 458.7 MB Notification: Performance of SimCode: time 2.12e-06/1.334, allocations: 4 kB / 0.6118 GB, free: 68.45 MB / 458.7 MB Notification: Performance of Templates: time 0.0542/1.388, allocations: 36.16 MB / 0.6471 GB, free: 37.19 MB / 458.7 MB