Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.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.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.067/2.067, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004799, allocations: 16 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3514, allocations: 48.7 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.04483/0.3963, allocations: 23.98 MB / 355.3 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01908/0.4154, allocations: 5.114 MB / 360.4 MB, free: 1.242 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006251/0.4218, allocations: 107.6 kB / 360.5 MB, free: 1.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006075/0.4279, allocations: 1.26 MB / 361.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01676/0.4447, allocations: 3.355 MB / 365.1 MB, free: 12.6 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.4461, allocations: 79.94 kB / 365.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004216/0.4504, allocations: 1.563 MB / 366.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004311/0.4547, allocations: 1.982 MB / 368.7 MB, free: 8.926 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.4565, allocations: 0.7784 MB / 369.5 MB, free: 8.145 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002031/0.4585, allocations: 1.051 MB / 370.5 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005848/0.4591, allocations: 124 kB / 370.7 MB, free: 6.969 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.4605, allocations: 387.5 kB / 371 MB, free: 6.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00204/0.4626, allocations: 1.258 MB / 372.3 MB, free: 5.328 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00115/0.4638, allocations: 0.718 MB / 373 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0069/0.4707, allocations: 4.292 MB / 377.3 MB, free: 308 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4708, allocations: 0 / 377.3 MB, free: 308 kB / 298.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4708, allocations: 0 / 377.3 MB, free: 308 kB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001716/0.471, allocations: 0 / 377.3 MB, free: 308 kB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1517 * Number of variables: 1517 Notification: Performance of Generate backend data structure: time 0.007572/0.4785, allocations: 3.086 MB / 380.4 MB, free: 13.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.4786, allocations: 16.03 kB / 380.4 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002017/0.4806, allocations: 0.7 MB / 381.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02202/0.5027, allocations: 3.618 MB / 384.7 MB, free: 8.797 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004923/0.5077, allocations: 1.533 MB / 386.3 MB, free: 7.219 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002724/0.508, allocations: 180.4 kB / 386.4 MB, free: 7.039 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00137/0.5094, allocations: 231.8 kB / 386.7 MB, free: 6.812 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02379/0.5332, allocations: 9.94 MB / 396.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.688e-05/0.5334, allocations: 19.81 kB / 396.6 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005901/0.534, allocations: 115.8 kB / 396.7 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007347/0.5413, allocations: 2.529 MB / 399.3 MB, free: 9.758 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02659/0.568, allocations: 8.915 MB / 408.2 MB, free: 0.832 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06605/0.6341, allocations: 31.45 MB / 439.6 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008748/0.6429, allocations: 3.291 MB / 442.9 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.643, allocations: 13.05 kB / 442.9 MB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.6431, allocations: 47.5 kB / 443 MB, free: 12.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=150): time 5.3e-06/0.6431, allocations: 0 / 443 MB, free: 12.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=150): time 0.01332/0.6564, allocations: 3.899 MB / 446.9 MB, free: 8.918 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/0.6566, allocations: 94.23 kB / 447 MB, free: 8.805 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007053/0.6636, allocations: 3.128 MB / 450.1 MB, free: 5.656 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002892/0.664, allocations: 41.7 kB / 450.1 MB, free: 5.609 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00291/0.6669, allocations: 2.706 MB / 452.8 MB, free: 2.867 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00104/0.668, allocations: 0.5747 MB / 453.4 MB, free: 2.285 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004583/0.6685, allocations: 92 kB / 453.5 MB, free: 2.195 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004867/0.669, allocations: 0.5174 MB / 454 MB, free: 1.668 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004081/0.6731, allocations: 1.52 MB / 455.5 MB, free: 144 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007261/0.6804, allocations: 4.49 MB / 460 MB, free: 10.17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006721/0.6871, allocations: 2.62 MB / 462.7 MB, free: 7.547 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001139/0.6873, allocations: 36 kB / 462.7 MB, free: 7.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01623/0.7036, allocations: 5.77 MB / 468.5 MB, free: 1.734 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.904e-05/0.7037, allocations: 52.94 kB / 468.5 MB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000169/0.7039, allocations: 104 kB / 468.6 MB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/0.7041, allocations: 152 kB / 468.8 MB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006259/0.7104, allocations: 1.084 MB / 469.8 MB, free: 356 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002541/0.7107, allocations: 207.2 kB / 470.1 MB, free: 148 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005094/0.7158, allocations: 0.6878 MB / 470.7 MB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009638/0.7168, allocations: 300 kB / 471 MB, free: 15.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * Number of states: 0 () * Number of discrete variables: 24 (arrow.color[3],arrow.color[2],arrow.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (596): * Single equations (assignments): 590 * Array equations: 6 * 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.005136/0.7219, allocations: 1.973 MB / 473 MB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000658/0.7226, allocations: 272.5 kB / 473.3 MB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.7237, allocations: 332 kB / 473.6 MB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.735e-05/0.7238, allocations: 16 kB / 473.6 MB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.7238, allocations: 0 / 473.6 MB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.7239, allocations: 7.984 kB / 473.6 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01947/0.7433, allocations: 7.105 MB / 480.7 MB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.7434, allocations: 4.938 kB / 480.7 MB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/0.7449, allocations: 179.7 kB / 480.9 MB, free: 5.094 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.259e-05/0.7449, allocations: 12 kB / 480.9 MB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/0.7451, allocations: 43.92 kB / 481 MB, free: 5.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.066e-05/0.7451, allocations: 15.94 kB / 481 MB, free: 5.023 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.375e-05/0.7451, allocations: 11.94 kB / 481 MB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004913/0.7501, allocations: 2.255 MB / 483.2 MB, free: 2.641 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.7512, allocations: 369.2 kB / 483.6 MB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008274/0.7521, allocations: 28 kB / 483.6 MB, free: 2.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/0.7537, allocations: 59.83 kB / 483.7 MB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002884/0.754, allocations: 76.45 kB / 483.8 MB, free: 2.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/0.7542, allocations: 52 kB / 483.8 MB, free: 2.047 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005193/0.7594, allocations: 1.98 MB / 485.8 MB, free: 68 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.052e-06/0.7595, allocations: 3.938 kB / 485.8 MB, free: 64 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.2888/1.048, allocations: 1.025 MB / 486.8 MB, free: 126.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (102): * Single equations (assignments): 96 * Array equations: 6 * 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.005505/1.054, allocations: 2.914 MB / 489.7 MB, free: 125.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008741/1.063, allocations: 3.558 MB / 493.3 MB, free: 124.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/1.063, allocations: 2.281 kB / 493.3 MB, free: 124.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002037/1.065, allocations: 0.9204 MB / 494.2 MB, free: 124.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/1.067, allocations: 302.9 kB / 494.5 MB, free: 123.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06114/1.128, allocations: 26.46 MB / 0.5088 GB, free: 106.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005634/1.134, allocations: 3.152 MB / 0.5118 GB, free: 103.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003396/1.137, allocations: 1.617 MB / 0.5134 GB, free: 102.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.573e-06/1.137, allocations: 0 / 0.5134 GB, free: 102.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.534/4.671, allocations: 67.9 MB / 0.5797 GB, free: 34.29 MB / 410.7 MB