Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01431/0.01432, allocations: 163.8 kB / 15.12 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.805/1.805, allocations: 170.8 MB / 186.6 MB, free: 1.113 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001726/0.001725, allocations: 110.8 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.482/0.482, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007131/0.0007134, allocations: 20 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1126, allocations: 48.7 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.3416/0.4542, allocations: 36.09 MB / 447.8 MB, free: 29.56 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02055/0.4749, allocations: 7.255 MB / 455 MB, free: 26.86 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008403/0.4833, allocations: 169.7 kB / 455.2 MB, free: 26.83 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006588/0.49, allocations: 1.886 MB / 457.1 MB, free: 26.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0205/0.5105, allocations: 6.261 MB / 463.4 MB, free: 23.65 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002566/0.5132, allocations: 286.4 kB / 463.6 MB, free: 23.53 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0361/0.5493, allocations: 17.78 MB / 481.4 MB, free: 17.37 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008602/0.558, allocations: 3.882 MB / 485.3 MB, free: 14.97 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004546/0.5626, allocations: 1.855 MB / 487.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006498/0.5691, allocations: 2.746 MB / 489.9 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001664/0.5708, allocations: 230.1 kB / 490.1 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003169/0.574, allocations: 0.573 MB / 490.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004479/0.5786, allocations: 2.567 MB / 493.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001894/0.5805, allocations: 1.333 MB / 494.6 MB, free: 9.562 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.5911, allocations: 8.121 MB / 0.4909 GB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.5912, allocations: 4 kB / 0.4909 GB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.5912, allocations: 0 / 0.4909 GB, free: 1.418 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003351/0.5915, allocations: 0 / 0.4909 GB, free: 1.418 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: 2814 * Number of variables: 2814 Notification: Performance of Generate backend data structure: time 0.01558/0.6071, allocations: 5.792 MB / 0.4966 GB, free: 11.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.6072, allocations: 8.031 kB / 0.4966 GB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00405/0.6113, allocations: 1.279 MB / 0.4979 GB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03683/0.6481, allocations: 6.033 MB / 0.5037 GB, free: 4.203 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01164/0.6598, allocations: 3.198 MB / 0.5069 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004551/0.6603, allocations: 323.9 kB / 0.5072 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002216/0.6626, allocations: 419.7 kB / 0.5076 GB, free: 212 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04796/0.7105, allocations: 18.84 MB / 0.526 GB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001569/0.7108, allocations: 39.64 kB / 0.526 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00168/0.7125, allocations: 203.7 kB / 0.5262 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01421/0.7267, allocations: 4.746 MB / 0.5308 GB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05429/0.781, allocations: 17.44 MB / 0.5479 GB, free: 6.164 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4981/1.279, allocations: 61.13 MB / 0.6076 GB, free: 84.51 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03632/1.316, allocations: 8.417 MB / 0.6158 GB, free: 82.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009119/1.325, allocations: 2.567 MB / 0.6183 GB, free: 81.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04352/1.368, allocations: 11.87 MB / 0.6299 GB, free: 76.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.063e-05/1.369, allocations: 58.22 kB / 0.6299 GB, free: 76.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=321): time 1.031e-05/1.369, allocations: 2 kB / 0.63 GB, free: 76.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.03372/1.402, allocations: 7.484 MB / 0.6373 GB, free: 74.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.707e-05/1.402, allocations: 101.9 kB / 0.6374 GB, free: 74.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01417/1.417, allocations: 5.616 MB / 0.6428 GB, free: 72.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005981/1.417, allocations: 65.48 kB / 0.6429 GB, free: 71.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004411/1.422, allocations: 5.057 MB / 0.6478 GB, free: 68.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001983/1.424, allocations: 1.2 MB / 0.649 GB, free: 67.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001141/1.425, allocations: 178.5 kB / 0.6492 GB, free: 67.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001012/1.426, allocations: 0.7321 MB / 0.6499 GB, free: 66.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009137/1.435, allocations: 3.164 MB / 0.653 GB, free: 65.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01204/1.447, allocations: 8.595 MB / 0.6614 GB, free: 57.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01192/1.459, allocations: 5.277 MB / 0.6665 GB, free: 55.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002429/1.46, allocations: 54.69 kB / 0.6666 GB, free: 55.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.02956/1.489, allocations: 11.54 MB / 0.6779 GB, free: 50.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001502/1.489, allocations: 88.59 kB / 0.6779 GB, free: 50.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003316/1.49, allocations: 192 kB / 0.6781 GB, free: 50.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003075/1.49, allocations: 277.8 kB / 0.6784 GB, free: 49.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01262/1.503, allocations: 2.077 MB / 0.6804 GB, free: 47.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000383/1.503, allocations: 372.4 kB / 0.6808 GB, free: 47.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009681/1.513, allocations: 1.321 MB / 0.6821 GB, free: 46.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002174/1.515, allocations: 0.554 MB / 0.6826 GB, free: 45.76 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 865 * Number of states: 0 () * Number of discrete variables: 30 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1137): * Single equations (assignments): 1119 * Array equations: 18 * 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.009206/1.524, allocations: 3.687 MB / 0.6862 GB, free: 42.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/1.525, allocations: 485.5 kB / 0.6867 GB, free: 41.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/1.527, allocations: 0.6449 MB / 0.6873 GB, free: 40.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001362/1.527, allocations: 58.48 kB / 0.6874 GB, free: 40.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.371e-05/1.527, allocations: 4 kB / 0.6874 GB, free: 40.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.298e-05/1.528, allocations: 7.969 kB / 0.6874 GB, free: 40.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0333/1.561, allocations: 12.6 MB / 0.6997 GB, free: 28.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.632e-05/1.561, allocations: 16.03 kB / 0.6997 GB, free: 28.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003598/1.565, allocations: 427.3 kB / 0.7001 GB, free: 27.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.126e-05/1.565, allocations: 24 kB / 0.7001 GB, free: 27.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004234/1.565, allocations: 55.98 kB / 0.7002 GB, free: 27.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.824e-05/1.565, allocations: 31.92 kB / 0.7002 GB, free: 27.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.52e-05/1.565, allocations: 23.88 kB / 0.7002 GB, free: 27.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008875/1.574, allocations: 4.617 MB / 0.7047 GB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/1.576, allocations: 0.5876 MB / 0.7053 GB, free: 22.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001624/1.577, allocations: 51.28 kB / 0.7054 GB, free: 22.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003638/1.581, allocations: 131.8 kB / 0.7055 GB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007531/1.582, allocations: 183.9 kB / 0.7057 GB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002689/1.582, allocations: 103.3 kB / 0.7058 GB, free: 21.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008151/1.59, allocations: 3.438 MB / 0.7091 GB, free: 18.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.663e-06/1.59, allocations: 0 / 0.7091 GB, free: 18.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01089/1.601, allocations: 1.977 MB / 0.711 GB, free: 16.21 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * 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.009519/1.611, allocations: 5.297 MB / 0.7162 GB, free: 10.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01571/1.627, allocations: 7.222 MB / 0.7233 GB, free: 3.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.651e-05/1.627, allocations: 4 kB / 0.7233 GB, free: 3.496 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004212/1.631, allocations: 2.001 MB / 0.7252 GB, free: 1.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005589/1.637, allocations: 0.6048 MB / 0.7258 GB, free: 0.918 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4388/2.075, allocations: 52.08 MB / 0.7767 GB, free: 124.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01318/2.089, allocations: 5.566 MB / 0.7821 GB, free: 123.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01657/2.105, allocations: 3.535 MB / 0.7856 GB, free: 123 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00816/2.114, allocations: 3.316 MB / 0.7888 GB, free: 120.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.072e-06/2.114, allocations: 0 / 0.7888 GB, free: 120.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2379/2.351, allocations: 111 MB / 0.8972 GB, free: 25.91 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/2.352, allocations: 198.4 kB / 0.8974 GB, free: 25.65 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.954/9.306, allocations: 0 / 0.8974 GB, free: 25.65 MB / 458.7 MB