Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointUSP",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.00995/0.00995, allocations: 163.3 kB / 15.12 MB, free: 5.965 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.665/1.665, allocations: 170.8 MB / 186.7 MB, free: 1.105 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.001729/0.001729, allocations: 110.8 kB / 226.2 MB, free: 10.08 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.4684/0.4684, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006566/0.0006568, allocations: 12 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1059, allocations: 48.71 MB / 411.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.3924/0.4983, allocations: 41.28 MB / 453 MB, free: 27.94 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02259/0.5209, allocations: 8.309 MB / 461.3 MB, free: 22.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009069/0.5301, allocations: 182 kB / 461.5 MB, free: 22.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006942/0.5371, allocations: 1.964 MB / 463.4 MB, free: 21.58 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03052/0.5676, allocations: 6.407 MB / 469.8 MB, free: 18.79 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005231/0.5729, allocations: 0.5279 MB / 470.4 MB, free: 18.56 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007324/0.5803, allocations: 3.034 MB / 473.4 MB, free: 17.44 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01505/0.5954, allocations: 5.199 MB / 478.6 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002765/0.5983, allocations: 0.9123 MB / 479.5 MB, free: 15 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004431/0.6027, allocations: 1.425 MB / 480.9 MB, free: 14.51 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001025/0.6038, allocations: 127.4 kB / 481.1 MB, free: 14.51 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.6063, allocations: 0.5752 MB / 481.6 MB, free: 14.38 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002526/0.6088, allocations: 1.354 MB / 483 MB, free: 13.9 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001347/0.6102, allocations: 0.6963 MB / 483.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007465/0.6177, allocations: 4.909 MB / 488.6 MB, free: 9.926 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.6178, allocations: 0 / 488.6 MB, free: 9.926 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.6178, allocations: 0 / 488.6 MB, free: 9.926 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002581/0.6181, allocations: 0 / 488.6 MB, free: 9.926 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: 1289 * Number of variables: 1289 Notification: Performance of Generate backend data structure: time 0.01213/0.6302, allocations: 3.457 MB / 492.1 MB, free: 7.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.6303, allocations: 9.281 kB / 492.1 MB, free: 7.5 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002765/0.6331, allocations: 0.63 MB / 492.7 MB, free: 7.051 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004999/0.6381, allocations: 0.5862 MB / 493.3 MB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006167/0.6443, allocations: 1.776 MB / 495.1 MB, free: 5.492 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002868/0.6447, allocations: 236.1 kB / 495.3 MB, free: 5.383 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001688/0.6464, allocations: 311.7 kB / 495.6 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02958/0.676, allocations: 8.651 MB / 0.4924 GB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/0.6762, allocations: 15.88 kB / 0.4924 GB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001253/0.6774, allocations: 135.9 kB / 0.4926 GB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005015/0.6825, allocations: 1.569 MB / 0.4941 GB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02518/0.7077, allocations: 6.656 MB / 0.5006 GB, free: 6.945 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05892/0.7667, allocations: 26.5 MB / 0.5265 GB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01175/0.7785, allocations: 1.946 MB / 0.5284 GB, free: 9.762 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002481/0.781, allocations: 0.8654 MB / 0.5292 GB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01402/0.7951, allocations: 6.475 MB / 0.5356 GB, free: 1.875 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.7952, allocations: 43.22 kB / 0.5356 GB, free: 1.824 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 4.067e-06/0.7952, allocations: 0 / 0.5356 GB, free: 1.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=102): time 0.02823/0.8234, allocations: 6.313 MB / 0.5418 GB, free: 11.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.873e-05/0.8236, allocations: 145.5 kB / 0.5419 GB, free: 11.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004851/0.8285, allocations: 2.469 MB / 0.5443 GB, free: 8.797 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001958/0.8287, allocations: 41.7 kB / 0.5444 GB, free: 8.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002226/0.8309, allocations: 2.388 MB / 0.5467 GB, free: 6.328 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005372/0.8315, allocations: 406.9 kB / 0.5471 GB, free: 5.926 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/0.8317, allocations: 76.09 kB / 0.5471 GB, free: 5.852 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003183/0.8321, allocations: 469.9 kB / 0.5476 GB, free: 5.387 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002545/0.8346, allocations: 0.9482 MB / 0.5485 GB, free: 4.438 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004331/0.839, allocations: 3.232 MB / 0.5517 GB, free: 76 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004264/0.8433, allocations: 1.685 MB / 0.5533 GB, free: 14.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.382e-05/0.8434, allocations: 24 kB / 0.5533 GB, free: 14.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.01182/0.8552, allocations: 4.071 MB / 0.5573 GB, free: 10.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.148e-05/0.8554, allocations: 40 kB / 0.5574 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001267/0.8555, allocations: 80 kB / 0.5574 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001704/0.8557, allocations: 116 kB / 0.5575 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005565/0.8613, allocations: 0.885 MB / 0.5584 GB, free: 9.168 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002116/0.8615, allocations: 159.4 kB / 0.5586 GB, free: 9.012 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003486/0.865, allocations: 164.1 kB / 0.5587 GB, free: 8.852 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005556/0.8656, allocations: 228 kB / 0.5589 GB, free: 8.629 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 369 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (480): * Single equations (assignments): 480 * 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.005622/0.8712, allocations: 1.588 MB / 0.5605 GB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/0.8724, allocations: 221.1 kB / 0.5607 GB, free: 6.812 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005222/0.8777, allocations: 1.185 MB / 0.5619 GB, free: 5.617 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-05/0.8778, allocations: 8 kB / 0.5619 GB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.682e-05/0.8778, allocations: 8 kB / 0.5619 GB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.173e-05/0.8779, allocations: 3.984 kB / 0.5619 GB, free: 5.598 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01509/0.893, allocations: 6.243 MB / 0.568 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.742e-05/0.893, allocations: 20 kB / 0.568 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/0.8945, allocations: 227.6 kB / 0.5682 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-05/0.8946, allocations: 28.75 kB / 0.5682 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.638e-05/0.8947, allocations: 40 kB / 0.5683 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.931e-05/0.8947, allocations: 43.86 kB / 0.5683 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.688e-05/0.8948, allocations: 27.88 kB / 0.5683 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003154/0.8979, allocations: 1.816 MB / 0.5701 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008127/0.8988, allocations: 322 kB / 0.5704 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003697/0.8991, allocations: 51.92 kB / 0.5705 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.9004, allocations: 43.98 kB / 0.5705 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/0.9006, allocations: 131.5 kB / 0.5706 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.9008, allocations: 59.95 kB / 0.5707 GB, free: 11.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003539/0.9043, allocations: 1.612 MB / 0.5723 GB, free: 10.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.9043, allocations: 0 / 0.5723 GB, free: 10.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004222/0.9086, allocations: 0.6484 MB / 0.5729 GB, free: 9.676 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 82 * 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 (126): * Single equations (assignments): 126 * 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.003749/0.9123, allocations: 2.444 MB / 0.5753 GB, free: 6.953 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00559/0.918, allocations: 2.29 MB / 0.5775 GB, free: 4.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/0.918, allocations: 4 kB / 0.5775 GB, free: 4.676 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.9193, allocations: 0.5403 MB / 0.5781 GB, free: 4.141 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00258/0.9219, allocations: 323 kB / 0.5784 GB, free: 3.824 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3262/1.248, allocations: 20.77 MB / 0.5986 GB, free: 121.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004058/1.252, allocations: 2.812 MB / 0.6014 GB, free: 121.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004343/1.257, allocations: 0.998 MB / 0.6024 GB, free: 121 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002483/1.259, allocations: 1.453 MB / 0.6038 GB, free: 119.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/1.259, allocations: 0 / 0.6038 GB, free: 119.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1315/1.391, allocations: 47.83 MB / 0.6505 GB, free: 91.75 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/1.391, allocations: 179.6 kB / 0.6507 GB, free: 91.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.752/6.143, allocations: 4 kB / 0.6507 GB, free: 91.51 MB / 426.7 MB