Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.179/2.179, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005989/0.0005989, allocations: 12 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3302, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01913/0.3494, allocations: 11.84 MB / 381.1 MB, free: 14.83 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.3604, allocations: 4.151 MB / 385.3 MB, free: 10.67 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001969/0.3625, allocations: 51.88 kB / 385.3 MB, free: 10.62 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.3642, allocations: 0.5365 MB / 385.8 MB, free: 10.08 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006917/0.3712, allocations: 1.851 MB / 387.7 MB, free: 8.223 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.3729, allocations: 447.2 kB / 388.1 MB, free: 7.785 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003564/0.3764, allocations: 1.501 MB / 389.6 MB, free: 6.281 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002733/0.3792, allocations: 1.394 MB / 391 MB, free: 4.852 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.3803, allocations: 0.6112 MB / 391.6 MB, free: 4.238 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.3819, allocations: 0.8605 MB / 392.5 MB, free: 3.375 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003305/0.3822, allocations: 76 kB / 392.6 MB, free: 3.301 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002083/0.3843, allocations: 0.8152 MB / 393.4 MB, free: 2.484 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001204/0.3855, allocations: 0.8883 MB / 394.3 MB, free: 1.594 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006118/0.3862, allocations: 0.4884 MB / 394.8 MB, free: 1.098 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005163/0.3913, allocations: 3.045 MB / 397.8 MB, free: 14.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3914, allocations: 0 / 397.8 MB, free: 14.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.971e-06/0.3914, allocations: 4 kB / 397.8 MB, free: 14.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001099/0.3915, allocations: 0 / 397.8 MB, free: 14.04 MB / 330.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.007405/0.399, allocations: 2.583 MB / 400.4 MB, free: 11.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.399, allocations: 8.031 kB / 400.4 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009507/0.4, allocations: 458.2 kB / 400.8 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/0.4122, allocations: 1.985 MB / 402.8 MB, free: 8.945 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004367/0.4166, allocations: 1.569 MB / 404.4 MB, free: 7.328 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.4168, allocations: 127 kB / 404.5 MB, free: 7.203 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005588/0.4174, allocations: 155.9 kB / 404.7 MB, free: 7.051 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0148/0.4322, allocations: 6.495 MB / 411.2 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001013/0.4324, allocations: 31.66 kB / 411.2 MB, free: 0 / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004079/0.4328, allocations: 83.89 kB / 411.3 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00367/0.4365, allocations: 1.378 MB / 412.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01649/0.453, allocations: 5.752 MB / 418.4 MB, free: 8.777 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04454/0.4976, allocations: 26.73 MB / 445.1 MB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007056/0.5047, allocations: 2.149 MB / 447.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002586/0.505, allocations: 174.5 kB / 447.5 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.505, allocations: 50.77 kB / 447.5 MB, free: 10.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=100): time 5.821e-06/0.5051, allocations: 3.984 kB / 447.5 MB, free: 10.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=112): time 0.02673/0.5318, allocations: 6.705 MB / 454.2 MB, free: 3.848 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.176e-05/0.5319, allocations: 137 kB / 454.4 MB, free: 3.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0057/0.5377, allocations: 2.983 MB / 457.3 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002296/0.5379, allocations: 41.7 kB / 457.4 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001975/0.5399, allocations: 2.085 MB / 459.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006655/0.5406, allocations: 458.3 kB / 459.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000297/0.5409, allocations: 84 kB / 460 MB, free: 13.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003699/0.5413, allocations: 0.5003 MB / 460.5 MB, free: 13.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003662/0.545, allocations: 1.398 MB / 461.9 MB, free: 12.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005774/0.5508, allocations: 4.249 MB / 466.1 MB, free: 6.379 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005781/0.5566, allocations: 2.376 MB / 468.5 MB, free: 4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.798e-05/0.5567, allocations: 28 kB / 468.5 MB, free: 3.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=574) (initialization): time 0.3033/0.86, allocations: 5.343 MB / 473.9 MB, free: 85.17 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.8602, allocations: 50.5 kB / 473.9 MB, free: 85.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001975/0.8604, allocations: 102.6 kB / 474 MB, free: 85.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002346/0.8607, allocations: 147.4 kB / 474.2 MB, free: 85.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008039/0.8687, allocations: 1.218 MB / 475.4 MB, free: 85.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002422/0.869, allocations: 199.9 kB / 475.6 MB, free: 85.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004212/0.8732, allocations: 241.8 kB / 475.8 MB, free: 85.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006155/0.8739, allocations: 277.4 kB / 476.1 MB, free: 85.17 MB / 394.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.0031/0.877, allocations: 1.384 MB / 477.5 MB, free: 85.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005378/0.8775, allocations: 240.9 kB / 477.7 MB, free: 85.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003016/0.8806, allocations: 1.233 MB / 479 MB, free: 84.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.212e-05/0.8806, allocations: 12.72 kB / 479 MB, free: 84.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.8807, allocations: 1.344 kB / 479 MB, free: 84.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/0.8807, allocations: 5.891 kB / 479 MB, free: 84.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.8914, allocations: 4.565 MB / 483.5 MB, free: 83.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/0.8914, allocations: 3.688 kB / 483.5 MB, free: 83.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00326/0.8947, allocations: 369.6 kB / 483.9 MB, free: 83.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.557e-05/0.8947, allocations: 11.34 kB / 483.9 MB, free: 83.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.8949, allocations: 23.09 kB / 483.9 MB, free: 83.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.198e-05/0.8949, allocations: 11.59 kB / 484 MB, free: 83.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.8949, allocations: 9.375 kB / 484 MB, free: 83.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003507/0.8984, allocations: 2.152 MB / 486.1 MB, free: 82.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/0.8996, allocations: 471.6 kB / 486.6 MB, free: 81.83 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004711/0.9001, allocations: 25 kB / 486.6 MB, free: 81.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/0.9016, allocations: 57.7 kB / 486.7 MB, free: 81.81 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.9018, allocations: 69.33 kB / 486.7 MB, free: 81.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.902, allocations: 38.19 kB / 486.8 MB, free: 81.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003577/0.9056, allocations: 1.894 MB / 488.7 MB, free: 81.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.9056, allocations: 0 / 488.7 MB, free: 81.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004266/0.9099, allocations: 0.6379 MB / 489.3 MB, free: 81.07 MB / 394.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.004127/0.914, allocations: 2.794 MB / 492.1 MB, free: 79.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006758/0.9208, allocations: 3.218 MB / 495.3 MB, free: 76.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.9209, allocations: 4 kB / 495.3 MB, free: 76.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.9224, allocations: 0.7923 MB / 496.1 MB, free: 75.67 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/0.9242, allocations: 245.3 kB / 496.3 MB, free: 75.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04705/0.9713, allocations: 22.27 MB / 0.5065 GB, free: 50.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002566/0.9739, allocations: 2.274 MB / 0.5087 GB, free: 48.49 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002392/0.9763, allocations: 1.116 MB / 0.5098 GB, free: 47.37 MB / 394.7 MB Notification: Performance of SimCode: time 1.783e-06/0.9763, allocations: 0 / 0.5098 GB, free: 47.37 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.706/4.682, allocations: 52.46 MB / 0.561 GB, free: 10.86 MB / 410.7 MB