Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 2.039/2.039, allocations: 209.3 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005872/0.0005873, allocations: 8 kB / 283.1 MB, free: 9.707 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1018, allocations: 48.72 MB / 331.8 MB, free: 8.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4111/0.5129, allocations: 88.29 MB / 420.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.5132, allocations: 78.53 kB / 420.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2574/0.7706, allocations: 58.35 MB / 478.5 MB, free: 1.992 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.7706, allocations: 0 / 478.5 MB, free: 1.992 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001724/0.7708, allocations: 44 kB / 478.6 MB, free: 1.949 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.0101/0.7809, allocations: 2.72 MB / 481.3 MB, free: 15.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.781, allocations: 8.031 kB / 481.3 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01569/0.7967, allocations: 1.977 MB / 483.3 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0135/0.8103, allocations: 3.357 MB / 486.6 MB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002422/0.8106, allocations: 188.7 kB / 486.8 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001224/0.8118, allocations: 247.8 kB / 487 MB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01858/0.8304, allocations: 6.898 MB / 493.9 MB, free: 1.637 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001536/0.8306, allocations: 47.62 kB / 494 MB, free: 1.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006715/0.8313, allocations: 123.9 kB / 494.1 MB, free: 1.469 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00166/0.833, allocations: 0.7111 MB / 494.8 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.284/1.117, allocations: 5.88 MB / 0.489 GB, free: 96.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04355/1.161, allocations: 33.51 MB / 0.5217 GB, free: 74.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006405/1.167, allocations: 2.098 MB / 0.5237 GB, free: 73.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/1.167, allocations: 11.23 kB / 0.5238 GB, free: 73.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/1.167, allocations: 46.95 kB / 0.5238 GB, free: 73.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 4.688e-06/1.167, allocations: 2.344 kB / 0.5238 GB, free: 73.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.02443/1.192, allocations: 6.571 MB / 0.5302 GB, free: 70.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/1.192, allocations: 139.7 kB / 0.5304 GB, free: 70.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005406/1.197, allocations: 2.901 MB / 0.5332 GB, free: 69.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00026/1.198, allocations: 43.11 kB / 0.5332 GB, free: 69.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001425/1.199, allocations: 2.084 MB / 0.5353 GB, free: 68.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005449/1.2, allocations: 459.1 kB / 0.5357 GB, free: 67.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002967/1.2, allocations: 85.53 kB / 0.5358 GB, free: 67.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002563/1.2, allocations: 0.4903 MB / 0.5363 GB, free: 67.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003473/1.204, allocations: 1.42 MB / 0.5376 GB, free: 67.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004866/1.208, allocations: 4.261 MB / 0.5418 GB, free: 62.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005303/1.214, allocations: 2.389 MB / 0.5441 GB, free: 61.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.581e-05/1.214, allocations: 34.3 kB / 0.5442 GB, free: 61.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.0128/1.227, allocations: 5.393 MB / 0.5494 GB, free: 59.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.541e-05/1.227, allocations: 49.25 kB / 0.5495 GB, free: 59.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001369/1.227, allocations: 106.8 kB / 0.5496 GB, free: 59.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/1.227, allocations: 146.3 kB / 0.5497 GB, free: 59.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006132/1.233, allocations: 1.08 MB / 0.5508 GB, free: 59.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001744/1.234, allocations: 199.1 kB / 0.551 GB, free: 59.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004916/1.239, allocations: 289 kB / 0.5512 GB, free: 59.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008666/1.239, allocations: 285.5 kB / 0.5515 GB, free: 59.56 MB / 410.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.003194/1.243, allocations: 1.377 MB / 0.5529 GB, free: 58.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005828/1.243, allocations: 240.4 kB / 0.5531 GB, free: 58.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00308/1.246, allocations: 1.246 MB / 0.5543 GB, free: 58.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.671e-05/1.246, allocations: 13.09 kB / 0.5543 GB, free: 58.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/1.246, allocations: 0 / 0.5543 GB, free: 58.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-05/1.246, allocations: 7.375 kB / 0.5543 GB, free: 58.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/1.256, allocations: 4.01 MB / 0.5582 GB, free: 56.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/1.257, allocations: 0 / 0.5582 GB, free: 56.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/1.258, allocations: 213.2 kB / 0.5585 GB, free: 56.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.527e-05/1.258, allocations: 6.875 kB / 0.5585 GB, free: 56.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/1.259, allocations: 18.66 kB / 0.5585 GB, free: 56.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.916e-06/1.259, allocations: 2.781 kB / 0.5585 GB, free: 56.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.259, allocations: 7.453 kB / 0.5585 GB, free: 56.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003608/1.262, allocations: 2.01 MB / 0.5604 GB, free: 55.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/1.263, allocations: 459.3 kB / 0.5609 GB, free: 55.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004984/1.264, allocations: 11.59 kB / 0.5609 GB, free: 55.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/1.266, allocations: 74.61 kB / 0.561 GB, free: 55.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/1.266, allocations: 48.97 kB / 0.561 GB, free: 55.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/1.266, allocations: 40.97 kB / 0.5611 GB, free: 55.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004053/1.27, allocations: 1.814 MB / 0.5628 GB, free: 54.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.01e-07/1.27, allocations: 0 / 0.5628 GB, free: 54.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004375/1.274, allocations: 0.6437 MB / 0.5635 GB, free: 54.66 MB / 410.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.0004617/1.275, allocations: 177.1 kB / 0.5636 GB, free: 54.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007174/1.282, allocations: 3.236 MB / 0.5668 GB, free: 53.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/1.282, allocations: 4 kB / 0.5668 GB, free: 53.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001523/1.284, allocations: 0.7767 MB / 0.5675 GB, free: 52.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/1.286, allocations: 227.7 kB / 0.5678 GB, free: 52.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/1.299, allocations: 6.663 MB / 0.5743 GB, free: 46.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002674/1.301, allocations: 2.258 MB / 0.5765 GB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/1.303, allocations: 213.1 kB / 0.5767 GB, free: 44.53 MB / 410.7 MB Notification: Performance of SimCode: time 1.423e-06/1.303, allocations: 0 / 0.5767 GB, free: 44.53 MB / 410.7 MB Notification: Performance of Templates: time 0.0691/1.372, allocations: 36.45 MB / 0.6123 GB, free: 11.91 MB / 410.7 MB