Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009566/0.009566, allocations: 176.5 kB / 15.13 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.018/2.018, allocations: 194.5 MB / 210.3 MB, free: 8.582 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001784/0.001784, allocations: 112.1 kB / 255.6 MB, free: 11.19 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2802/0.2802, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007437/0.000744, allocations: 11.34 kB / 406.3 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1351, allocations: 54.88 MB / 461.2 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.02272/0.1579, allocations: 15.61 MB / 476.8 MB, free: 3.648 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01053/0.1685, allocations: 3.605 MB / 480.4 MB, free: 36 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002727/0.1713, allocations: 63.92 kB / 480.4 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002648/0.174, allocations: 0.696 MB / 481.1 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008298/0.1823, allocations: 2.354 MB / 483.5 MB, free: 12.91 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.1839, allocations: 247.5 kB / 483.7 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001897/0.1859, allocations: 0.9305 MB / 484.7 MB, free: 11.74 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002395/0.1883, allocations: 1.065 MB / 485.7 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006431/0.189, allocations: 282.7 kB / 486 MB, free: 10.37 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.1904, allocations: 0.6038 MB / 486.6 MB, free: 9.762 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002909/0.1907, allocations: 60 kB / 486.7 MB, free: 9.703 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.1919, allocations: 411.3 kB / 487.1 MB, free: 9.301 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007413/0.1927, allocations: 442.8 kB / 487.5 MB, free: 8.867 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003517/0.1931, allocations: 209.1 kB / 487.7 MB, free: 8.656 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.1953, allocations: 1.317 MB / 489 MB, free: 7.336 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.1953, allocations: 0 / 489 MB, free: 7.336 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1953, allocations: 0 / 489 MB, free: 7.336 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.964e-05/0.1954, allocations: 0 / 489 MB, free: 7.336 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.00489/0.2003, allocations: 1.431 MB / 490.4 MB, free: 5.855 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.2004, allocations: 16.03 kB / 490.5 MB, free: 5.84 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005494/0.2009, allocations: 182.2 kB / 490.6 MB, free: 5.652 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.2021, allocations: 162.3 kB / 490.8 MB, free: 5.492 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.2041, allocations: 0.6112 MB / 491.4 MB, free: 4.836 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-05/0.2042, allocations: 61.92 kB / 491.5 MB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003867/0.2046, allocations: 79.97 kB / 491.5 MB, free: 4.699 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008847/0.2134, allocations: 2.664 MB / 494.2 MB, free: 1.891 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.805e-05/0.2135, allocations: 7.938 kB / 494.2 MB, free: 1.883 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001533/0.2137, allocations: 39.97 kB / 494.3 MB, free: 1.844 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008282/0.2146, allocations: 377.7 kB / 494.6 MB, free: 1.473 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009432/0.224, allocations: 2.349 MB / 497 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0144/0.2385, allocations: 8.177 MB / 0.4933 GB, free: 6.688 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00692/0.2454, allocations: 0.9796 MB / 0.4943 GB, free: 5.695 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006772/0.2462, allocations: 256.7 kB / 0.4945 GB, free: 5.441 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002298/0.2485, allocations: 1.734 MB / 0.4962 GB, free: 3.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.2486, allocations: 35.28 kB / 0.4962 GB, free: 3.387 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 2.805e-06/0.2486, allocations: 0 / 0.4962 GB, free: 3.387 MB / 346.7 MB Notification: Performance of matching and sorting (n=58): time 0.02071/0.2693, allocations: 2.969 MB / 0.4991 GB, free: 420 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.2694, allocations: 63.97 kB / 0.4992 GB, free: 344 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.2711, allocations: 0.8638 MB / 0.5 GB, free: 15.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.789e-05/0.2712, allocations: 37.69 kB / 0.5001 GB, free: 15.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006177/0.2718, allocations: 0.6564 MB / 0.5007 GB, free: 14.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/0.2721, allocations: 201.2 kB / 0.5009 GB, free: 14.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.817e-05/0.2722, allocations: 24 kB / 0.5009 GB, free: 14.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002431/0.2724, allocations: 402.7 kB / 0.5013 GB, free: 14.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009123/0.2733, allocations: 366.4 kB / 0.5017 GB, free: 13.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.2748, allocations: 0.9654 MB / 0.5026 GB, free: 12.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.2761, allocations: 0.5719 MB / 0.5032 GB, free: 11.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.338e-05/0.2761, allocations: 4 kB / 0.5032 GB, free: 11.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00325/0.2794, allocations: 1.361 MB / 0.5045 GB, free: 10.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.834e-05/0.2795, allocations: 12 kB / 0.5045 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-05/0.2796, allocations: 24 kB / 0.5045 GB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.823e-05/0.2796, allocations: 35.94 kB / 0.5046 GB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002339/0.282, allocations: 320.1 kB / 0.5049 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.2834, allocations: 1.356 MB / 0.5062 GB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.2847, allocations: 52.16 kB / 0.5063 GB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.2848, allocations: 60 kB / 0.5063 GB, free: 8.578 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 24 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[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.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 (154): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001038/0.2859, allocations: 0.4918 MB / 0.5068 GB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.2861, allocations: 90.86 kB / 0.5069 GB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.2864, allocations: 112.3 kB / 0.507 GB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.2864, allocations: 8 kB / 0.507 GB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.2864, allocations: 4 kB / 0.507 GB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.2864, allocations: 3.984 kB / 0.507 GB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00577/0.2922, allocations: 2.163 MB / 0.5091 GB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/0.2923, allocations: 8 kB / 0.5091 GB, free: 5.547 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009972/0.2933, allocations: 124.5 kB / 0.5092 GB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-05/0.2933, allocations: 11.95 kB / 0.5092 GB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.295e-05/0.2934, allocations: 24 kB / 0.5093 GB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.2945, allocations: 1.32 MB / 0.5106 GB, free: 3.938 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.374e-05/0.2946, allocations: 16.09 kB / 0.5106 GB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.2962, allocations: 0.818 MB / 0.5114 GB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004869/0.2967, allocations: 208 kB / 0.5116 GB, free: 2.781 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.2969, allocations: 16 kB / 0.5116 GB, free: 2.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000586/0.2975, allocations: 16 kB / 0.5116 GB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.2976, allocations: 59.83 kB / 0.5117 GB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.562e-05/0.2976, allocations: 20 kB / 0.5117 GB, free: 2.672 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001189/0.2988, allocations: 0.5732 MB / 0.5122 GB, free: 2.102 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.2989, allocations: 0 / 0.5122 GB, free: 2.102 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001473/0.3003, allocations: 212 kB / 0.5124 GB, free: 1.895 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001993/0.3024, allocations: 1.394 MB / 0.5138 GB, free: 408 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002346/0.3047, allocations: 0.8509 MB / 0.5146 GB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.3048, allocations: 0 / 0.5146 GB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007668/0.3056, allocations: 277 kB / 0.5149 GB, free: 15.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.3068, allocations: 127.8 kB / 0.515 GB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/0.3217, allocations: 6.447 MB / 0.5213 GB, free: 8.188 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/0.3231, allocations: 1.231 MB / 0.5225 GB, free: 6.926 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001582/0.3247, allocations: 343.5 kB / 0.5228 GB, free: 6.586 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000827/0.3255, allocations: 399.3 kB / 0.5232 GB, free: 6.195 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.3255, allocations: 0 / 0.5232 GB, free: 6.195 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5104/0.8359, allocations: 16.74 MB / 0.5396 GB, free: 73.73 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/0.8363, allocations: 189.8 kB / 0.5398 GB, free: 73.49 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.249/4.085, allocations: 0 / 0.5398 GB, free: 73.49 MB / 378.7 MB