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.01581/0.01581, allocations: 165.5 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.912/1.912, 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.002071/0.002071, allocations: 106 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.4528/0.4528, allocations: 38.05 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004774, allocations: 12 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1128, allocations: 48.71 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4298/0.5426, allocations: 88.59 MB / 0.4885 GB, free: 15.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.5429, allocations: 78.58 kB / 0.4886 GB, free: 15.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3642/0.9072, allocations: 82.63 MB / 0.5693 GB, free: 1.254 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.717e-06/0.9073, allocations: 0 / 0.5693 GB, free: 1.254 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002174/0.9075, allocations: 68 kB / 0.5694 GB, free: 1.188 MB / 410.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.02543/0.9329, allocations: 3.999 MB / 0.5733 GB, free: 13.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.978e-05/0.933, allocations: 8.031 kB / 0.5733 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005419/0.9385, allocations: 0.7538 MB / 0.574 GB, free: 12.35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04668/0.9852, allocations: 5.875 MB / 0.5798 GB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02238/1.008, allocations: 5.305 MB / 0.585 GB, free: 1.105 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008731/1.009, allocations: 287.2 kB / 0.5852 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005593/1.014, allocations: 367.8 kB / 0.5856 GB, free: 476 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4444/1.459, allocations: 10.42 MB / 0.5958 GB, free: 84.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002772/1.459, allocations: 28.62 kB / 0.5958 GB, free: 84.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002326/1.461, allocations: 174.1 kB / 0.5959 GB, free: 84.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005406/1.467, allocations: 1.143 MB / 0.5971 GB, free: 84.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03505/1.502, allocations: 10.1 MB / 0.6069 GB, free: 84.47 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07815/1.58, allocations: 37.33 MB / 0.6434 GB, free: 65.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01857/1.599, allocations: 5.598 MB / 0.6488 GB, free: 62.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002215/1.601, allocations: 1.873 MB / 0.6507 GB, free: 60.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/1.601, allocations: 59.2 kB / 0.6507 GB, free: 60.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=224): time 6.512e-06/1.601, allocations: 0 / 0.6507 GB, free: 60.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=231): time 0.05809/1.659, allocations: 15.5 MB / 0.6659 GB, free: 55.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001295/1.661, allocations: 1.53 MB / 0.6674 GB, free: 54.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004853/1.665, allocations: 2.488 MB / 0.6698 GB, free: 53.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006132/1.666, allocations: 53.86 kB / 0.6698 GB, free: 53.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00188/1.668, allocations: 2.677 MB / 0.6725 GB, free: 51.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001195/1.669, allocations: 0.8426 MB / 0.6733 GB, free: 51.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005627/1.67, allocations: 107.1 kB / 0.6734 GB, free: 50.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003294/1.67, allocations: 0.5475 MB / 0.6739 GB, free: 50.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00985/1.68, allocations: 2.599 MB / 0.6765 GB, free: 49.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009617/1.69, allocations: 5.571 MB / 0.6819 GB, free: 44.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008284/1.698, allocations: 3.789 MB / 0.6856 GB, free: 43.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.058e-05/1.698, allocations: 33.08 kB / 0.6856 GB, free: 43.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.1419/1.84, allocations: 18.95 MB / 0.7041 GB, free: 34.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.279e-05/1.84, allocations: 48 kB / 0.7042 GB, free: 34.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08656/1.927, allocations: 12.01 MB / 0.7159 GB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09512/2.022, allocations: 10.31 MB / 0.726 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007617/2.03, allocations: 1.244 MB / 0.7272 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05021/2.08, allocations: 17.25 MB / 0.744 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006882/2.087, allocations: 444.9 kB / 0.7445 GB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001674/2.089, allocations: 314.5 kB / 0.7448 GB, free: 10.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 474 * 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 (649): * Single equations (assignments): 638 * 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.006449/2.095, allocations: 2.017 MB / 0.7467 GB, free: 8.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008599/2.096, allocations: 268.5 kB / 0.747 GB, free: 8.004 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01785/2.114, allocations: 5.105 MB / 0.752 GB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.339/2.453, allocations: 4.381 MB / 0.7562 GB, free: 93.08 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.288e-05/2.453, allocations: 2.766 kB / 0.7562 GB, free: 93.08 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-05/2.453, allocations: 9.656 kB / 0.7563 GB, free: 93.08 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03804/2.491, allocations: 12.97 MB / 0.7689 GB, free: 92.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.882e-05/2.491, allocations: 11.16 kB / 0.7689 GB, free: 92.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003583/2.495, allocations: 407.4 kB / 0.7693 GB, free: 92.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005344/2.5, allocations: 0.9367 MB / 0.7702 GB, free: 92.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006209/2.501, allocations: 49.61 kB / 0.7703 GB, free: 92.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/2.511, allocations: 5.558 MB / 0.7757 GB, free: 89.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001325/2.512, allocations: 1.47 MB / 0.7771 GB, free: 88.35 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02074/2.533, allocations: 8.331 MB / 0.7853 GB, free: 87.04 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/2.534, allocations: 331.2 kB / 0.7856 GB, free: 86.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001107/2.535, allocations: 42.2 kB / 0.7856 GB, free: 86.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003494/2.539, allocations: 203.4 kB / 0.7858 GB, free: 86.94 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009487/2.54, allocations: 148.8 kB / 0.786 GB, free: 86.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002718/2.54, allocations: 70.41 kB / 0.786 GB, free: 86.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004931/2.545, allocations: 1.699 MB / 0.7877 GB, free: 86.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.62e-07/2.545, allocations: 0 / 0.7877 GB, free: 86.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007265/2.552, allocations: 1.108 MB / 0.7888 GB, free: 86.79 MB / 442.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.02268/2.575, allocations: 10.92 MB / 0.7995 GB, free: 82.37 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01893/2.594, allocations: 6.544 MB / 0.8058 GB, free: 80.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/2.594, allocations: 0 / 0.8058 GB, free: 80.38 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007043/2.601, allocations: 2.525 MB / 0.8083 GB, free: 79.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003286/2.604, allocations: 332 kB / 0.8086 GB, free: 79.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.17/2.775, allocations: 110.9 MB / 0.9169 GB, free: 21.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006542/2.781, allocations: 3.239 MB / 0.9201 GB, free: 20.07 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01218/2.793, allocations: 2.053 MB / 0.9221 GB, free: 19.94 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007222/2.801, allocations: 1.663 MB / 0.9237 GB, free: 18.58 MB / 474.7 MB Notification: Performance of SimCode: time 2.134e-06/2.801, allocations: 0 / 0.9237 GB, free: 18.58 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4884/3.289, allocations: 79.23 MB / 1.001 GB, free: 117.2 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002874/3.289, allocations: 203.1 kB / 1.001 GB, free: 117 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.866/8.155, allocations: 0 / 1.001 GB, free: 117 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical_res.mat does not exist to compare? outputFormat=mat