Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.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.Universal,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Universal",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.0101/0.0101, allocations: 176.4 kB / 15.13 MB, free: 5.953 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.149/2.149, 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.00197/0.001969, allocations: 116.2 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.2487/0.2487, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004645/0.0004647, allocations: 16.66 kB / 406.3 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1017, allocations: 54.87 MB / 461.2 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.05573/0.1575, allocations: 36.65 MB / 497.8 MB, free: 14.42 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03256/0.1901, allocations: 8.143 MB / 0.4941 GB, free: 6.254 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008507/0.1987, allocations: 167.6 kB / 0.4943 GB, free: 6.09 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008971/0.2077, allocations: 1.804 MB / 0.496 GB, free: 4.277 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02717/0.235, allocations: 6.218 MB / 0.5021 GB, free: 14.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004073/0.2391, allocations: 483.2 kB / 0.5025 GB, free: 13.56 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01109/0.2502, allocations: 4.465 MB / 0.5069 GB, free: 9.09 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009191/0.2595, allocations: 3.2 MB / 0.51 GB, free: 5.836 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003315/0.2629, allocations: 1.187 MB / 0.5112 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005728/0.2687, allocations: 1.904 MB / 0.5131 GB, free: 2.734 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001286/0.27, allocations: 152 kB / 0.5132 GB, free: 2.586 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003879/0.2739, allocations: 0.8308 MB / 0.514 GB, free: 1.754 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004077/0.278, allocations: 1.679 MB / 0.5156 GB, free: 72 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002986/0.2811, allocations: 0.8661 MB / 0.5165 GB, free: 15.19 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01409/0.2953, allocations: 5.635 MB / 0.522 GB, free: 9.547 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.988e-06/0.2953, allocations: 4 kB / 0.522 GB, free: 9.543 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.2954, allocations: 3.938 kB / 0.522 GB, free: 9.539 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002545/0.2956, allocations: 4 kB / 0.522 GB, free: 9.535 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1763 * Number of variables: 1763 Notification: Performance of Generate backend data structure: time 0.01947/0.3151, allocations: 4.143 MB / 0.5261 GB, free: 5.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.414e-05/0.3152, allocations: 8.031 kB / 0.5261 GB, free: 5.312 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003622/0.3189, allocations: 0.8195 MB / 0.5269 GB, free: 4.484 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03299/0.3519, allocations: 3.234 MB / 0.53 GB, free: 1.238 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3019/0.6539, allocations: 2.605 MB / 0.5326 GB, free: 71.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003263/0.6543, allocations: 238.6 kB / 0.5328 GB, free: 71.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001533/0.6558, allocations: 313.2 kB / 0.5331 GB, free: 71.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03056/0.6864, allocations: 12.13 MB / 0.5449 GB, free: 67.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002491/0.6867, allocations: 32.88 kB / 0.545 GB, free: 67.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001311/0.688, allocations: 147.9 kB / 0.5451 GB, free: 67.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006839/0.6949, allocations: 2.722 MB / 0.5478 GB, free: 67.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03317/0.7281, allocations: 11.33 MB / 0.5588 GB, free: 58.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07618/0.8044, allocations: 41.08 MB / 0.5989 GB, free: 16.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0178/0.8222, allocations: 6.053 MB / 0.6049 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005619/0.8279, allocations: 3.004 MB / 0.6078 GB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002109/0.8301, allocations: 1.882 MB / 0.6096 GB, free: 5.043 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.8301, allocations: 64.5 kB / 0.6097 GB, free: 4.973 MB / 378.7 MB Notification: Performance of pre-optimization done (n=262): time 7.073e-06/0.8302, allocations: 0 / 0.6097 GB, free: 4.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=283): time 0.08433/0.9145, allocations: 20.12 MB / 0.6293 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/0.9146, allocations: 81.34 kB / 0.6294 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006356/0.921, allocations: 3.02 MB / 0.6324 GB, free: 13.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006842/0.9217, allocations: 61.7 kB / 0.6324 GB, free: 13.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003139/0.9249, allocations: 2.998 MB / 0.6353 GB, free: 10.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001802/0.9267, allocations: 1.018 MB / 0.6363 GB, free: 9.465 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006139/0.9273, allocations: 116 kB / 0.6365 GB, free: 9.352 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004942/0.9279, allocations: 0.5661 MB / 0.637 GB, free: 8.777 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007539/0.9354, allocations: 2.826 MB / 0.6398 GB, free: 5.945 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01098/0.9464, allocations: 6.013 MB / 0.6456 GB, free: 14.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/0.9569, allocations: 4.088 MB / 0.6496 GB, free: 10.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001021/0.9571, allocations: 32 kB / 0.6497 GB, free: 10.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.03102/0.9881, allocations: 9.996 MB / 0.6594 GB, free: 252 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.9883, allocations: 57.66 kB / 0.6595 GB, free: 196 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002027/0.9885, allocations: 112 kB / 0.6596 GB, free: 84 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007017/0.9955, allocations: 1.37 MB / 0.6609 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009195/1.005, allocations: 1.376 MB / 0.6623 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01681/1.022, allocations: 7.456 MB / 0.6695 GB, free: 5.734 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006223/1.028, allocations: 371.7 kB / 0.6699 GB, free: 5.371 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008393/1.029, allocations: 348 kB / 0.6702 GB, free: 5.031 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 504 * Number of states: 0 () * Number of discrete variables: 27 (axis1.color[3],axis1.color[2],axis1.color[1],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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[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 (721): * Single equations (assignments): 714 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005639/1.034, allocations: 2.293 MB / 0.6725 GB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008061/1.035, allocations: 304 kB / 0.6728 GB, free: 2.422 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01962/1.055, allocations: 6.608 MB / 0.6792 GB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001145/1.055, allocations: 59.91 kB / 0.6793 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/1.055, allocations: 4 kB / 0.6793 GB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-05/1.055, allocations: 19.89 kB / 0.6793 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04093/1.096, allocations: 13.98 MB / 0.693 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.014e-05/1.096, allocations: 4 kB / 0.693 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00419/1.1, allocations: 456.2 kB / 0.6934 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006276/1.107, allocations: 1.21 MB / 0.6946 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004973/1.107, allocations: 55.97 kB / 0.6946 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01484/1.122, allocations: 6.512 MB / 0.701 GB, free: 5.133 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.515e-05/1.122, allocations: 11.94 kB / 0.701 GB, free: 5.121 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3407/1.463, allocations: 9.826 MB / 0.7106 GB, free: 147.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003342/1.466, allocations: 0.8211 MB / 0.7114 GB, free: 147.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001356/1.468, allocations: 48.89 kB / 0.7114 GB, free: 147.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003831/1.471, allocations: 192.5 kB / 0.7116 GB, free: 147.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001067/1.473, allocations: 158.7 kB / 0.7118 GB, free: 147.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000566/1.473, allocations: 77.56 kB / 0.7119 GB, free: 147.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005408/1.479, allocations: 1.851 MB / 0.7137 GB, free: 147.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.01e-07/1.479, allocations: 0 / 0.7137 GB, free: 147.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00743/1.486, allocations: 1.125 MB / 0.7148 GB, free: 147.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03315/1.519, allocations: 10.49 MB / 0.725 GB, free: 143.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02499/1.544, allocations: 6.847 MB / 0.7317 GB, free: 141.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.08e-05/1.544, allocations: 3.562 kB / 0.7317 GB, free: 141.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01121/1.556, allocations: 2.85 MB / 0.7345 GB, free: 140 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006801/1.563, allocations: 398 kB / 0.7349 GB, free: 139.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1232/1.686, allocations: 36.29 MB / 0.7703 GB, free: 106.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007175/1.693, allocations: 3.672 MB / 0.7739 GB, free: 102.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0107/1.704, allocations: 2.196 MB / 0.776 GB, free: 100.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006703/1.711, allocations: 2.077 MB / 0.778 GB, free: 98.15 MB / 474.7 MB Notification: Performance of SimCode: time 1.042e-06/1.711, allocations: 0 / 0.778 GB, free: 98.15 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2719/1.983, allocations: 79.09 MB / 0.8553 GB, free: 19.07 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/1.983, allocations: 203.5 kB / 0.8555 GB, free: 18.82 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.916/7.899, allocations: 3.938 kB / 0.8555 GB, free: 18.82 MB / 474.7 MB