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: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.973/1.973, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004436/0.0004438, allocations: 8 kB / 282.6 MB, free: 9.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3391, allocations: 48.7 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01707/0.3562, allocations: 11.8 MB / 343.1 MB, free: 14.4 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.3685, allocations: 4.119 MB / 347.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002781/0.3713, allocations: 56.03 kB / 347.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00228/0.3737, allocations: 0.5442 MB / 347.8 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007776/0.3815, allocations: 1.857 MB / 349.6 MB, free: 9.613 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.3837, allocations: 461.8 kB / 350.1 MB, free: 9.336 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004068/0.3878, allocations: 1.497 MB / 351.6 MB, free: 8.473 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003148/0.391, allocations: 1.396 MB / 353 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.3924, allocations: 0.6046 MB / 353.6 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/0.3942, allocations: 0.8603 MB / 354.5 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004819/0.3947, allocations: 79.69 kB / 354.5 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002582/0.3973, allocations: 0.8088 MB / 355.3 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001465/0.3988, allocations: 0.8883 MB / 356.2 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000773/0.3996, allocations: 0.4923 MB / 356.7 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005541/0.4052, allocations: 3.041 MB / 359.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4052, allocations: 4 kB / 359.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.4052, allocations: 0 / 359.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.098e-05/0.4053, allocations: 0 / 359.8 MB, free: 1.93 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.008272/0.4136, allocations: 2.586 MB / 362.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.4137, allocations: 11.97 kB / 362.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001388/0.4151, allocations: 462.2 kB / 362.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01271/0.4278, allocations: 1.981 MB / 364.8 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00447/0.4323, allocations: 1.562 MB / 366.4 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.4325, allocations: 123 kB / 366.5 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000589/0.4332, allocations: 159.9 kB / 366.6 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01585/0.449, allocations: 6.502 MB / 373.1 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001127/0.4492, allocations: 39.7 kB / 373.2 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004636/0.4497, allocations: 79.89 kB / 373.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003959/0.4536, allocations: 1.386 MB / 374.6 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01771/0.4714, allocations: 5.745 MB / 380.4 MB, free: 12.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04603/0.5175, allocations: 26.66 MB / 407 MB, free: 1.152 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007238/0.5248, allocations: 2.141 MB / 409.2 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/0.5249, allocations: 16.25 kB / 409.2 MB, free: 14.85 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.525, allocations: 46.83 kB / 409.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=100): time 4.328e-06/0.525, allocations: 0 / 409.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=112): time 0.02765/0.5527, allocations: 6.695 MB / 415.9 MB, free: 8.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.5528, allocations: 145 kB / 416.1 MB, free: 7.848 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006681/0.5595, allocations: 2.983 MB / 419.1 MB, free: 4.852 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002865/0.5599, allocations: 45.69 kB / 419.1 MB, free: 4.801 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002408/0.5623, allocations: 2.077 MB / 421.2 MB, free: 2.695 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008319/0.5632, allocations: 454.4 kB / 421.6 MB, free: 2.246 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004716/0.5636, allocations: 87.94 kB / 421.7 MB, free: 2.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004494/0.5641, allocations: 0.4966 MB / 422.2 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004133/0.5682, allocations: 1.394 MB / 423.6 MB, free: 256 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006896/0.5752, allocations: 4.253 MB / 427.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006101/0.5813, allocations: 2.387 MB / 430.2 MB, free: 8.164 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.222e-05/0.5815, allocations: 28 kB / 430.3 MB, free: 8.137 MB / 362.7 MB Notification: Performance of matching and sorting (n=574) (initialization): time 0.01481/0.5963, allocations: 5.358 MB / 435.6 MB, free: 2.777 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.016e-05/0.5964, allocations: 56.25 kB / 435.7 MB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001449/0.5966, allocations: 104 kB / 435.8 MB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002022/0.5968, allocations: 148 kB / 435.9 MB, free: 2.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00805/0.6049, allocations: 1.212 MB / 437.1 MB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000251/0.6052, allocations: 207.2 kB / 437.3 MB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004225/0.6094, allocations: 235.5 kB / 437.6 MB, free: 0.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006567/0.6101, allocations: 288 kB / 437.9 MB, free: 0.5508 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.00335/0.6134, allocations: 1.379 MB / 439.2 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006203/0.6141, allocations: 236.9 kB / 439.5 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00355/0.6176, allocations: 1.265 MB / 440.7 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.802e-05/0.6177, allocations: 15.95 kB / 440.7 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.6178, allocations: 4 kB / 440.8 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/0.6178, allocations: 7.984 kB / 440.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.6287, allocations: 4.062 MB / 444.8 MB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.6288, allocations: 0 / 444.8 MB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003596/0.6324, allocations: 359.4 kB / 445.2 MB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.875e-05/0.6324, allocations: 7.984 kB / 445.2 MB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/0.6326, allocations: 24 kB / 445.2 MB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/0.6326, allocations: 4 kB / 445.2 MB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6326, allocations: 0 / 445.2 MB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004271/0.6369, allocations: 2.024 MB / 447.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/0.6382, allocations: 465.6 kB / 447.7 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004971/0.6387, allocations: 16 kB / 447.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/0.6403, allocations: 64.19 kB / 447.8 MB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.6405, allocations: 52.31 kB / 447.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.6406, allocations: 39.98 kB / 447.9 MB, free: 6.418 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004252/0.6449, allocations: 1.873 MB / 449.7 MB, free: 4.539 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6449, allocations: 0 / 449.7 MB, free: 4.539 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004486/0.6494, allocations: 0.6523 MB / 450.4 MB, free: 3.887 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.005142/0.6546, allocations: 2.682 MB / 453.1 MB, free: 1.176 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008265/0.6629, allocations: 3.227 MB / 456.3 MB, free: 13.96 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.663, allocations: 0 / 456.3 MB, free: 13.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001937/0.6649, allocations: 0.7876 MB / 457.1 MB, free: 13.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.6669, allocations: 234.6 kB / 457.3 MB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05789/0.7248, allocations: 21.99 MB / 479.3 MB, free: 4.344 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003429/0.7283, allocations: 2.264 MB / 481.6 MB, free: 2.047 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002793/0.7311, allocations: 1.12 MB / 482.7 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/0.7311, allocations: 0 / 482.7 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.448/4.18, allocations: 52.7 MB / 0.5228 GB, free: 93.04 MB / 410.7 MB