Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.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.SphericalSpherical2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_SphericalSpherical2",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.00947/0.009475, allocations: 161.8 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.769/1.769, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001752/0.001751, allocations: 106.7 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.4532/0.4532, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006875/0.0006879, allocations: 12 kB / 363 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.109, allocations: 48.72 MB / 411.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical2): time 0.4251/0.5341, allocations: 110.5 MB / 0.51 GB, free: 10.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.07369/0.6079, allocations: 23.15 MB / 0.5326 GB, free: 6.621 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02776/0.6357, allocations: 0.5416 MB / 0.5331 GB, free: 6.078 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02148/0.6572, allocations: 5.56 MB / 0.5386 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06707/0.7244, allocations: 18.78 MB / 0.5569 GB, free: 13.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01277/0.7372, allocations: 2.017 MB / 0.5589 GB, free: 11.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.4677/1.205, allocations: 47.78 MB / 0.6055 GB, free: 28 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04675/1.252, allocations: 22.3 MB / 0.6273 GB, free: 26.19 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008628/1.26, allocations: 3.546 MB / 0.6308 GB, free: 26.19 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01302/1.274, allocations: 5.966 MB / 0.6366 GB, free: 24.55 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003432/1.277, allocations: 476 kB / 0.6371 GB, free: 24.09 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007039/1.284, allocations: 1.494 MB / 0.6385 GB, free: 22.84 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008711/1.293, allocations: 5.619 MB / 0.644 GB, free: 18.72 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005658/1.299, allocations: 2.621 MB / 0.6466 GB, free: 17.87 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02558/1.324, allocations: 20.26 MB / 0.6663 GB, free: 328 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/1.324, allocations: 0 / 0.6663 GB, free: 328 kB / 426.7 MB Notification: Performance of FrontEnd: time 2.925e-06/1.324, allocations: 0 / 0.6663 GB, free: 328 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008442/1.325, allocations: 0 / 0.6663 GB, free: 328 kB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4609 * Number of variables: 4609 Notification: Performance of Generate backend data structure: time 0.05497/1.38, allocations: 12.86 MB / 0.6789 GB, free: 4.527 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/1.38, allocations: 8.031 kB / 0.6789 GB, free: 4.52 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01012/1.39, allocations: 2.508 MB / 0.6814 GB, free: 2.957 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.503/1.893, allocations: 19.54 MB / 0.7004 GB, free: 44 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03738/1.931, allocations: 10.93 MB / 0.7111 GB, free: 8.555 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001212/1.932, allocations: 0.8869 MB / 0.712 GB, free: 8.059 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008416/1.941, allocations: 1.524 MB / 0.7135 GB, free: 7.02 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09946/2.04, allocations: 31.62 MB / 0.7444 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008452/2.041, allocations: 110.2 kB / 0.7445 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005277/2.046, allocations: 0.5316 MB / 0.745 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01117/2.057, allocations: 4.359 MB / 0.7492 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08938/2.147, allocations: 25.98 MB / 0.7746 GB, free: 6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7747/2.922, allocations: 110.2 MB / 0.8822 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0626/2.984, allocations: 12.55 MB / 0.8945 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01222/2.997, allocations: 6.001 MB / 0.9003 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005855/3.002, allocations: 4.831 MB / 0.905 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.913e-05/3.003, allocations: 78.53 kB / 0.9051 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=435): time 9.217e-06/3.003, allocations: 3.188 kB / 0.9051 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=568): time 1.37/4.372, allocations: 134 MB / 1.036 GB, free: 186.2 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05576/4.428, allocations: 24.82 MB / 1.06 GB, free: 171.9 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02085/4.449, allocations: 9.552 MB / 1.07 GB, free: 167.7 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 0.001761/4.451, allocations: 109.3 kB / 1.07 GB, free: 167.6 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 0.007394/4.458, allocations: 8.846 MB / 1.078 GB, free: 159.9 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 0.004111/4.462, allocations: 2.184 MB / 1.08 GB, free: 158.1 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002619/4.465, allocations: 320.8 kB / 1.081 GB, free: 157.8 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.001479/4.467, allocations: 0.9857 MB / 1.082 GB, free: 157 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02309/4.49, allocations: 9.474 MB / 1.091 GB, free: 152.2 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02763/4.517, allocations: 18.7 MB / 1.109 GB, free: 129.9 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02715/4.545, allocations: 12.9 MB / 1.122 GB, free: 117.2 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002774/4.545, allocations: 96 kB / 1.122 GB, free: 117.1 MB / 0.5107 GB Notification: Performance of matching and sorting (n=2094) (initialization): time 0.145/4.69, allocations: 36.6 MB / 1.158 GB, free: 80.36 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002072/4.69, allocations: 144 kB / 1.158 GB, free: 80.22 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08726/4.778, allocations: 23.57 MB / 1.181 GB, free: 56.49 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06432/4.842, allocations: 10.83 MB / 1.191 GB, free: 45.63 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02421/4.866, allocations: 3.942 MB / 1.195 GB, free: 41.68 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.425/5.291, allocations: 50.44 MB / 1.244 GB, free: 148.5 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02758/5.319, allocations: 1.769 MB / 1.246 GB, free: 148.2 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004141/5.323, allocations: 0.9711 MB / 1.247 GB, free: 148.1 MB / 0.5107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1467 * Number of states: 0 () * Number of discrete variables: 75 (freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],sphericalSpherical1.massColor[3],sphericalSpherical1.massColor[2],sphericalSpherical1.massColor[1],sphericalSpherical1.sphereColor[3],sphericalSpherical1.sphereColor[2],sphericalSpherical1.sphereColor[1],sphericalSpherical1.rodColor[3],sphericalSpherical1.rodColor[2],sphericalSpherical1.rodColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1930): * Single equations (assignments): 1901 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,82.8%) 32,(1,100.0%) 3,(4,93.8%) 20,(7,63.3%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0174/5.341, allocations: 6.201 MB / 1.253 GB, free: 145.6 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003195/5.344, allocations: 0.8804 MB / 1.254 GB, free: 145.6 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1248/5.469, allocations: 29.44 MB / 1.283 GB, free: 136.1 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1191/5.588, allocations: 27.68 MB / 1.31 GB, free: 109.8 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001419/5.588, allocations: 28.23 kB / 1.31 GB, free: 109.8 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001614/5.588, allocations: 23.91 kB / 1.31 GB, free: 109.8 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2081/5.796, allocations: 64.07 MB / 1.372 GB, free: 45.36 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.021e-05/5.796, allocations: 10.61 kB / 1.372 GB, free: 45.35 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01002/5.806, allocations: 1.047 MB / 1.373 GB, free: 44.3 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4258/6.232, allocations: 15.91 MB / 1.389 GB, free: 160 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001957/6.234, allocations: 176.6 kB / 1.389 GB, free: 160 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1457/6.38, allocations: 65.68 MB / 1.453 GB, free: 135 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05456/6.434, allocations: 24.62 MB / 1.477 GB, free: 118.4 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1441/6.579, allocations: 40.84 MB / 1.517 GB, free: 77.89 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003619/6.582, allocations: 0.9572 MB / 1.518 GB, free: 77.39 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004198/6.586, allocations: 131.9 kB / 1.518 GB, free: 77.27 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01566/6.602, allocations: 0.8963 MB / 1.519 GB, free: 76.37 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003484/6.606, allocations: 450.8 kB / 1.52 GB, free: 75.93 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001485/6.607, allocations: 176.5 kB / 1.52 GB, free: 75.76 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 0.0145/6.622, allocations: 5.915 MB / 1.526 GB, free: 69.9 MB / 0.5107 GB Notification: Performance of sort global known variables: time 7.41e-07/6.622, allocations: 3.844 kB / 1.526 GB, free: 69.9 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.02381/6.646, allocations: 4.427 MB / 1.53 GB, free: 65.48 MB / 0.5107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 32 ($STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[6],$STATESET4.x[5],$STATESET4.x[4],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (411): * Single equations (assignments): 396 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {3,8,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(4,93.8%) 17,(3,100.0%) 3,(8,82.8%) 29,(7,93.9%) 12,(7,63.3%) 20} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.1429/6.789, allocations: 41.61 MB / 1.571 GB, free: 23.82 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.371/7.16, allocations: 23.62 MB / 1.594 GB, free: 166.6 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/7.16, allocations: 0 / 1.594 GB, free: 166.6 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 0.03542/7.195, allocations: 11.93 MB / 1.605 GB, free: 161.4 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01741/7.212, allocations: 1.424 MB / 1.607 GB, free: 160.8 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3523/7.565, allocations: 147.5 MB / 1.751 GB, free: 28.04 MB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02122/7.586, allocations: 9.437 MB / 1.76 GB, free: 18.55 MB / 0.5107 GB Notification: Performance of simCode: alias equations: time 0.02383/7.61, allocations: 5.06 MB / 1.765 GB, free: 13.48 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01579/7.626, allocations: 6.451 MB / 1.771 GB, free: 7.035 MB / 0.5107 GB Notification: Performance of SimCode: time 1.673e-06/7.626, allocations: 0 / 1.771 GB, free: 7.035 MB / 0.5107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.28/8.906, allocations: 292.3 MB / 2.057 GB, free: 88.51 MB / 0.5107 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002728/8.907, allocations: 226 kB / 2.057 GB, free: 88.27 MB / 0.5107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/22.2, allocations: 0 / 2.057 GB, free: 88.27 MB / 0.5107 GB