Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0101/0.0101, allocations: 177.9 kB / 15.13 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.019/2.019, allocations: 194.5 MB / 210.3 MB, free: 7.605 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001685/0.001685, allocations: 104.2 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2641/0.2641, allocations: 40 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005011/0.0005015, allocations: 20.11 kB / 406.3 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1012, allocations: 54.88 MB / 461.2 MB, free: 3.184 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.05109/0.1524, allocations: 23.05 MB / 484.2 MB, free: 12.06 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02136/0.1738, allocations: 4.846 MB / 489.1 MB, free: 7.199 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005563/0.1794, allocations: 99.75 kB / 489.2 MB, free: 7.102 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005647/0.1852, allocations: 1.065 MB / 490.2 MB, free: 6.031 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01786/0.2031, allocations: 3.533 MB / 493.7 MB, free: 2.484 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003659/0.2068, allocations: 347.4 kB / 494.1 MB, free: 2.145 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003478/0.2104, allocations: 1.589 MB / 495.7 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00593/0.2164, allocations: 1.69 MB / 497.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/0.2183, allocations: 486 kB / 497.8 MB, free: 14.35 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002931/0.2213, allocations: 0.7786 MB / 498.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006268/0.222, allocations: 64 kB / 498.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.2241, allocations: 447.3 kB / 499.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001974/0.2262, allocations: 0.7206 MB / 499.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.2273, allocations: 364.5 kB / 0.4885 GB, free: 11.98 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005835/0.2332, allocations: 2.128 MB / 0.4906 GB, free: 9.848 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.2333, allocations: 0 / 0.4906 GB, free: 9.848 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.2333, allocations: 0 / 0.4906 GB, free: 9.848 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001048/0.2334, allocations: 4 kB / 0.4906 GB, free: 9.844 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.01013/0.2436, allocations: 2.037 MB / 0.4925 GB, free: 7.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.531e-05/0.2436, allocations: 12.03 kB / 0.4926 GB, free: 7.738 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0014/0.2451, allocations: 339.6 kB / 0.4929 GB, free: 7.398 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003014/0.2481, allocations: 284.8 kB / 0.4932 GB, free: 7.117 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003725/0.2519, allocations: 0.8567 MB / 0.494 GB, free: 6.219 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001937/0.2521, allocations: 110.7 kB / 0.4941 GB, free: 6.109 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007307/0.2529, allocations: 139.9 kB / 0.4942 GB, free: 5.973 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02231/0.2752, allocations: 4.896 MB / 0.499 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.821e-05/0.2754, allocations: 11.88 kB / 0.499 GB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004354/0.2758, allocations: 63.94 kB / 0.4991 GB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004816/0.2807, allocations: 0.9989 MB / 0.5001 GB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02168/0.3024, allocations: 3.791 MB / 0.5038 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04238/0.3449, allocations: 16.28 MB / 0.5197 GB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007546/0.3525, allocations: 1.282 MB / 0.5209 GB, free: 9.906 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/0.3541, allocations: 0.7106 MB / 0.5216 GB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009137/0.3633, allocations: 4.027 MB / 0.5255 GB, free: 4.902 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.939e-05/0.3634, allocations: 54.3 kB / 0.5256 GB, free: 4.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=41): time 3.977e-06/0.3634, allocations: 0 / 0.5256 GB, free: 4.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=41): time 0.0111/0.3745, allocations: 1.761 MB / 0.5273 GB, free: 3.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.3747, allocations: 111 kB / 0.5274 GB, free: 2.938 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003127/0.3778, allocations: 1.571 MB / 0.5289 GB, free: 1.355 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.287e-05/0.3779, allocations: 37.7 kB / 0.529 GB, free: 1.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3061/0.684, allocations: 1.381 MB / 0.5303 GB, free: 76.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000293/0.6844, allocations: 184.2 kB / 0.5305 GB, free: 76.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.6846, allocations: 47.94 kB / 0.5306 GB, free: 76.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002923/0.6849, allocations: 448.9 kB / 0.531 GB, free: 76.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.6862, allocations: 0.5037 MB / 0.5315 GB, free: 76.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/0.6884, allocations: 2.027 MB / 0.5335 GB, free: 74.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00234/0.6908, allocations: 0.9588 MB / 0.5344 GB, free: 74.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-05/0.6909, allocations: 15.09 kB / 0.5344 GB, free: 74.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.006964/0.6979, allocations: 2.411 MB / 0.5368 GB, free: 73.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.92e-05/0.698, allocations: 28.94 kB / 0.5368 GB, free: 73.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.28e-05/0.6981, allocations: 55.03 kB / 0.5368 GB, free: 73.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001188/0.6982, allocations: 79.94 kB / 0.5369 GB, free: 73.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003129/0.7014, allocations: 0.5368 MB / 0.5374 GB, free: 73.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001341/0.7015, allocations: 107.6 kB / 0.5375 GB, free: 73.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002414/0.704, allocations: 329.8 kB / 0.5379 GB, free: 73.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003308/0.7043, allocations: 151.6 kB / 0.538 GB, free: 73.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * Number of states: 0 () * Number of discrete variables: 30 (rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (292): * Single equations (assignments): 292 * Array equations: 0 * 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.001986/0.7063, allocations: 0.8511 MB / 0.5388 GB, free: 73.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003186/0.7067, allocations: 130 kB / 0.539 GB, free: 73.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003367/0.707, allocations: 153.7 kB / 0.5391 GB, free: 73.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.707, allocations: 9.312 kB / 0.5391 GB, free: 73.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.7071, allocations: 1.656 kB / 0.5391 GB, free: 73.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.7071, allocations: 5.922 kB / 0.5391 GB, free: 73.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007076/0.7142, allocations: 3.272 MB / 0.5423 GB, free: 71.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.022e-05/0.7142, allocations: 12.55 kB / 0.5423 GB, free: 71.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006305/0.7149, allocations: 103.8 kB / 0.5424 GB, free: 71.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.694e-05/0.7149, allocations: 17.67 kB / 0.5424 GB, free: 71.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.665e-05/0.715, allocations: 20.75 kB / 0.5425 GB, free: 71.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.322e-05/0.715, allocations: 23.41 kB / 0.5425 GB, free: 71.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.788e-05/0.715, allocations: 20.91 kB / 0.5425 GB, free: 71.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.7164, allocations: 0.8967 MB / 0.5434 GB, free: 70.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004542/0.7169, allocations: 225.6 kB / 0.5436 GB, free: 70.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/0.7171, allocations: 28.36 kB / 0.5436 GB, free: 70.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007631/0.7179, allocations: 28.14 kB / 0.5436 GB, free: 70.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.718, allocations: 73.81 kB / 0.5437 GB, free: 70.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/0.7181, allocations: 29.59 kB / 0.5437 GB, free: 70.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002067/0.7201, allocations: 0.9604 MB / 0.5447 GB, free: 70.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.02e-07/0.7202, allocations: 0 / 0.5447 GB, free: 70.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002969/0.7232, allocations: 484.9 kB / 0.5451 GB, free: 70.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * 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 (53): * Single equations (assignments): 53 * Array equations: 0 * 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.001643/0.7248, allocations: 1.462 MB / 0.5466 GB, free: 68.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003142/0.728, allocations: 1.245 MB / 0.5478 GB, free: 68.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/0.7281, allocations: 0 / 0.5478 GB, free: 68.35 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005142/0.7286, allocations: 246.3 kB / 0.548 GB, free: 68.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.7301, allocations: 179.9 kB / 0.5482 GB, free: 68.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02068/0.7508, allocations: 10.88 MB / 0.5588 GB, free: 59.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00191/0.7528, allocations: 1.733 MB / 0.5605 GB, free: 57.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002635/0.7555, allocations: 0.6185 MB / 0.5611 GB, free: 56.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/0.7568, allocations: 0.7336 MB / 0.5618 GB, free: 56.24 MB / 378.7 MB Notification: Performance of SimCode: time 1.563e-06/0.7568, allocations: 0 / 0.5618 GB, free: 56.24 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07117/0.828, allocations: 25.62 MB / 0.5869 GB, free: 30.7 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002568/0.8283, allocations: 177.9 kB / 0.587 GB, free: 30.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.724/4.552, allocations: 0 / 0.587 GB, free: 30.45 MB / 378.7 MB