Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointRRR",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.01467/0.01467, allocations: 163.5 kB / 15.12 MB, free: 5.961 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.823/1.823, allocations: 170.8 MB / 186.7 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.001708/0.001707, allocations: 102.8 kB / 226.2 MB, free: 10.1 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.4763/0.4763, allocations: 38.04 MB / 303.7 MB, free: 42.51 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004733, allocations: 12 kB / 363 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1006, allocations: 48.71 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.3238/0.4245, allocations: 45.77 MB / 457.5 MB, free: 24.9 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02748/0.452, allocations: 9.391 MB / 466.9 MB, free: 18.45 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01355/0.4656, allocations: 198.4 kB / 467.1 MB, free: 18.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01058/0.4763, allocations: 2.16 MB / 469.2 MB, free: 17.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03413/0.5105, allocations: 7.075 MB / 476.3 MB, free: 14.6 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006395/0.5169, allocations: 0.6674 MB / 477 MB, free: 14.33 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008734/0.5257, allocations: 3.411 MB / 480.4 MB, free: 13.06 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01953/0.5453, allocations: 6.475 MB / 486.9 MB, free: 10.26 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003654/0.549, allocations: 0.9957 MB / 487.8 MB, free: 9.73 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005511/0.5546, allocations: 1.606 MB / 489.5 MB, free: 8.867 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001428/0.5561, allocations: 149.7 kB / 489.6 MB, free: 8.867 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004385/0.5605, allocations: 0.7463 MB / 490.3 MB, free: 8.562 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004149/0.5648, allocations: 1.507 MB / 491.9 MB, free: 7.742 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002498/0.5673, allocations: 0.7787 MB / 492.6 MB, free: 7.188 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.5799, allocations: 6.198 MB / 498.8 MB, free: 2.707 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.896e-06/0.58, allocations: 5.156 kB / 498.8 MB, free: 2.703 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.58, allocations: 0 / 498.8 MB, free: 2.703 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002905/0.5803, allocations: 0 / 498.8 MB, free: 2.703 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: 1385 * Number of variables: 1385 Notification: Performance of Generate backend data structure: time 0.02156/0.6019, allocations: 3.969 MB / 0.491 GB, free: 15.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/0.602, allocations: 7.625 kB / 0.491 GB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003695/0.6057, allocations: 0.6762 MB / 0.4917 GB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009448/0.6152, allocations: 0.6685 MB / 0.4923 GB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01248/0.6278, allocations: 2.25 MB / 0.4945 GB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005602/0.6284, allocations: 265.5 kB / 0.4948 GB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002611/0.631, allocations: 352.9 kB / 0.4951 GB, free: 13 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05573/0.6868, allocations: 10.51 MB / 0.5054 GB, free: 2.156 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001948/0.6871, allocations: 11.88 kB / 0.5054 GB, free: 2.145 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001868/0.689, allocations: 163.8 kB / 0.5056 GB, free: 1.984 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006599/0.6956, allocations: 1.573 MB / 0.5071 GB, free: 420 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05374/0.7494, allocations: 9.141 MB / 0.516 GB, free: 7.262 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1031/0.8526, allocations: 30.63 MB / 0.5459 GB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02828/0.8809, allocations: 3.103 MB / 0.549 GB, free: 4.859 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006112/0.8871, allocations: 1.649 MB / 0.5506 GB, free: 3.199 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03248/0.9196, allocations: 9.324 MB / 0.5597 GB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.406e-05/0.9198, allocations: 47.5 kB / 0.5597 GB, free: 9.328 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 6.572e-06/0.9198, allocations: 0 / 0.5597 GB, free: 9.328 MB / 410.7 MB Notification: Performance of matching and sorting (n=108): time 0.06076/0.9806, allocations: 8.961 MB / 0.5685 GB, free: 340 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.417e-05/0.9807, allocations: 123.9 kB / 0.5686 GB, free: 192 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006802/0.9875, allocations: 2.846 MB / 0.5714 GB, free: 13.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000328/0.9879, allocations: 41.7 kB / 0.5714 GB, free: 13.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002606/0.9905, allocations: 2.489 MB / 0.5738 GB, free: 10.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007768/0.9914, allocations: 438.5 kB / 0.5743 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004911/0.9919, allocations: 87.94 kB / 0.5743 GB, free: 10.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003628/0.9923, allocations: 474.8 kB / 0.5748 GB, free: 9.766 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004267/0.9966, allocations: 1.472 MB / 0.5762 GB, free: 8.285 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006526/1.003, allocations: 3.794 MB / 0.5799 GB, free: 3.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005946/1.009, allocations: 2.251 MB / 0.5821 GB, free: 1.066 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-05/1.009, allocations: 27.98 kB / 0.5822 GB, free: 1.039 MB / 426.7 MB Notification: Performance of matching and sorting (n=523) (initialization): time 0.2968/1.306, allocations: 5.209 MB / 0.5873 GB, free: 125.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/1.306, allocations: 44.17 kB / 0.5873 GB, free: 125.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002582/1.307, allocations: 81.94 kB / 0.5874 GB, free: 125.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003139/1.307, allocations: 122.3 kB / 0.5875 GB, free: 125.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009267/1.316, allocations: 0.99 MB / 0.5885 GB, free: 125.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003309/1.317, allocations: 163.7 kB / 0.5886 GB, free: 125.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007421/1.324, allocations: 227 kB / 0.5888 GB, free: 125.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001123/1.325, allocations: 235.5 kB / 0.5891 GB, free: 125.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * Number of states: 0 () * Number of discrete variables: 46 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[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 (521): * Single equations (assignments): 520 * Array equations: 1 * 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.006842/1.332, allocations: 1.754 MB / 0.5908 GB, free: 125.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009534/1.333, allocations: 240 kB / 0.591 GB, free: 125.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008018/1.341, allocations: 2.056 MB / 0.593 GB, free: 124.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.062e-05/1.341, allocations: 14.02 kB / 0.593 GB, free: 124.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/1.341, allocations: 3.562 kB / 0.593 GB, free: 124.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.713e-05/1.341, allocations: 10.11 kB / 0.593 GB, free: 124.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02452/1.366, allocations: 6.64 MB / 0.5995 GB, free: 121.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.087e-05/1.366, allocations: 13.58 kB / 0.5995 GB, free: 121.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002793/1.369, allocations: 259.2 kB / 0.5998 GB, free: 121.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.188e-05/1.369, allocations: 26.36 kB / 0.5998 GB, free: 121.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002909/1.369, allocations: 39.86 kB / 0.5998 GB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.355e-05/1.369, allocations: 29.42 kB / 0.5999 GB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.239e-05/1.369, allocations: 20.23 kB / 0.5999 GB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006108/1.375, allocations: 2.195 MB / 0.602 GB, free: 119.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/1.377, allocations: 337.8 kB / 0.6023 GB, free: 119.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00121/1.378, allocations: 43.45 kB / 0.6024 GB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002916/1.381, allocations: 66.67 kB / 0.6025 GB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005444/1.382, allocations: 123.5 kB / 0.6026 GB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001625/1.382, allocations: 50.19 kB / 0.6026 GB, free: 119.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00469/1.387, allocations: 1.806 MB / 0.6044 GB, free: 118.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.387, allocations: 0 / 0.6044 GB, free: 118.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005637/1.392, allocations: 0.7485 MB / 0.6051 GB, free: 118.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * 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 (134): * Single equations (assignments): 134 * 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.005204/1.398, allocations: 2.815 MB / 0.6079 GB, free: 116.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007514/1.405, allocations: 3.166 MB / 0.611 GB, free: 115.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.639e-05/1.405, allocations: 3.344 kB / 0.611 GB, free: 115.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001944/1.407, allocations: 0.8036 MB / 0.6117 GB, free: 115.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003303/1.411, allocations: 322.1 kB / 0.612 GB, free: 115.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06469/1.475, allocations: 23.77 MB / 0.6353 GB, free: 99.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00575/1.481, allocations: 3.018 MB / 0.6382 GB, free: 98.37 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005098/1.486, allocations: 1.018 MB / 0.6392 GB, free: 98.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00379/1.49, allocations: 1.607 MB / 0.6408 GB, free: 96.92 MB / 426.7 MB Notification: Performance of SimCode: time 1.192e-06/1.49, allocations: 0 / 0.6408 GB, free: 96.92 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.224/1.714, allocations: 55.82 MB / 0.6953 GB, free: 43.22 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/1.714, allocations: 173.9 kB / 0.6955 GB, free: 42.98 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.968/6.682, allocations: 0 / 0.6955 GB, free: 42.98 MB / 426.7 MB