Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.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.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.00998/0.009984, allocations: 162.8 kB / 15.12 MB, free: 5.973 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.687/1.687, allocations: 170.8 MB / 186.7 MB, free: 1.023 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.001749/0.001749, allocations: 118.8 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.4615/0.4615, allocations: 38.05 MB / 303.7 MB, free: 42.55 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005025, allocations: 12 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.107, allocations: 48.72 MB / 411.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.02489/0.132, allocations: 15.58 MB / 427.3 MB, free: 5.051 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.1427, allocations: 3.612 MB / 430.9 MB, free: 1.426 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002701/0.1454, allocations: 63.88 kB / 431 MB, free: 1.363 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00302/0.1485, allocations: 0.696 MB / 431.7 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3523/0.5008, allocations: 2.348 MB / 434 MB, free: 30.92 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.5029, allocations: 247.6 kB / 434.2 MB, free: 30.91 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00279/0.5058, allocations: 0.9282 MB / 435.2 MB, free: 30.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003148/0.509, allocations: 1.062 MB / 436.2 MB, free: 30.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000752/0.5098, allocations: 281 kB / 436.5 MB, free: 30.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.5114, allocations: 0.6085 MB / 437.1 MB, free: 30.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003494/0.5118, allocations: 56.31 kB / 437.2 MB, free: 30.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.5134, allocations: 404.2 kB / 437.6 MB, free: 30.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001018/0.5145, allocations: 436.5 kB / 438 MB, free: 30.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004454/0.515, allocations: 213.5 kB / 438.2 MB, free: 30.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002828/0.5178, allocations: 1.324 MB / 439.5 MB, free: 30.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.5179, allocations: 0 / 439.5 MB, free: 30.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.5179, allocations: 1.094 kB / 439.5 MB, free: 30.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.896e-05/0.518, allocations: 0 / 439.5 MB, free: 30.64 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.006844/0.5248, allocations: 1.441 MB / 441 MB, free: 29.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.142e-05/0.5249, allocations: 9.531 kB / 441 MB, free: 29.92 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008153/0.5258, allocations: 181.4 kB / 441.2 MB, free: 29.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.5274, allocations: 162.2 kB / 441.3 MB, free: 29.81 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002564/0.53, allocations: 0.6104 MB / 441.9 MB, free: 29.53 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.5301, allocations: 56.91 kB / 442 MB, free: 29.53 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005303/0.5307, allocations: 83.77 kB / 442.1 MB, free: 29.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01212/0.5428, allocations: 2.662 MB / 444.7 MB, free: 29.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.637e-05/0.5429, allocations: 8.656 kB / 444.7 MB, free: 29.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002137/0.5431, allocations: 36.89 kB / 444.8 MB, free: 29.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001069/0.5442, allocations: 380.5 kB / 445.1 MB, free: 29.1 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/0.5575, allocations: 2.362 MB / 447.5 MB, free: 29.08 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01842/0.576, allocations: 8.154 MB / 455.7 MB, free: 24.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009656/0.5857, allocations: 0.9856 MB / 456.6 MB, free: 24.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008797/0.5867, allocations: 263.3 kB / 456.9 MB, free: 24.74 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002587/0.5893, allocations: 1.727 MB / 458.6 MB, free: 23.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/0.5894, allocations: 42.62 kB / 458.7 MB, free: 23.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 4.038e-06/0.5894, allocations: 0 / 458.7 MB, free: 23.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=58): time 0.02967/0.6191, allocations: 2.961 MB / 461.6 MB, free: 22.97 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.6192, allocations: 58.44 kB / 461.7 MB, free: 22.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00241/0.6216, allocations: 0.8743 MB / 462.6 MB, free: 22.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001482/0.6218, allocations: 37.23 kB / 462.6 MB, free: 22.72 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007904/0.6226, allocations: 0.6509 MB / 463.2 MB, free: 22.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003245/0.623, allocations: 207.1 kB / 463.4 MB, free: 22.22 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.6231, allocations: 24.5 kB / 463.5 MB, free: 22.22 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002381/0.6234, allocations: 399.6 kB / 463.9 MB, free: 21.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.6247, allocations: 360.8 kB / 464.2 MB, free: 21.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/0.6264, allocations: 0.9731 MB / 465.2 MB, free: 21.1 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/0.6283, allocations: 0.564 MB / 465.8 MB, free: 21.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.087e-05/0.6284, allocations: 6.406 kB / 465.8 MB, free: 21.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004722/0.6331, allocations: 1.367 MB / 467.1 MB, free: 20.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.217e-05/0.6332, allocations: 15.28 kB / 467.1 MB, free: 20.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.483e-05/0.6333, allocations: 21.5 kB / 467.2 MB, free: 20.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.027e-05/0.6334, allocations: 35.14 kB / 467.2 MB, free: 20.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003158/0.6366, allocations: 317.5 kB / 467.5 MB, free: 20.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.6381, allocations: 1.355 MB / 468.9 MB, free: 19.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/0.6402, allocations: 50.34 kB / 468.9 MB, free: 19.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/0.6404, allocations: 67.72 kB / 469 MB, free: 19.44 MB / 330.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.001461/0.6419, allocations: 0.489 MB / 469.5 MB, free: 19.28 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003115/0.6422, allocations: 84.72 kB / 469.5 MB, free: 19.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004004/0.6427, allocations: 117.9 kB / 469.7 MB, free: 19.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.6427, allocations: 10.53 kB / 469.7 MB, free: 19.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.6427, allocations: 1.156 kB / 469.7 MB, free: 19.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.6427, allocations: 2.531 kB / 469.7 MB, free: 19.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00774/0.6505, allocations: 2.16 MB / 471.8 MB, free: 18.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.6506, allocations: 6.5 kB / 471.8 MB, free: 18.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.6516, allocations: 129 kB / 472 MB, free: 18.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.802e-05/0.6516, allocations: 10.5 kB / 472 MB, free: 18.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.771e-05/0.6517, allocations: 15.5 kB / 472 MB, free: 18.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000922/0.6526, allocations: 1.323 MB / 473.3 MB, free: 17.19 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-05/0.6527, allocations: 10.94 kB / 473.3 MB, free: 17.19 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.6543, allocations: 0.8354 MB / 474.2 MB, free: 16.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005941/0.6549, allocations: 200.3 kB / 474.4 MB, free: 16.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.6551, allocations: 20.64 kB / 474.4 MB, free: 16.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005951/0.6557, allocations: 16.03 kB / 474.4 MB, free: 16.42 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.6559, allocations: 59.91 kB / 474.5 MB, free: 16.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.13e-05/0.6559, allocations: 25.44 kB / 474.5 MB, free: 16.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001232/0.6572, allocations: 0.5828 MB / 475.1 MB, free: 16.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6572, allocations: 1.219 kB / 475.1 MB, free: 16.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001729/0.659, allocations: 210 kB / 475.3 MB, free: 16.12 MB / 330.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.001862/0.6608, allocations: 1.393 MB / 476.7 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002392/0.6633, allocations: 0.85 MB / 477.5 MB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.6633, allocations: 4.781 kB / 477.5 MB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008025/0.6641, allocations: 275.3 kB / 477.8 MB, free: 14.63 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.6655, allocations: 119.2 kB / 477.9 MB, free: 14.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/0.6815, allocations: 6.442 MB / 484.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/0.6826, allocations: 1.243 MB / 485.6 MB, free: 9.707 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001588/0.6843, allocations: 332.4 kB / 485.9 MB, free: 9.559 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008531/0.6851, allocations: 402.3 kB / 486.3 MB, free: 9.219 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6852, allocations: 5.375 kB / 486.3 MB, free: 9.215 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05322/0.7384, allocations: 16.74 MB / 0.4913 GB, free: 11.84 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002663/0.7387, allocations: 181.6 kB / 0.4914 GB, free: 11.61 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.349/4.088, allocations: 0 / 0.4914 GB, free: 11.61 MB / 346.7 MB