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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.127/2.127, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.621e-05/1.632e-05, allocations: 0 / 303.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2719, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1567/0.4287, allocations: 94.36 MB / 452.4 MB, free: 460 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003585/0.4291, allocations: 67.97 kB / 452.5 MB, free: 392 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.479/0.9082, allocations: 57 MB / 0.4975 GB, free: 71.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.962e-06/0.9082, allocations: 0 / 0.4975 GB, free: 71.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.965e-05/0.9083, allocations: 51.94 kB / 0.4976 GB, free: 71.43 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.006854/0.9152, allocations: 2.591 MB / 0.5001 GB, free: 68.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.9153, allocations: 12.03 kB / 0.5001 GB, free: 68.78 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.9257, allocations: 1.974 MB / 0.502 GB, free: 66.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009663/0.9354, allocations: 3.336 MB / 0.5053 GB, free: 63.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.9356, allocations: 80 kB / 0.5054 GB, free: 63.37 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009796/0.9366, allocations: 140 kB / 0.5055 GB, free: 63.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007855/0.9444, allocations: 3.96 MB / 0.5094 GB, free: 59.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01159/0.9561, allocations: 6.253 MB / 0.5155 GB, free: 52.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00013/0.9562, allocations: 43.62 kB / 0.5155 GB, free: 52.17 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006642/0.9569, allocations: 24 kB / 0.5155 GB, free: 52.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001074/0.958, allocations: 0.7137 MB / 0.5162 GB, free: 51.44 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03239/0.9904, allocations: 32.16 MB / 0.5476 GB, free: 18.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002603/0.9931, allocations: 1.947 MB / 0.5495 GB, free: 16.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.9945, allocations: 0.993 MB / 0.5505 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001851/0.9947, allocations: 174.5 kB / 0.5507 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.9948, allocations: 46.83 kB / 0.5507 GB, free: 14.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=100): time 5.255e-06/0.9948, allocations: 0 / 0.5507 GB, free: 14.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=112): time 0.01476/1.01, allocations: 6.284 MB / 0.5569 GB, free: 8.625 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/1.01, allocations: 148.9 kB / 0.557 GB, free: 8.449 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003622/1.013, allocations: 2.172 MB / 0.5591 GB, free: 6.254 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001934/1.014, allocations: 25.7 kB / 0.5592 GB, free: 6.223 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001308/1.015, allocations: 2.177 MB / 0.5613 GB, free: 4.012 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004615/1.015, allocations: 442.4 kB / 0.5617 GB, free: 3.574 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/1.016, allocations: 3.938 kB / 0.5617 GB, free: 3.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002809/1.016, allocations: 0.5009 MB / 0.5622 GB, free: 3.059 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002333/1.018, allocations: 1.305 MB / 0.5635 GB, free: 1.746 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005186/1.023, allocations: 4.257 MB / 0.5676 GB, free: 11.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005104/1.029, allocations: 2.348 MB / 0.5699 GB, free: 9.637 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.964e-05/1.029, allocations: 28 kB / 0.5699 GB, free: 9.609 MB / 410.7 MB Notification: Performance of matching and sorting (n=596) (initialization): time 0.01278/1.042, allocations: 4.825 MB / 0.5747 GB, free: 4.781 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/1.042, allocations: 48 kB / 0.5747 GB, free: 4.734 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000162/1.042, allocations: 108 kB / 0.5748 GB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000223/1.042, allocations: 156.8 kB / 0.575 GB, free: 4.477 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004967/1.047, allocations: 1.127 MB / 0.5761 GB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002181/1.047, allocations: 211.2 kB / 0.5763 GB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004482/1.052, allocations: 207.5 kB / 0.5765 GB, free: 2.938 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008892/1.053, allocations: 292 kB / 0.5767 GB, free: 2.652 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * 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 (572): * Single equations (assignments): 569 * 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.0009417/1.054, allocations: 352.1 kB / 0.5771 GB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005575/1.054, allocations: 213.2 kB / 0.5773 GB, free: 2.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002664/1.057, allocations: 1.149 MB / 0.5784 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.882e-05/1.057, allocations: 12.14 kB / 0.5784 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/1.057, allocations: 11.98 kB / 0.5784 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.952e-05/1.057, allocations: 11.92 kB / 0.5784 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/1.067, allocations: 3.89 MB / 0.5822 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.099e-05/1.067, allocations: 7.953 kB / 0.5822 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/1.069, allocations: 216.2 kB / 0.5824 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.897e-05/1.069, allocations: 8 kB / 0.5824 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/1.069, allocations: 11.98 kB / 0.5825 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.357e-05/1.069, allocations: 8 kB / 0.5825 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-05/1.069, allocations: 7.938 kB / 0.5825 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003947/1.073, allocations: 2.422 MB / 0.5848 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/1.074, allocations: 434 kB / 0.5853 GB, free: 9.562 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003586/1.074, allocations: 4 kB / 0.5853 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/1.076, allocations: 63.91 kB / 0.5853 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/1.076, allocations: 63.81 kB / 0.5854 GB, free: 9.434 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/1.076, allocations: 43.98 kB / 0.5854 GB, free: 9.391 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003083/1.079, allocations: 1.428 MB / 0.5868 GB, free: 7.949 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.052e-06/1.079, allocations: 3.938 kB / 0.5868 GB, free: 7.945 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004798/1.084, allocations: 0.5351 MB / 0.5873 GB, free: 7.41 MB / 426.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.000455/1.084, allocations: 139 kB / 0.5875 GB, free: 7.262 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006383/1.091, allocations: 2.999 MB / 0.5904 GB, free: 4.289 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.873e-06/1.091, allocations: 0 / 0.5904 GB, free: 4.289 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001538/1.092, allocations: 0.7554 MB / 0.5911 GB, free: 3.535 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/1.094, allocations: 202.8 kB / 0.5913 GB, free: 3.336 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/1.107, allocations: 4.83 MB / 0.5961 GB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004218/1.111, allocations: 2.264 MB / 0.5983 GB, free: 12.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009871/1.112, allocations: 199.4 kB / 0.5985 GB, free: 11.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.961e-06/1.112, allocations: 0 / 0.5985 GB, free: 11.9 MB / 442.7 MB Notification: Performance of Templates: time 0.3783/1.49, allocations: 34.59 MB / 0.6322 GB, free: 117.6 MB / 458.7 MB