Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.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.Spherical,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.009755/0.009761, allocations: 177.6 kB / 15.13 MB, free: 6.023 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.017/2.017, allocations: 194.5 MB / 210.3 MB, free: 7.598 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.001758/0.001758, allocations: 120.1 kB / 255.6 MB, free: 10.22 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.2692/0.2692, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004692/0.0004694, allocations: 12.59 kB / 406.3 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1143, allocations: 54.88 MB / 461.2 MB, free: 3.172 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.0433/0.1576, allocations: 22.36 MB / 483.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01708/0.1748, allocations: 5.787 MB / 489.3 MB, free: 6.934 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003637/0.1785, allocations: 103.8 kB / 489.4 MB, free: 6.832 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0038/0.1823, allocations: 1.124 MB / 490.5 MB, free: 5.703 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01361/0.196, allocations: 4.032 MB / 494.6 MB, free: 1.656 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00245/0.1985, allocations: 463.2 kB / 495 MB, free: 1.203 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007756/0.2063, allocations: 4.186 MB / 499.2 MB, free: 13.01 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004868/0.2112, allocations: 2.143 MB / 0.4896 GB, free: 10.82 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002523/0.2138, allocations: 1.004 MB / 0.4906 GB, free: 9.809 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003931/0.2178, allocations: 1.663 MB / 0.4922 GB, free: 8.141 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008898/0.2187, allocations: 124 kB / 0.4923 GB, free: 8.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003472/0.2222, allocations: 1.061 MB / 0.4933 GB, free: 6.957 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002764/0.225, allocations: 1.48 MB / 0.4948 GB, free: 5.473 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00148/0.2265, allocations: 0.7374 MB / 0.4955 GB, free: 4.727 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008163/0.2348, allocations: 4.712 MB / 0.5001 GB, free: 4 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.2348, allocations: 0 / 0.5001 GB, free: 4 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.2348, allocations: 3.938 kB / 0.5001 GB, free: 0 / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002184/0.2351, allocations: 0 / 0.5001 GB, free: 0 / 346.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.01029/0.2454, allocations: 3.444 MB / 0.5035 GB, free: 12.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.2454, allocations: 8.031 kB / 0.5035 GB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002179/0.2476, allocations: 0.6873 MB / 0.5042 GB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03676/0.2844, allocations: 5.797 MB / 0.5098 GB, free: 5.969 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009904/0.2944, allocations: 2.922 MB / 0.5127 GB, free: 3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002667/0.2947, allocations: 180.4 kB / 0.5128 GB, free: 2.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00206/0.2968, allocations: 299.8 kB / 0.5131 GB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02784/0.3246, allocations: 10.7 MB / 0.5236 GB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001154/0.3248, allocations: 23.81 kB / 0.5236 GB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008628/0.3257, allocations: 123.7 kB / 0.5237 GB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0073/0.333, allocations: 2.459 MB / 0.5261 GB, free: 4.754 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3781/0.7112, allocations: 10.11 MB / 0.536 GB, free: 68.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06858/0.7798, allocations: 35.57 MB / 0.5707 GB, free: 44.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01801/0.7979, allocations: 5.592 MB / 0.5762 GB, free: 38.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004427/0.8023, allocations: 2.322 MB / 0.5785 GB, free: 36.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002107/0.8045, allocations: 1.877 MB / 0.5803 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.8046, allocations: 49.69 kB / 0.5804 GB, free: 34.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=224): time 6.833e-06/0.8046, allocations: 3.938 kB / 0.5804 GB, free: 34.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=231): time 0.07808/0.8827, allocations: 14.98 MB / 0.595 GB, free: 19.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001361/0.8841, allocations: 1.523 MB / 0.5965 GB, free: 17.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005544/0.8897, allocations: 2.783 MB / 0.5992 GB, free: 14.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000853/0.8906, allocations: 55.42 kB / 0.5992 GB, free: 14.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002497/0.8931, allocations: 2.672 MB / 0.6019 GB, free: 12.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001278/0.8944, allocations: 0.8552 MB / 0.6027 GB, free: 11.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006453/0.8951, allocations: 107.9 kB / 0.6028 GB, free: 11.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003363/0.8955, allocations: 0.5414 MB / 0.6033 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005997/0.9015, allocations: 2.607 MB / 0.6059 GB, free: 7.918 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007927/0.9094, allocations: 5.585 MB / 0.6113 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009191/0.9187, allocations: 3.793 MB / 0.615 GB, free: 13.08 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.473e-05/0.9188, allocations: 32 kB / 0.6151 GB, free: 13.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.1261/1.045, allocations: 18.94 MB / 0.6336 GB, free: 10.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/1.045, allocations: 52 kB / 0.6336 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08866/1.134, allocations: 12 MB / 0.6453 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09739/1.231, allocations: 10.29 MB / 0.6554 GB, free: 3.668 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008752/1.24, allocations: 1.294 MB / 0.6566 GB, free: 2.371 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06729/1.307, allocations: 16.03 MB / 0.6723 GB, free: 2.078 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01025/1.318, allocations: 433 kB / 0.6727 GB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00185/1.32, allocations: 325.1 kB / 0.673 GB, free: 1.34 MB / 442.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.007718/1.327, allocations: 2.011 MB / 0.675 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001007/1.328, allocations: 272.4 kB / 0.6752 GB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01903/1.347, allocations: 5.103 MB / 0.6802 GB, free: 9.906 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01417/1.362, allocations: 4.387 MB / 0.6845 GB, free: 5.504 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/1.362, allocations: 4 kB / 0.6845 GB, free: 5.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.791e-05/1.362, allocations: 7.969 kB / 0.6845 GB, free: 5.492 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03839/1.4, allocations: 12.89 MB / 0.6971 GB, free: 8.453 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.344e-05/1.4, allocations: 8.156 kB / 0.6971 GB, free: 8.445 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004228/1.404, allocations: 463.2 kB / 0.6976 GB, free: 7.992 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005528/1.41, allocations: 0.9425 MB / 0.6985 GB, free: 7.039 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003959/1.41, allocations: 57.34 kB / 0.6985 GB, free: 6.984 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01097/1.421, allocations: 5.456 MB / 0.7039 GB, free: 1.262 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3772/1.799, allocations: 1.449 MB / 0.7053 GB, free: 151.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03347/1.832, allocations: 7.711 MB / 0.7128 GB, free: 151.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/1.834, allocations: 332.3 kB / 0.7131 GB, free: 151.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001414/1.835, allocations: 42.88 kB / 0.7132 GB, free: 151.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004899/1.84, allocations: 200.3 kB / 0.7133 GB, free: 151.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00116/1.841, allocations: 140.6 kB / 0.7135 GB, free: 151.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004892/1.842, allocations: 66.58 kB / 0.7135 GB, free: 151.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00658/1.848, allocations: 1.693 MB / 0.7152 GB, free: 150.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.723e-06/1.848, allocations: 4.875 kB / 0.7152 GB, free: 150.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009389/1.858, allocations: 1.098 MB / 0.7163 GB, free: 150.7 MB / 474.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.02053/1.878, allocations: 8.365 MB / 0.7244 GB, free: 147.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0241/1.902, allocations: 6.552 MB / 0.7308 GB, free: 145.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/1.903, allocations: 0 / 0.7308 GB, free: 145.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009381/1.912, allocations: 2.521 MB / 0.7333 GB, free: 144 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004828/1.917, allocations: 367.9 kB / 0.7337 GB, free: 143.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1515/2.068, allocations: 39.61 MB / 0.7723 GB, free: 103.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004574/2.073, allocations: 3.24 MB / 0.7755 GB, free: 100.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007412/2.081, allocations: 2.056 MB / 0.7775 GB, free: 98.58 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003516/2.084, allocations: 1.671 MB / 0.7791 GB, free: 96.91 MB / 474.7 MB Notification: Performance of SimCode: time 1.533e-06/2.084, allocations: 0 / 0.7791 GB, free: 96.91 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1818/2.266, allocations: 79.19 MB / 0.8565 GB, free: 17.66 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/2.266, allocations: 211.2 kB / 0.8567 GB, free: 17.42 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.502/7.768, allocations: 0 / 0.8567 GB, free: 17.42 MB / 474.7 MB