Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical.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.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_UniversalSpherical",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.01415/0.01415, allocations: 165.6 kB / 15.11 MB, free: 5.984 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.785/1.785, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.002027/0.002027, allocations: 111.3 kB / 226.2 MB, free: 10.09 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.4624/0.4624, allocations: 38.06 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004975/0.0004974, allocations: 8 kB / 363 MB, free: 5.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1052, allocations: 48.71 MB / 411.7 MB, free: 4.742 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4577/0.563, allocations: 108.4 MB / 0.5079 GB, free: 11.79 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.5633, allocations: 82 kB / 0.5079 GB, free: 11.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.197/1.76, allocations: 229.6 MB / 0.7321 GB, free: 15.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.535e-06/1.76, allocations: 0 / 0.7321 GB, free: 15.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0009142/1.761, allocations: 280 kB / 0.7324 GB, free: 14.82 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4696 * Number of variables: 4696 Notification: Performance of Generate backend data structure: time 0.7866/2.548, allocations: 15.19 MB / 0.7472 GB, free: 24.32 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/2.548, allocations: 17.41 kB / 0.7472 GB, free: 24.32 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01581/2.564, allocations: 2.847 MB / 0.75 GB, free: 24.14 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07767/2.641, allocations: 10.47 MB / 0.7602 GB, free: 23.27 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05029/2.692, allocations: 14.02 MB / 0.7739 GB, free: 22.75 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001588/2.693, allocations: 1.092 MB / 0.775 GB, free: 22.72 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008186/2.701, allocations: 1.439 MB / 0.7764 GB, free: 22.71 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1279/2.829, allocations: 32.99 MB / 0.8086 GB, free: 16.65 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001263/2.831, allocations: 139.5 kB / 0.8088 GB, free: 16.64 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007051/2.838, allocations: 0.6567 MB / 0.8094 GB, free: 16.64 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005677/2.844, allocations: 2.546 MB / 0.8119 GB, free: 16.62 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09071/2.934, allocations: 27.29 MB / 0.8385 GB, free: 8.836 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.132/4.066, allocations: 131.4 MB / 0.9669 GB, free: 31.78 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.09759/4.164, allocations: 13.01 MB / 0.9796 GB, free: 31.09 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0779/4.242, allocations: 30.97 MB / 1.01 GB, free: 23.76 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.766e-05/4.242, allocations: 82.33 kB / 1.01 GB, free: 23.71 MB / 0.495 GB Notification: Performance of pre-optimization done (n=424): time 8.726e-06/4.242, allocations: 2.531 kB / 1.01 GB, free: 23.71 MB / 0.495 GB Notification: Performance of matching and sorting (n=554): time 1.159/5.401, allocations: 127.2 MB / 1.134 GB, free: 124.2 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05543/5.456, allocations: 24.18 MB / 1.158 GB, free: 117.1 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02561/5.482, allocations: 8.337 MB / 1.166 GB, free: 116.7 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 0.001851/5.484, allocations: 108.1 kB / 1.166 GB, free: 116.6 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 0.009256/5.493, allocations: 8.941 MB / 1.175 GB, free: 112.7 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.005012/5.498, allocations: 2.139 MB / 1.177 GB, free: 111.4 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004309/5.502, allocations: 324.8 kB / 1.177 GB, free: 111.4 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.00238/5.505, allocations: 0.9837 MB / 1.178 GB, free: 111.1 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02315/5.528, allocations: 9.374 MB / 1.187 GB, free: 111.1 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0296/5.558, allocations: 18.64 MB / 1.205 GB, free: 97 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02975/5.588, allocations: 12.85 MB / 1.218 GB, free: 92.08 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003893/5.588, allocations: 94.16 kB / 1.218 GB, free: 92.08 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2093) (initialization): time 0.1184/5.706, allocations: 34.95 MB / 1.252 GB, free: 80.26 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 0.000241/5.707, allocations: 145.4 kB / 1.252 GB, free: 80.26 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08242/5.789, allocations: 21.84 MB / 1.274 GB, free: 73.08 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05505/5.844, allocations: 9.066 MB / 1.283 GB, free: 67.73 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0258/5.87, allocations: 3.985 MB / 1.286 GB, free: 64.39 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4823/6.353, allocations: 47.3 MB / 1.333 GB, free: 103.3 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02799/6.381, allocations: 1.695 MB / 1.334 GB, free: 103.3 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004542/6.385, allocations: 0.9814 MB / 1.335 GB, free: 103.3 MB / 0.5263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1485 * Number of states: 0 () * Number of discrete variables: 69 (init2.arrowColor[3],init2.arrowColor[2],init2.arrowColor[1],init.arrowColor[3],init.arrowColor[2],init.arrowColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],universalSpherical1.cylinderColor[3],universalSpherical1.cylinderColor[2],universalSpherical1.cylinderColor[1],universalSpherical1.sphereColor[3],universalSpherical1.sphereColor[2],universalSpherical1.sphereColor[1],universalSpherical1.rodColor[3],universalSpherical1.rodColor[2],universalSpherical1.rodColor[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1967): * Single equations (assignments): 1940 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,93.8%) 8,(8,76.6%) 20,(1,100.0%) 3,(1,100.0%) 9,(4,87.5%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01941/6.405, allocations: 6.275 MB / 1.341 GB, free: 103.2 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003354/6.408, allocations: 0.8692 MB / 1.342 GB, free: 103.2 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.12/6.528, allocations: 27.63 MB / 1.369 GB, free: 102.4 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1117/6.64, allocations: 25.81 MB / 1.394 GB, free: 95.14 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001248/6.64, allocations: 21.38 kB / 1.394 GB, free: 95.14 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000195/6.64, allocations: 27.39 kB / 1.394 GB, free: 95.14 MB / 0.5263 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.234/6.874, allocations: 58.69 MB / 1.452 GB, free: 71.88 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.955e-05/6.874, allocations: 4 kB / 1.452 GB, free: 71.87 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01061/6.885, allocations: 1.083 MB / 1.453 GB, free: 70.83 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08691/6.972, allocations: 14.02 MB / 1.466 GB, free: 56.88 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002114/6.974, allocations: 164.4 kB / 1.467 GB, free: 56.72 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5342/7.508, allocations: 61.81 MB / 1.527 GB, free: 98.53 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05891/7.567, allocations: 23.93 MB / 1.55 GB, free: 91.74 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1394/7.707, allocations: 39.49 MB / 1.589 GB, free: 80.34 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01008/7.717, allocations: 2.469 MB / 1.591 GB, free: 79.56 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00477/7.722, allocations: 131.9 kB / 1.591 GB, free: 79.48 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01573/7.737, allocations: 0.8493 MB / 1.592 GB, free: 79.42 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0038/7.741, allocations: 427 kB / 1.593 GB, free: 79.36 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001902/7.743, allocations: 173.6 kB / 1.593 GB, free: 79.33 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.01685/7.76, allocations: 5.77 MB / 1.599 GB, free: 77.41 MB / 0.5263 GB Notification: Performance of sort global known variables: time 8.91e-07/7.76, allocations: 4.219 kB / 1.599 GB, free: 77.41 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.02738/7.788, allocations: 4.27 MB / 1.603 GB, free: 77.07 MB / 0.5263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 30 ($STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[6],$STATESET3.x[5],$STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[5],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],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 (435): * Single equations (assignments): 420 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {3,8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 6,(4,87.5%) 6,(1,100.0%) 4,(4,93.8%) 8,(8,76.6%) 20,(7,93.9%) 12} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.1417/7.929, allocations: 40.56 MB / 1.642 GB, free: 57.77 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.05491/7.984, allocations: 23.03 MB / 1.665 GB, free: 38.3 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/7.984, allocations: 7.938 kB / 1.665 GB, free: 38.29 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.03124/8.016, allocations: 11.23 MB / 1.676 GB, free: 28.46 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01306/8.029, allocations: 1.273 MB / 1.677 GB, free: 27.43 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9952/9.024, allocations: 295.4 MB / 1.965 GB, free: 62.99 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03143/9.055, allocations: 9.471 MB / 1.975 GB, free: 61.96 MB / 0.5888 GB Notification: Performance of simCode: alias equations: time 0.02787/9.083, allocations: 5.104 MB / 1.98 GB, free: 61.86 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02069/9.104, allocations: 6.637 MB / 1.986 GB, free: 61.86 MB / 0.5888 GB Notification: Performance of SimCode: time 1.453e-06/9.104, allocations: 0 / 1.986 GB, free: 61.86 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.061/10.17, allocations: 281.4 MB / 2.261 GB, free: 56.34 MB / 0.5888 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/10.17, allocations: 219.3 kB / 2.261 GB, free: 56.1 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/22.72, allocations: 0 / 2.261 GB, free: 56.1 MB / 0.5888 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat