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 2.003/2.003, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004406/0.0004409, allocations: 8 kB / 282.5 MB, free: 9.648 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2894, allocations: 48.7 MB / 331.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01564/0.3051, allocations: 11.8 MB / 343 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.3162, allocations: 4.131 MB / 347.1 MB, free: 11.29 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002624/0.3189, allocations: 56.5 kB / 347.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.3209, allocations: 0.5328 MB / 347.7 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006822/0.3277, allocations: 1.855 MB / 349.6 MB, free: 9.605 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.3295, allocations: 462.6 kB / 350 MB, free: 9.328 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003485/0.333, allocations: 1.497 MB / 351.5 MB, free: 8.465 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002769/0.3359, allocations: 1.387 MB / 352.9 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.3371, allocations: 0.6128 MB / 353.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.3387, allocations: 0.8523 MB / 354.4 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003664/0.3391, allocations: 84.69 kB / 354.4 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/0.3412, allocations: 0.8112 MB / 355.3 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001384/0.3426, allocations: 0.8961 MB / 356.2 MB, free: 5.496 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007412/0.3434, allocations: 0.4884 MB / 356.6 MB, free: 5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004981/0.3484, allocations: 3.037 MB / 359.7 MB, free: 1.957 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.669e-06/0.3484, allocations: 3.938 kB / 359.7 MB, free: 1.953 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.403e-06/0.3484, allocations: 0 / 359.7 MB, free: 1.953 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.895e-05/0.3485, allocations: 0 / 359.7 MB, free: 1.953 MB / 282.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.006305/0.3548, allocations: 2.594 MB / 362.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3549, allocations: 8.031 kB / 362.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009093/0.364, allocations: 1.981 MB / 364.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003734/0.3678, allocations: 1.562 MB / 365.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.368, allocations: 123 kB / 365.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005814/0.3686, allocations: 159.9 kB / 366.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01331/0.3819, allocations: 6.494 MB / 372.6 MB, free: 4.395 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.642e-05/0.382, allocations: 35.66 kB / 372.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003659/0.3824, allocations: 87.84 kB / 372.7 MB, free: 4.273 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00284/0.3853, allocations: 1.374 MB / 374.1 MB, free: 2.902 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01422/0.3995, allocations: 5.752 MB / 379.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04089/0.4404, allocations: 26.66 MB / 406.5 MB, free: 1.633 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005942/0.4464, allocations: 2.146 MB / 408.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.32e-05/0.4466, allocations: 8.328 kB / 408.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.4466, allocations: 46.89 kB / 408.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of pre-optimization done (n=100): time 9.037e-06/0.4466, allocations: 0 / 408.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=112): time 0.03191/0.4786, allocations: 6.691 MB / 415.4 MB, free: 8.504 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.4788, allocations: 148.9 kB / 415.5 MB, free: 8.328 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/0.4888, allocations: 2.983 MB / 418.5 MB, free: 5.332 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002934/0.4892, allocations: 41.7 kB / 418.6 MB, free: 5.285 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003509/0.4927, allocations: 2.077 MB / 420.6 MB, free: 3.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001117/0.4939, allocations: 454.4 kB / 421.1 MB, free: 2.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006067/0.4945, allocations: 84 kB / 421.2 MB, free: 2.648 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0007514/0.4953, allocations: 0.4966 MB / 421.7 MB, free: 2.141 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005618/0.501, allocations: 1.398 MB / 423.1 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01003/0.511, allocations: 4.261 MB / 427.3 MB, free: 11.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007619/0.5187, allocations: 2.383 MB / 429.7 MB, free: 8.648 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.253e-05/0.5189, allocations: 28 kB / 429.7 MB, free: 8.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=574) (initialization): time 0.01399/0.5329, allocations: 5.355 MB / 435.1 MB, free: 3.262 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.533, allocations: 48 kB / 435.1 MB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001562/0.5332, allocations: 108 kB / 435.2 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002114/0.5334, allocations: 152.7 kB / 435.4 MB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005544/0.539, allocations: 1.216 MB / 436.6 MB, free: 1.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002483/0.5393, allocations: 199.2 kB / 436.8 MB, free: 1.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003987/0.5433, allocations: 243.5 kB / 437 MB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000799/0.5441, allocations: 283.9 kB / 437.3 MB, free: 1.035 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * 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 (550): * Single equations (assignments): 547 * 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.003327/0.5475, allocations: 1.375 MB / 438.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006243/0.5481, allocations: 240.8 kB / 438.9 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00304/0.5512, allocations: 1.269 MB / 440.2 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.924e-05/0.5513, allocations: 19.94 kB / 440.2 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.5513, allocations: 0 / 440.2 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.266e-05/0.5513, allocations: 7.984 kB / 440.2 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/0.5615, allocations: 4.062 MB / 444.3 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/0.5616, allocations: 3.953 kB / 444.3 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002261/0.5638, allocations: 359.4 kB / 444.6 MB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.82e-05/0.5639, allocations: 4 kB / 444.6 MB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/0.564, allocations: 23.98 kB / 444.7 MB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.035e-05/0.564, allocations: 4.281 kB / 444.7 MB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.764e-06/0.5641, allocations: 0 / 444.7 MB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003898/0.568, allocations: 2.028 MB / 446.7 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/0.5694, allocations: 469.6 kB / 447.2 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000455/0.5699, allocations: 15.98 kB / 447.2 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.5712, allocations: 51.94 kB / 447.2 MB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.5714, allocations: 56.3 kB / 447.3 MB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.5716, allocations: 39.98 kB / 447.3 MB, free: 6.898 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004108/0.5757, allocations: 1.877 MB / 449.2 MB, free: 5.016 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.023e-06/0.5757, allocations: 0 / 449.2 MB, free: 5.016 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004576/0.5803, allocations: 0.6523 MB / 449.8 MB, free: 4.363 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 () * 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.00058/0.5809, allocations: 171.1 kB / 450 MB, free: 4.184 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007983/0.5889, allocations: 3.224 MB / 453.2 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.564e-06/0.589, allocations: 0 / 453.2 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.5908, allocations: 0.7885 MB / 454 MB, free: 204 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/0.5925, allocations: 245.2 kB / 454.3 MB, free: 15.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/0.6064, allocations: 6.619 MB / 460.9 MB, free: 9.293 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003719/0.6101, allocations: 2.26 MB / 463.1 MB, free: 7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/0.6112, allocations: 211.4 kB / 463.3 MB, free: 6.793 MB / 394.7 MB Notification: Performance of SimCode: time 1.8e-06/0.6113, allocations: 4 kB / 463.4 MB, free: 6.789 MB / 394.7 MB Notification: Performance of Templates: time 0.2942/0.9054, allocations: 36.87 MB / 0.4885 GB, free: 124.5 MB / 410.7 MB