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.979/1.979, allocations: 209.3 MB / 224.9 MB, free: 340 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004394, allocations: 8 kB / 282.6 MB, free: 9.609 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2844, allocations: 48.69 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.4172, allocations: 88.31 MB / 419.6 MB, free: 6.094 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.4175, allocations: 71.97 kB / 419.6 MB, free: 6.023 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4609/0.8784, allocations: 57.85 MB / 477.5 MB, free: 93.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.674e-06/0.8784, allocations: 0 / 477.5 MB, free: 93.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001226/0.8786, allocations: 44.09 kB / 477.5 MB, free: 93.45 MB / 394.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.007471/0.8861, allocations: 2.725 MB / 480.3 MB, free: 92.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.8861, allocations: 9.031 kB / 480.3 MB, free: 92.26 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/0.8966, allocations: 1.973 MB / 482.2 MB, free: 92.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01035/0.907, allocations: 3.351 MB / 485.6 MB, free: 91.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002647/0.9073, allocations: 186.9 kB / 485.8 MB, free: 91.67 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001082/0.9084, allocations: 241.3 kB / 486 MB, free: 91.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01366/0.9221, allocations: 6.885 MB / 492.9 MB, free: 89.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001208/0.9223, allocations: 58.47 kB / 492.9 MB, free: 89.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005152/0.9228, allocations: 123.2 kB / 493.1 MB, free: 89.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001129/0.9239, allocations: 0.7112 MB / 493.8 MB, free: 89.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01311/0.9371, allocations: 5.891 MB / 499.7 MB, free: 89.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03413/0.9712, allocations: 33.52 MB / 0.5207 GB, free: 62.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005087/0.9764, allocations: 2.089 MB / 0.5227 GB, free: 61.78 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.038e-05/0.9765, allocations: 19.41 kB / 0.5228 GB, free: 61.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.9766, allocations: 42.23 kB / 0.5228 GB, free: 61.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=100): time 5.206e-06/0.9766, allocations: 0 / 0.5228 GB, free: 61.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=112): time 0.01839/0.995, allocations: 6.368 MB / 0.529 GB, free: 58.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.9951, allocations: 140.3 kB / 0.5291 GB, free: 58.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00471/0.9998, allocations: 2.597 MB / 0.5317 GB, free: 57.78 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001886/1, allocations: 41.55 kB / 0.5317 GB, free: 57.74 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001308/1.001, allocations: 2.078 MB / 0.5338 GB, free: 56.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004717/1.002, allocations: 461.8 kB / 0.5342 GB, free: 55.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003088/1.002, allocations: 85.25 kB / 0.5343 GB, free: 55.69 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002841/1.002, allocations: 0.4951 MB / 0.5348 GB, free: 55.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002992/1.005, allocations: 1.42 MB / 0.5361 GB, free: 54.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004277/1.01, allocations: 4.238 MB / 0.5403 GB, free: 49.13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00431/1.014, allocations: 2.402 MB / 0.5426 GB, free: 47 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.23e-05/1.014, allocations: 28 kB / 0.5427 GB, free: 46.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.01717/1.031, allocations: 5.385 MB / 0.5479 GB, free: 42.22 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/1.032, allocations: 52.03 kB / 0.548 GB, free: 42.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002164/1.032, allocations: 104.3 kB / 0.5481 GB, free: 42.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003093/1.032, allocations: 144 kB / 0.5482 GB, free: 41.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008454/1.041, allocations: 1.079 MB / 0.5493 GB, free: 41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002996/1.041, allocations: 199.9 kB / 0.5494 GB, free: 40.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008606/1.05, allocations: 290.9 kB / 0.5497 GB, free: 40.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001273/1.051, allocations: 283.4 kB / 0.55 GB, free: 40.31 MB / 394.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 () * Number of clocked 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.00501/1.056, allocations: 1.382 MB / 0.5513 GB, free: 38.99 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/1.057, allocations: 240.8 kB / 0.5516 GB, free: 38.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004772/1.062, allocations: 1.249 MB / 0.5528 GB, free: 37.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.966e-05/1.062, allocations: 12 kB / 0.5528 GB, free: 37.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/1.062, allocations: 4 kB / 0.5528 GB, free: 37.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.666e-05/1.062, allocations: 7.484 kB / 0.5528 GB, free: 37.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/1.078, allocations: 4.011 MB / 0.5567 GB, free: 33.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/1.078, allocations: 0 / 0.5567 GB, free: 33.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002419/1.08, allocations: 215.6 kB / 0.5569 GB, free: 33.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.992e-05/1.08, allocations: 4 kB / 0.5569 GB, free: 33.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002018/1.081, allocations: 19.98 kB / 0.557 GB, free: 33.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-05/1.081, allocations: 4 kB / 0.557 GB, free: 33.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/1.081, allocations: 4 kB / 0.557 GB, free: 33.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005998/1.087, allocations: 2.076 MB / 0.559 GB, free: 31.06 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002005/1.089, allocations: 453.8 kB / 0.5594 GB, free: 30.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007644/1.089, allocations: 27.89 kB / 0.5595 GB, free: 30.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002662/1.092, allocations: 79.48 kB / 0.5595 GB, free: 30.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002925/1.092, allocations: 52.36 kB / 0.5596 GB, free: 30.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002258/1.093, allocations: 36 kB / 0.5596 GB, free: 30.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.006592/1.099, allocations: 1.81 MB / 0.5614 GB, free: 28.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.329e-06/1.099, allocations: 4 kB / 0.5614 GB, free: 28.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009459/1.109, allocations: 0.6366 MB / 0.562 GB, free: 27.95 MB / 394.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 () * 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.0004286/1.109, allocations: 175.8 kB / 0.5622 GB, free: 27.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0058/1.115, allocations: 3.234 MB / 0.5653 GB, free: 24.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.797e-06/1.115, allocations: 0 / 0.5653 GB, free: 24.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001248/1.116, allocations: 0.7806 MB / 0.5661 GB, free: 23.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/1.118, allocations: 239.1 kB / 0.5663 GB, free: 23.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/1.129, allocations: 6.623 MB / 0.5728 GB, free: 16.89 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002657/1.132, allocations: 2.257 MB / 0.575 GB, free: 14.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009376/1.133, allocations: 207.4 kB / 0.5752 GB, free: 14.41 MB / 394.7 MB Notification: Performance of SimCode: time 1.783e-06/1.133, allocations: 4 kB / 0.5752 GB, free: 14.4 MB / 394.7 MB Notification: Performance of Templates: time 0.06419/1.197, allocations: 36.45 MB / 0.6108 GB, free: 10.24 MB / 426.7 MB