Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.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.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01023/0.01024, allocations: 164.6 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.966/1.966, 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.001707/0.001707, allocations: 106.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.5115/0.5115, allocations: 38.05 MB / 303.7 MB, free: 42.33 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006598/0.0006601, allocations: 12 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1335, allocations: 48.71 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.3358/0.4694, allocations: 23.02 MB / 434.7 MB, free: 30.2 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01351/0.483, allocations: 4.846 MB / 439.6 MB, free: 29.97 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004707/0.4877, allocations: 95.97 kB / 439.7 MB, free: 29.96 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004203/0.492, allocations: 1.065 MB / 440.7 MB, free: 29.75 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01235/0.5044, allocations: 3.539 MB / 444.3 MB, free: 28.96 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002162/0.5066, allocations: 330.2 kB / 444.6 MB, free: 28.95 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002912/0.5095, allocations: 1.59 MB / 446.2 MB, free: 28.71 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003437/0.513, allocations: 1.692 MB / 447.9 MB, free: 28.47 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009962/0.5141, allocations: 491.8 kB / 448.4 MB, free: 28.36 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001705/0.5158, allocations: 0.7762 MB / 449.1 MB, free: 28.24 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003814/0.5163, allocations: 65.09 kB / 449.2 MB, free: 28.24 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.5177, allocations: 443.5 kB / 449.6 MB, free: 28.22 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001259/0.519, allocations: 0.7116 MB / 450.3 MB, free: 28.14 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006381/0.5197, allocations: 365.2 kB / 450.7 MB, free: 28.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005174/0.5249, allocations: 2.131 MB / 452.8 MB, free: 27.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/0.525, allocations: 3.938 kB / 452.8 MB, free: 27.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.918e-06/0.525, allocations: 0 / 452.8 MB, free: 27.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001478/0.5252, allocations: 3.25 kB / 452.8 MB, free: 27.86 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: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.01033/0.5355, allocations: 2.04 MB / 454.9 MB, free: 26.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.5356, allocations: 9.219 kB / 454.9 MB, free: 26.84 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00103/0.5367, allocations: 352.8 kB / 455.2 MB, free: 26.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/0.5386, allocations: 281.5 kB / 455.5 MB, free: 26.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/0.5411, allocations: 0.856 MB / 456.4 MB, free: 26.26 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.5413, allocations: 113.5 kB / 456.5 MB, free: 26.26 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005671/0.5419, allocations: 141.2 kB / 456.6 MB, free: 26.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01353/0.5554, allocations: 4.893 MB / 461.5 MB, free: 25.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-05/0.5556, allocations: 10.34 kB / 461.5 MB, free: 25.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002422/0.5558, allocations: 66.62 kB / 461.6 MB, free: 25.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002966/0.5588, allocations: 0.9961 MB / 462.6 MB, free: 25.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01329/0.5721, allocations: 3.799 MB / 466.4 MB, free: 25.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02971/0.6019, allocations: 16.28 MB / 482.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007378/0.6093, allocations: 1.286 MB / 483.9 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/0.6109, allocations: 0.7183 MB / 484.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008286/0.6192, allocations: 4.036 MB / 488.7 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.6193, allocations: 37.31 kB / 488.7 MB, free: 9.094 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 3.778e-06/0.6193, allocations: 7.938 kB / 488.7 MB, free: 9.086 MB / 330.7 MB Notification: Performance of matching and sorting (n=41): time 0.01096/0.6303, allocations: 1.765 MB / 490.5 MB, free: 8.293 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.6304, allocations: 107.2 kB / 490.6 MB, free: 8.168 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/0.6331, allocations: 1.567 MB / 492.2 MB, free: 7.297 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.126e-05/0.6332, allocations: 32.8 kB / 492.2 MB, free: 7.262 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008777/0.6341, allocations: 1.403 MB / 493.6 MB, free: 6.027 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.6343, allocations: 181.6 kB / 493.8 MB, free: 5.883 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.6344, allocations: 46.47 kB / 493.8 MB, free: 5.848 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.6346, allocations: 450 kB / 494.3 MB, free: 5.438 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.6357, allocations: 0.5019 MB / 494.8 MB, free: 5.195 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.6375, allocations: 2.028 MB / 496.8 MB, free: 2.777 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001887/0.6394, allocations: 0.9491 MB / 497.7 MB, free: 2.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.844e-05/0.6395, allocations: 16 kB / 497.8 MB, free: 2.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.005076/0.6446, allocations: 2.422 MB / 0.4885 GB, free: 15.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.114e-05/0.6447, allocations: 32.98 kB / 0.4885 GB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.202e-05/0.6447, allocations: 56 kB / 0.4885 GB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001222/0.6449, allocations: 84 kB / 0.4886 GB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002899/0.6478, allocations: 0.5341 MB / 0.4891 GB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001147/0.6479, allocations: 107.6 kB / 0.4893 GB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/0.6503, allocations: 336.4 kB / 0.4896 GB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002586/0.6506, allocations: 144 kB / 0.4897 GB, free: 14.54 MB / 346.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.002034/0.6527, allocations: 0.8514 MB / 0.4905 GB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003746/0.6531, allocations: 138.2 kB / 0.4907 GB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003607/0.6534, allocations: 149.3 kB / 0.4908 GB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.6534, allocations: 8 kB / 0.4908 GB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.6535, allocations: 0 / 0.4908 GB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.6535, allocations: 3.984 kB / 0.4908 GB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008318/0.6618, allocations: 3.269 MB / 0.494 GB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/0.6619, allocations: 12 kB / 0.494 GB, free: 9.891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006472/0.6626, allocations: 103.8 kB / 0.4941 GB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.169e-05/0.6626, allocations: 24.05 kB / 0.4942 GB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.895e-05/0.6627, allocations: 24.67 kB / 0.4942 GB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.741e-05/0.6627, allocations: 27.86 kB / 0.4942 GB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-05/0.6627, allocations: 19.94 kB / 0.4942 GB, free: 9.695 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.6643, allocations: 0.8814 MB / 0.4951 GB, free: 8.625 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000589/0.6649, allocations: 231.1 kB / 0.4953 GB, free: 8.379 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/0.6652, allocations: 31.94 kB / 0.4953 GB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007793/0.666, allocations: 27.98 kB / 0.4954 GB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.6661, allocations: 71.67 kB / 0.4954 GB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-05/0.6662, allocations: 28 kB / 0.4955 GB, free: 8.223 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002095/0.6683, allocations: 0.9664 MB / 0.4964 GB, free: 7.258 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6683, allocations: 0 / 0.4964 GB, free: 7.258 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002736/0.671, allocations: 482 kB / 0.4969 GB, free: 6.785 MB / 346.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.002128/0.6732, allocations: 1.462 MB / 0.4983 GB, free: 5.141 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00325/0.6765, allocations: 1.245 MB / 0.4995 GB, free: 3.906 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.655e-05/0.6766, allocations: 4 kB / 0.4995 GB, free: 3.902 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006203/0.6772, allocations: 238.4 kB / 0.4997 GB, free: 3.672 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.6788, allocations: 173.9 kB / 0.4999 GB, free: 3.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02429/0.7031, allocations: 10.87 MB / 0.5105 GB, free: 7.387 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002561/0.7057, allocations: 1.737 MB / 0.5122 GB, free: 5.617 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002916/0.7087, allocations: 0.6139 MB / 0.5128 GB, free: 4.996 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001571/0.7103, allocations: 0.7336 MB / 0.5135 GB, free: 4.262 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.7103, allocations: 0 / 0.5135 GB, free: 4.262 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09759/0.8079, allocations: 25.6 MB / 0.5385 GB, free: 10.74 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003198/0.8083, allocations: 189.8 kB / 0.5387 GB, free: 10.48 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.892/4.7, allocations: 4 kB / 0.5387 GB, free: 10.48 MB / 394.7 MB