Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.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.JointRRP,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointRRP",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.009783/0.009783, allocations: 159.5 kB / 15.11 MB, free: 6.035 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.646/1.646, allocations: 170.8 MB / 186.7 MB, free: 1.102 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.001858/0.001858, allocations: 122.7 kB / 226.2 MB, free: 10.07 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.455/0.455, allocations: 38.05 MB / 303.7 MB, free: 42.49 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005456/0.0005459, allocations: 8 kB / 363 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1119, allocations: 48.72 MB / 411.7 MB, free: 4.672 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.3426/0.4546, allocations: 45.79 MB / 457.5 MB, free: 24.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02406/0.4787, allocations: 9.222 MB / 466.7 MB, free: 18.57 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009692/0.4885, allocations: 207 kB / 466.9 MB, free: 18.55 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007512/0.496, allocations: 2.17 MB / 469.1 MB, free: 17.82 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02218/0.5183, allocations: 7.076 MB / 476.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003868/0.5222, allocations: 0.5379 MB / 476.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005649/0.5279, allocations: 3.332 MB / 480 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01266/0.5406, allocations: 6.455 MB / 486.5 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.5431, allocations: 0.9892 MB / 487.5 MB, free: 9.988 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003698/0.5468, allocations: 1.583 MB / 489.1 MB, free: 9.148 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008702/0.5477, allocations: 145.9 kB / 489.2 MB, free: 9.145 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/0.5501, allocations: 0.5878 MB / 489.8 MB, free: 8.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002494/0.5526, allocations: 1.478 MB / 491.3 MB, free: 8.113 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.5539, allocations: 0.7816 MB / 492.1 MB, free: 7.559 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007863/0.5618, allocations: 5.973 MB / 498 MB, free: 3.234 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.5619, allocations: 1.375 kB / 498 MB, free: 3.234 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5619, allocations: 0 / 498 MB, free: 3.234 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002585/0.5621, allocations: 0 / 498 MB, free: 3.234 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: 1377 * Number of variables: 1377 Notification: Performance of Generate backend data structure: time 0.0122/0.5744, allocations: 3.761 MB / 0.49 GB, free: 0.6211 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.5744, allocations: 9.562 kB / 0.49 GB, free: 0.6211 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002288/0.5767, allocations: 0.6757 MB / 0.4907 GB, free: 144 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004984/0.5817, allocations: 0.6322 MB / 0.4913 GB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007431/0.5892, allocations: 2.132 MB / 0.4934 GB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003361/0.5896, allocations: 270.9 kB / 0.4937 GB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001667/0.5913, allocations: 354.9 kB / 0.494 GB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03066/0.622, allocations: 9.221 MB / 0.503 GB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001132/0.6221, allocations: 23.75 kB / 0.503 GB, free: 4.551 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008489/0.623, allocations: 151.9 kB / 0.5032 GB, free: 4.402 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00486/0.6279, allocations: 1.554 MB / 0.5047 GB, free: 2.848 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02643/0.6544, allocations: 7.194 MB / 0.5117 GB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05947/0.7139, allocations: 28.05 MB / 0.5391 GB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/0.7255, allocations: 2.183 MB / 0.5412 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002635/0.7282, allocations: 1.007 MB / 0.5422 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01503/0.7433, allocations: 6.885 MB / 0.5489 GB, free: 4.258 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.678e-05/0.7434, allocations: 43.16 kB / 0.549 GB, free: 4.207 MB / 394.7 MB Notification: Performance of pre-optimization done (n=83): time 3.707e-06/0.7434, allocations: 0 / 0.549 GB, free: 4.207 MB / 394.7 MB Notification: Performance of matching and sorting (n=105): time 0.03168/0.7751, allocations: 7.524 MB / 0.5563 GB, free: 12.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.7752, allocations: 167.2 kB / 0.5565 GB, free: 12.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005247/0.7805, allocations: 2.692 MB / 0.5591 GB, free: 9.711 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002319/0.7808, allocations: 49.64 kB / 0.5592 GB, free: 9.656 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002406/0.7832, allocations: 2.501 MB / 0.5616 GB, free: 7.121 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005954/0.7838, allocations: 422.8 kB / 0.562 GB, free: 6.703 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002606/0.7841, allocations: 80 kB / 0.5621 GB, free: 6.625 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003294/0.7844, allocations: 474.2 kB / 0.5625 GB, free: 6.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003033/0.7875, allocations: 1.109 MB / 0.5636 GB, free: 5.051 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004948/0.7924, allocations: 3.437 MB / 0.567 GB, free: 480 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004907/0.7974, allocations: 1.866 MB / 0.5688 GB, free: 14.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-05/0.7975, allocations: 24 kB / 0.5688 GB, free: 14.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=504) (initialization): time 0.01172/0.8092, allocations: 4.478 MB / 0.5732 GB, free: 10.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.847e-05/0.8093, allocations: 40 kB / 0.5732 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001218/0.8095, allocations: 80 kB / 0.5733 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001815/0.8097, allocations: 120 kB / 0.5734 GB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005647/0.8153, allocations: 0.9363 MB / 0.5743 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002436/0.8156, allocations: 167.4 kB / 0.5745 GB, free: 8.758 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004051/0.8197, allocations: 199.6 kB / 0.5747 GB, free: 8.562 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007809/0.8205, allocations: 243.9 kB / 0.5749 GB, free: 8.328 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: 43 (jointRRP.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],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.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 (502): * Single equations (assignments): 501 * 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.004744/0.8253, allocations: 1.754 MB / 0.5766 GB, free: 6.562 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006929/0.826, allocations: 236.9 kB / 0.5769 GB, free: 6.328 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003243/0.8292, allocations: 1.237 MB / 0.5781 GB, free: 5.078 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/0.8293, allocations: 12 kB / 0.5781 GB, free: 5.066 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.8293, allocations: 7.938 kB / 0.5781 GB, free: 5.059 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.8293, allocations: 3.984 kB / 0.5781 GB, free: 5.055 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2978/1.127, allocations: 6.66 MB / 0.5846 GB, free: 124.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.001e-05/1.127, allocations: 23.48 kB / 0.5846 GB, free: 124.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001893/1.129, allocations: 255.8 kB / 0.5849 GB, free: 124.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.863e-05/1.129, allocations: 30.88 kB / 0.5849 GB, free: 124.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001811/1.129, allocations: 42.72 kB / 0.5849 GB, free: 124.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.422e-05/1.13, allocations: 38.47 kB / 0.585 GB, free: 124.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.917e-05/1.13, allocations: 29.38 kB / 0.585 GB, free: 124.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004455/1.134, allocations: 2.195 MB / 0.5871 GB, free: 123.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.135, allocations: 341.8 kB / 0.5875 GB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006589/1.136, allocations: 50.7 kB / 0.5875 GB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002019/1.138, allocations: 61.36 kB / 0.5876 GB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003335/1.138, allocations: 138.4 kB / 0.5877 GB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/1.138, allocations: 60.69 kB / 0.5878 GB, free: 123.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006307/1.145, allocations: 1.769 MB / 0.5895 GB, free: 123 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.01e-07/1.145, allocations: 2.156 kB / 0.5895 GB, free: 123 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007512/1.152, allocations: 0.7028 MB / 0.5902 GB, free: 123 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 (129): * Single equations (assignments): 129 * 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.007159/1.159, allocations: 2.814 MB / 0.5929 GB, free: 121.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009098/1.169, allocations: 2.595 MB / 0.5955 GB, free: 120.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-05/1.169, allocations: 3.625 kB / 0.5955 GB, free: 120.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002679/1.171, allocations: 0.6607 MB / 0.5961 GB, free: 120.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005503/1.177, allocations: 344.1 kB / 0.5964 GB, free: 120.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07051/1.248, allocations: 23.02 MB / 0.6189 GB, free: 105 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006427/1.254, allocations: 3.034 MB / 0.6219 GB, free: 103.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005477/1.26, allocations: 1.028 MB / 0.6229 GB, free: 103.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003506/1.263, allocations: 1.622 MB / 0.6245 GB, free: 102.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.372e-06/1.263, allocations: 0 / 0.6245 GB, free: 102.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1757/1.439, allocations: 52.96 MB / 0.6762 GB, free: 61.74 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/1.439, allocations: 177.2 kB / 0.6764 GB, free: 61.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.81/6.249, allocations: 0 / 0.6764 GB, free: 61.5 MB / 426.7 MB