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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.941/1.941, allocations: 209.4 MB / 217.3 MB, free: 4.148 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.093e-05/2.107e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3115, allocations: 48.68 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1354/0.447, allocations: 87.56 MB / 407.6 MB, free: 8.863 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.4472, allocations: 67.97 kB / 407.6 MB, free: 8.797 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4524/0.8996, allocations: 57 MB / 464.6 MB, free: 94.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.555e-06/0.8997, allocations: 0 / 464.6 MB, free: 94.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001633/0.8999, allocations: 49.06 kB / 464.7 MB, free: 94.48 MB / 378.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.0111/0.911, allocations: 2.589 MB / 467.3 MB, free: 93.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.9111, allocations: 11.22 kB / 467.3 MB, free: 93.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01942/0.9305, allocations: 1.972 MB / 469.2 MB, free: 93.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01824/0.9488, allocations: 3.343 MB / 472.6 MB, free: 92.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003047/0.9492, allocations: 81.45 kB / 472.7 MB, free: 92.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001942/0.9512, allocations: 143 kB / 472.8 MB, free: 92.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008746/0.96, allocations: 3.952 MB / 476.8 MB, free: 92.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01215/0.9721, allocations: 6.25 MB / 483 MB, free: 87.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001295/0.9723, allocations: 51.52 kB / 483.1 MB, free: 87.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000634/0.973, allocations: 24 kB / 483.1 MB, free: 87.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001061/0.974, allocations: 0.7099 MB / 483.8 MB, free: 87.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03573/1.01, allocations: 32.16 MB / 0.5039 GB, free: 54.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005008/1.015, allocations: 1.942 MB / 0.5057 GB, free: 51.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002921/1.018, allocations: 0.9966 MB / 0.5067 GB, free: 50.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/1.018, allocations: 20.38 kB / 0.5067 GB, free: 50.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/1.018, allocations: 46.77 kB / 0.5068 GB, free: 50.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=100): time 8.833e-06/1.018, allocations: 0 / 0.5068 GB, free: 50.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=112): time 0.02877/1.047, allocations: 6.291 MB / 0.5129 GB, free: 44.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/1.047, allocations: 141 kB / 0.5131 GB, free: 44.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006553/1.054, allocations: 2.168 MB / 0.5152 GB, free: 42.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002942/1.054, allocations: 25.7 kB / 0.5152 GB, free: 42.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002315/1.056, allocations: 2.181 MB / 0.5173 GB, free: 39.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008399/1.057, allocations: 450.4 kB / 0.5178 GB, free: 39.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004316/1.058, allocations: 0 / 0.5178 GB, free: 39.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005149/1.058, allocations: 0.5009 MB / 0.5183 GB, free: 39.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004783/1.063, allocations: 1.309 MB / 0.5195 GB, free: 37.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007504/1.071, allocations: 4.257 MB / 0.5237 GB, free: 31.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007972/1.079, allocations: 2.361 MB / 0.526 GB, free: 29.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001417/1.079, allocations: 28 kB / 0.526 GB, free: 29.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=596) (initialization): time 0.01587/1.095, allocations: 4.831 MB / 0.5307 GB, free: 24.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.014e-05/1.095, allocations: 50.19 kB / 0.5308 GB, free: 24.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001013/1.095, allocations: 111.9 kB / 0.5309 GB, free: 24.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001632/1.095, allocations: 152 kB / 0.531 GB, free: 24.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004254/1.099, allocations: 1.131 MB / 0.5321 GB, free: 23.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001341/1.1, allocations: 203.2 kB / 0.5323 GB, free: 23.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004135/1.104, allocations: 211.5 kB / 0.5325 GB, free: 22.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007204/1.104, allocations: 292 kB / 0.5328 GB, free: 22.58 MB / 378.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.0006732/1.105, allocations: 360 kB / 0.5332 GB, free: 22.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005073/1.106, allocations: 221.1 kB / 0.5334 GB, free: 22.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/1.108, allocations: 1.172 MB / 0.5345 GB, free: 20.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.152e-05/1.108, allocations: 16 kB / 0.5345 GB, free: 20.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.383e-06/1.108, allocations: 0 / 0.5345 GB, free: 20.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/1.108, allocations: 3.984 kB / 0.5345 GB, free: 20.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007792/1.116, allocations: 3.503 MB / 0.538 GB, free: 17.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/1.116, allocations: 4 kB / 0.538 GB, free: 17.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/1.117, allocations: 211.6 kB / 0.5382 GB, free: 17.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/1.117, allocations: 4 kB / 0.5382 GB, free: 17.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/1.117, allocations: 7.984 kB / 0.5382 GB, free: 17.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.468e-06/1.117, allocations: 7.812 kB / 0.5382 GB, free: 17.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.844e-06/1.117, allocations: 4 kB / 0.5382 GB, free: 17.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003144/1.121, allocations: 1.984 MB / 0.5401 GB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009791/1.122, allocations: 434 kB / 0.5405 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003634/1.122, allocations: 0 / 0.5405 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/1.123, allocations: 71.77 kB / 0.5406 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/1.123, allocations: 56.27 kB / 0.5407 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/1.124, allocations: 39.98 kB / 0.5407 GB, free: 14.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002763/1.126, allocations: 1.424 MB / 0.5421 GB, free: 12.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.427e-06/1.126, allocations: 0 / 0.5421 GB, free: 12.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004532/1.131, allocations: 0.5429 MB / 0.5426 GB, free: 12.43 MB / 378.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.0003928/1.131, allocations: 162.6 kB / 0.5428 GB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005176/1.136, allocations: 3.005 MB / 0.5457 GB, free: 9.277 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.137, allocations: 192 / 0.5457 GB, free: 9.277 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/1.138, allocations: 0.7637 MB / 0.5465 GB, free: 8.516 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/1.139, allocations: 181.2 kB / 0.5466 GB, free: 8.336 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009621/1.149, allocations: 4.618 MB / 0.5511 GB, free: 3.668 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002842/1.152, allocations: 2.263 MB / 0.5533 GB, free: 1.379 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009275/1.153, allocations: 199.4 kB / 0.5535 GB, free: 1.184 MB / 378.7 MB Notification: Performance of SimCode: time 2.02e-06/1.153, allocations: 4 kB / 0.5535 GB, free: 1.18 MB / 378.7 MB Notification: Performance of Templates: time 0.06666/1.219, allocations: 34.97 MB / 0.5877 GB, free: 14.27 MB / 426.7 MB