Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.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.Spherical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Spherical",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.01461/0.01461, allocations: 163.8 kB / 15.12 MB, free: 5.969 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.653/1.653, 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.001785/0.001784, allocations: 114.8 kB / 226.2 MB, free: 10.08 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.4391/0.4391, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004932/0.0004934, allocations: 12 kB / 363 MB, free: 5.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1011, allocations: 48.71 MB / 411.7 MB, free: 4.676 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.3035/0.4047, allocations: 22.33 MB / 434 MB, free: 30.32 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01586/0.4206, allocations: 5.756 MB / 439.8 MB, free: 30.05 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004842/0.4255, allocations: 100 kB / 439.9 MB, free: 30.04 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004226/0.4298, allocations: 1.124 MB / 441 MB, free: 29.82 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01655/0.4464, allocations: 4.029 MB / 445 MB, free: 29.02 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003129/0.4496, allocations: 480.7 kB / 445.5 MB, free: 28.99 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008434/0.4581, allocations: 4.186 MB / 449.7 MB, free: 28.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005222/0.4634, allocations: 2.152 MB / 451.8 MB, free: 28.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.4657, allocations: 0.9989 MB / 452.8 MB, free: 27.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003782/0.4695, allocations: 1.665 MB / 454.5 MB, free: 27.76 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009479/0.4705, allocations: 124.3 kB / 454.6 MB, free: 27.76 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004225/0.4748, allocations: 1.067 MB / 455.7 MB, free: 27.71 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002718/0.4776, allocations: 1.475 MB / 457.2 MB, free: 27.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001247/0.4789, allocations: 0.7258 MB / 457.9 MB, free: 27.36 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01015/0.489, allocations: 4.723 MB / 462.6 MB, free: 26.85 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.4891, allocations: 0 / 462.6 MB, free: 26.85 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.629e-06/0.4891, allocations: 0 / 462.6 MB, free: 26.85 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.00021/0.4893, allocations: 3.938 kB / 462.6 MB, free: 26.85 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: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.01273/0.5021, allocations: 3.446 MB / 466.1 MB, free: 24.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.5022, allocations: 9.125 kB / 466.1 MB, free: 24.68 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002792/0.505, allocations: 0.6878 MB / 466.8 MB, free: 24.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04895/0.5541, allocations: 5.796 MB / 472.6 MB, free: 21.74 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01326/0.5674, allocations: 2.915 MB / 475.5 MB, free: 20.67 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003756/0.5679, allocations: 180.5 kB / 475.7 MB, free: 20.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002906/0.5708, allocations: 314.1 kB / 476 MB, free: 20.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03519/0.606, allocations: 10.7 MB / 486.7 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001395/0.6062, allocations: 29.22 kB / 486.7 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001048/0.6073, allocations: 113.3 kB / 486.8 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008768/0.6161, allocations: 2.455 MB / 489.3 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03265/0.6488, allocations: 10.13 MB / 499.4 MB, free: 2.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09287/0.7417, allocations: 35.58 MB / 0.5224 GB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02798/0.7698, allocations: 5.602 MB / 0.5279 GB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007429/0.7773, allocations: 2.326 MB / 0.5302 GB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003496/0.7808, allocations: 1.872 MB / 0.532 GB, free: 3.871 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.265e-05/0.7809, allocations: 56.56 kB / 0.532 GB, free: 3.809 MB / 378.7 MB Notification: Performance of pre-optimization done (n=224): time 8.255e-06/0.7809, allocations: 0 / 0.532 GB, free: 3.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=231): time 0.06465/0.8456, allocations: 14.98 MB / 0.5467 GB, free: 4.723 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001714/0.8473, allocations: 1.527 MB / 0.5482 GB, free: 3.039 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005849/0.8532, allocations: 2.779 MB / 0.5509 GB, free: 252 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006619/0.8539, allocations: 52.36 kB / 0.5509 GB, free: 196 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002953/0.8569, allocations: 2.684 MB / 0.5535 GB, free: 13.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001582/0.8585, allocations: 0.8394 MB / 0.5544 GB, free: 12.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006641/0.8592, allocations: 106.6 kB / 0.5545 GB, free: 12.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005142/0.8597, allocations: 0.5375 MB / 0.555 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006917/0.8667, allocations: 2.607 MB / 0.5575 GB, free: 9.414 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01039/0.8771, allocations: 5.589 MB / 0.563 GB, free: 2.363 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009797/0.8869, allocations: 3.794 MB / 0.5667 GB, free: 14.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.603e-05/0.8871, allocations: 35.95 kB / 0.5667 GB, free: 14.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.427/1.314, allocations: 18.94 MB / 0.5852 GB, free: 122 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001453/1.314, allocations: 49.69 kB / 0.5853 GB, free: 122 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0874/1.402, allocations: 12 MB / 0.597 GB, free: 121.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09717/1.499, allocations: 10.3 MB / 0.6071 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008831/1.508, allocations: 1.296 MB / 0.6083 GB, free: 120.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04733/1.555, allocations: 16.02 MB / 0.624 GB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006637/1.562, allocations: 430.3 kB / 0.6244 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001263/1.563, allocations: 321.6 kB / 0.6247 GB, free: 111.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 21 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (650): * Single equations (assignments): 639 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.005719/1.569, allocations: 2.009 MB / 0.6267 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006863/1.57, allocations: 275.6 kB / 0.6269 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/1.585, allocations: 5.105 MB / 0.6319 GB, free: 108 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01298/1.598, allocations: 4.391 MB / 0.6362 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/1.598, allocations: 7.969 kB / 0.6362 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-05/1.598, allocations: 11.92 kB / 0.6362 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07752/1.675, allocations: 12.9 MB / 0.6488 GB, free: 90.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.933e-05/1.676, allocations: 8 kB / 0.6488 GB, free: 90.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008319/1.684, allocations: 454.4 kB / 0.6492 GB, free: 90.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01547/1.699, allocations: 0.9459 MB / 0.6502 GB, free: 89.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006805/1.7, allocations: 56.92 kB / 0.6502 GB, free: 89.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/1.714, allocations: 5.455 MB / 0.6555 GB, free: 83.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001177/1.715, allocations: 1.461 MB / 0.657 GB, free: 81.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01926/1.735, allocations: 7.7 MB / 0.6645 GB, free: 74.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009676/1.736, allocations: 334.6 kB / 0.6648 GB, free: 73.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001118/1.737, allocations: 45.31 kB / 0.6649 GB, free: 73.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003233/1.74, allocations: 196.3 kB / 0.665 GB, free: 73.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007504/1.741, allocations: 142.2 kB / 0.6652 GB, free: 73.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002721/1.741, allocations: 63.97 kB / 0.6652 GB, free: 73.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003596/1.745, allocations: 1.693 MB / 0.6669 GB, free: 71.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.745, allocations: 0 / 0.6669 GB, free: 71.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00691/1.752, allocations: 1.095 MB / 0.668 GB, free: 70.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01867/1.77, allocations: 8.373 MB / 0.6761 GB, free: 62.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01583/1.786, allocations: 6.535 MB / 0.6825 GB, free: 55.72 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.786, allocations: 0 / 0.6825 GB, free: 55.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006157/1.793, allocations: 2.522 MB / 0.685 GB, free: 53.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003717/1.796, allocations: 377.8 kB / 0.6853 GB, free: 52.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1609/1.957, allocations: 39.62 MB / 0.724 GB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004831/1.962, allocations: 3.228 MB / 0.7272 GB, free: 7.227 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007662/1.97, allocations: 2.06 MB / 0.7292 GB, free: 5.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004086/1.974, allocations: 1.663 MB / 0.7308 GB, free: 3.496 MB / 426.7 MB Notification: Performance of SimCode: time 6.92e-07/1.974, allocations: 0 / 0.7308 GB, free: 3.496 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5208/2.495, allocations: 79.18 MB / 0.8081 GB, free: 105.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/2.495, allocations: 215 kB / 0.8084 GB, free: 105.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.672/8.167, allocations: 4 kB / 0.8084 GB, free: 105.4 MB / 442.7 MB