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.132/2.132, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004381/0.0004383, allocations: 12 kB / 314.4 MB, free: 9.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3156, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.4579, allocations: 95.12 MB / 464.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.4581, allocations: 71.97 kB / 464.5 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5505/1.009, allocations: 57.86 MB / 0.5101 GB, free: 62.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.515e-06/1.009, allocations: 0 / 0.5101 GB, free: 62.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001011/1.009, allocations: 44 kB / 0.5101 GB, free: 62.34 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.007133/1.016, allocations: 2.724 MB / 0.5128 GB, free: 59.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/1.016, allocations: 8.031 kB / 0.5128 GB, free: 59.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/1.026, allocations: 1.974 MB / 0.5147 GB, free: 57.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009539/1.036, allocations: 3.349 MB / 0.518 GB, free: 54.17 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/1.036, allocations: 184.8 kB / 0.5182 GB, free: 53.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001107/1.037, allocations: 247.9 kB / 0.5184 GB, free: 53.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0138/1.051, allocations: 6.88 MB / 0.5251 GB, free: 46.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001189/1.051, allocations: 47.53 kB / 0.5252 GB, free: 46.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006811/1.052, allocations: 131.9 kB / 0.5253 GB, free: 45.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00104/1.053, allocations: 0.715 MB / 0.526 GB, free: 45.17 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01218/1.065, allocations: 5.895 MB / 0.5317 GB, free: 39.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03175/1.097, allocations: 33.6 MB / 0.5645 GB, free: 4.488 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00466/1.102, allocations: 2.094 MB / 0.5666 GB, free: 2.246 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001825/1.102, allocations: 182.5 kB / 0.5668 GB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/1.102, allocations: 42.89 kB / 0.5668 GB, free: 1.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=100): time 5.195e-06/1.102, allocations: 0 / 0.5668 GB, free: 1.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=112): time 0.01892/1.121, allocations: 6.365 MB / 0.573 GB, free: 11.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/1.121, allocations: 148.9 kB / 0.5732 GB, free: 11.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005469/1.126, allocations: 2.599 MB / 0.5757 GB, free: 8.742 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002098/1.127, allocations: 41.7 kB / 0.5757 GB, free: 8.695 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002049/1.129, allocations: 2.077 MB / 0.5778 GB, free: 6.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000647/1.129, allocations: 462.3 kB / 0.5782 GB, free: 6.133 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000355/1.13, allocations: 84 kB / 0.5783 GB, free: 6.051 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00045/1.13, allocations: 0.4927 MB / 0.5788 GB, free: 5.547 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003333/1.134, allocations: 1.414 MB / 0.5802 GB, free: 4.125 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006172/1.14, allocations: 4.235 MB / 0.5843 GB, free: 14.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005167/1.145, allocations: 2.39 MB / 0.5866 GB, free: 12.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-05/1.145, allocations: 32.19 kB / 0.5867 GB, free: 12.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.01354/1.159, allocations: 5.384 MB / 0.5919 GB, free: 6.645 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000113/1.159, allocations: 51.98 kB / 0.592 GB, free: 6.594 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001464/1.159, allocations: 100 kB / 0.5921 GB, free: 6.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002/1.159, allocations: 152 kB / 0.5922 GB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004528/1.164, allocations: 1.08 MB / 0.5933 GB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002311/1.164, allocations: 199.2 kB / 0.5934 GB, free: 5.066 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004348/1.168, allocations: 291.4 kB / 0.5937 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007709/1.169, allocations: 276 kB / 0.594 GB, free: 4.512 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 () * 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.00305/1.172, allocations: 1.376 MB / 0.5953 GB, free: 3.125 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006223/1.173, allocations: 240.9 kB / 0.5956 GB, free: 2.887 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002798/1.176, allocations: 1.222 MB / 0.5968 GB, free: 1.652 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-05/1.176, allocations: 23.98 kB / 0.5968 GB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/1.176, allocations: 3.953 kB / 0.5968 GB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/1.176, allocations: 3.984 kB / 0.5968 GB, free: 1.621 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/1.187, allocations: 4.398 MB / 0.6011 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.239e-05/1.187, allocations: 12.53 kB / 0.6011 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/1.188, allocations: 215.7 kB / 0.6013 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.957e-05/1.188, allocations: 8 kB / 0.6013 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/1.188, allocations: 24 kB / 0.6013 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.739e-05/1.188, allocations: 11.94 kB / 0.6013 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/1.188, allocations: 8 kB / 0.6014 GB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004114/1.192, allocations: 2.586 MB / 0.6039 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00137/1.194, allocations: 469.6 kB / 0.6043 GB, free: 9.637 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004556/1.194, allocations: 24 kB / 0.6043 GB, free: 9.613 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/1.196, allocations: 71.91 kB / 0.6044 GB, free: 9.543 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/1.196, allocations: 67.81 kB / 0.6045 GB, free: 9.477 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/1.196, allocations: 36 kB / 0.6045 GB, free: 9.441 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004468/1.201, allocations: 1.827 MB / 0.6063 GB, free: 7.609 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.114e-06/1.201, allocations: 0 / 0.6063 GB, free: 7.609 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004948/1.206, allocations: 0.6328 MB / 0.6069 GB, free: 6.977 MB / 442.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 () * 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.0005247/1.206, allocations: 170.9 kB / 0.6071 GB, free: 6.801 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007191/1.213, allocations: 3.212 MB / 0.6102 GB, free: 3.613 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.693e-06/1.213, allocations: 0 / 0.6102 GB, free: 3.613 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001585/1.215, allocations: 0.777 MB / 0.611 GB, free: 2.836 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/1.217, allocations: 247.8 kB / 0.6112 GB, free: 2.594 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0148/1.232, allocations: 6.85 MB / 0.6179 GB, free: 11.64 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004156/1.236, allocations: 2.261 MB / 0.6201 GB, free: 9.348 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/1.237, allocations: 211.4 kB / 0.6203 GB, free: 9.141 MB / 458.7 MB Notification: Performance of SimCode: time 1.766e-06/1.237, allocations: 0 / 0.6203 GB, free: 9.141 MB / 458.7 MB Notification: Performance of Templates: time 0.3277/1.565, allocations: 36.16 MB / 0.6556 GB, free: 129.5 MB / 474.7 MB