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.01008/0.01008, allocations: 167.2 kB / 15.11 MB, free: 5.934 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.743/1.743, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.002032/0.002031, allocations: 111.3 kB / 226.2 MB, free: 10.1 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.5301/0.5301, allocations: 38.06 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006342/0.0006343, allocations: 12 kB / 363 MB, free: 5.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1067, allocations: 48.71 MB / 411.7 MB, free: 4.738 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4158/0.5226, allocations: 84.53 MB / 496.2 MB, free: 3.035 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.523, allocations: 81.94 kB / 496.3 MB, free: 2.988 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08661/0.6096, allocations: 19.95 MB / 0.5041 GB, free: 1.648 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.6096, allocations: 0 / 0.5041 GB, free: 1.648 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.499e-05/0.6097, allocations: 22.94 kB / 0.5042 GB, free: 1.629 MB / 346.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.005293/0.615, allocations: 1.451 MB / 0.5056 GB, free: 204 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.6151, allocations: 8.031 kB / 0.5056 GB, free: 196 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008055/0.6159, allocations: 192.9 kB / 0.5058 GB, free: 64 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/0.6178, allocations: 202.3 kB / 0.506 GB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00243/0.6203, allocations: 0.7068 MB / 0.5067 GB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.863e-05/0.6204, allocations: 75.3 kB / 0.5067 GB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005275/0.621, allocations: 105 kB / 0.5068 GB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00985/0.6308, allocations: 2.67 MB / 0.5094 GB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.139e-05/0.631, allocations: 7.938 kB / 0.5094 GB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/0.6312, allocations: 56.72 kB / 0.5095 GB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004572/0.6316, allocations: 201.7 kB / 0.5097 GB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009659/0.6413, allocations: 2.413 MB / 0.5121 GB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01435/0.6557, allocations: 8.527 MB / 0.5204 GB, free: 3.297 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007281/0.663, allocations: 1.003 MB / 0.5214 GB, free: 2.281 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002228/0.6653, allocations: 1.734 MB / 0.5231 GB, free: 276 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.6654, allocations: 38.56 kB / 0.5231 GB, free: 228 kB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 3.346e-06/0.6654, allocations: 0 / 0.5231 GB, free: 228 kB / 362.7 MB Notification: Performance of matching and sorting (n=58): time 0.02121/0.6866, allocations: 3.026 MB / 0.526 GB, free: 13.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.6867, allocations: 55.97 kB / 0.5261 GB, free: 13.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/0.6883, allocations: 0.7808 MB / 0.5269 GB, free: 12.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.978e-05/0.6884, allocations: 37.7 kB / 0.5269 GB, free: 12.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005972/0.689, allocations: 0.6487 MB / 0.5275 GB, free: 11.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.6893, allocations: 213 kB / 0.5277 GB, free: 11.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.129e-05/0.6894, allocations: 28 kB / 0.5278 GB, free: 11.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002461/0.6896, allocations: 402.7 kB / 0.5281 GB, free: 10.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009416/0.6906, allocations: 358.4 kB / 0.5285 GB, free: 10.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.692, allocations: 0.9693 MB / 0.5294 GB, free: 9.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.6933, allocations: 0.5719 MB / 0.53 GB, free: 8.801 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/0.6934, allocations: 4 kB / 0.53 GB, free: 8.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00316/0.6965, allocations: 1.354 MB / 0.5313 GB, free: 7.434 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.6966, allocations: 20.03 kB / 0.5313 GB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.349e-05/0.6967, allocations: 20 kB / 0.5314 GB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.355e-05/0.6967, allocations: 32 kB / 0.5314 GB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00236/0.6991, allocations: 319.4 kB / 0.5317 GB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.7006, allocations: 1.376 MB / 0.533 GB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.7018, allocations: 55.86 kB / 0.5331 GB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.702, allocations: 68 kB / 0.5332 GB, free: 5.422 MB / 378.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.001047/0.7031, allocations: 497 kB / 0.5336 GB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.7033, allocations: 82.97 kB / 0.5337 GB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.7036, allocations: 116.4 kB / 0.5338 GB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.7036, allocations: 4 kB / 0.5338 GB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.7036, allocations: 0 / 0.5338 GB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.7036, allocations: 0 / 0.5338 GB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005831/0.7095, allocations: 2.152 MB / 0.5359 GB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/0.7095, allocations: 11.95 kB / 0.5359 GB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.7106, allocations: 127.8 kB / 0.5361 GB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.11e-05/0.7107, allocations: 12 kB / 0.5361 GB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/0.7107, allocations: 16 kB / 0.5361 GB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.712, allocations: 1.341 MB / 0.5374 GB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.328e-05/0.7121, allocations: 8 kB / 0.5374 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.7141, allocations: 1.128 MB / 0.5385 GB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000485/0.7146, allocations: 199.9 kB / 0.5387 GB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.7147, allocations: 23.98 kB / 0.5387 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005773/0.7153, allocations: 20 kB / 0.5387 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.7155, allocations: 55.73 kB / 0.5388 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-05/0.7155, allocations: 24 kB / 0.5388 GB, free: 15.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001253/0.7168, allocations: 0.5771 MB / 0.5394 GB, free: 14.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7168, allocations: 0 / 0.5394 GB, free: 14.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001464/0.7183, allocations: 212 kB / 0.5396 GB, free: 14.27 MB / 394.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.002889/0.7212, allocations: 3.488 MB / 0.543 GB, free: 10.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002474/0.7237, allocations: 0.8488 MB / 0.5438 GB, free: 9.742 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.7237, allocations: 0 / 0.5438 GB, free: 9.742 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007517/0.7245, allocations: 275.6 kB / 0.5441 GB, free: 9.473 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009741/0.7255, allocations: 115.8 kB / 0.5442 GB, free: 9.363 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02701/0.7525, allocations: 20.88 MB / 0.5646 GB, free: 3.828 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002094/0.7547, allocations: 1.232 MB / 0.5658 GB, free: 2.566 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001704/0.7564, allocations: 339.5 kB / 0.5661 GB, free: 2.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/0.7575, allocations: 399.3 kB / 0.5665 GB, free: 1.844 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.7575, allocations: 0 / 0.5665 GB, free: 1.844 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06935/0.8269, allocations: 16.7 MB / 0.5828 GB, free: 1.211 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003344/0.8273, allocations: 181.4 kB / 0.583 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.073/3.9, allocations: 0 / 0.583 GB, free: 0.9727 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat