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.01042/0.01042, allocations: 175.2 kB / 15.12 MB, free: 5.934 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.056/2.056, allocations: 194.5 MB / 210.3 MB, free: 8.586 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.001957/0.001957, allocations: 108.8 kB / 255.6 MB, free: 11.21 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.3202/0.3202, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004762, allocations: 12.28 kB / 406.3 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1055, allocations: 54.87 MB / 461.1 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5534/0.659, allocations: 95.33 MB / 0.5434 GB, free: 21.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.6594, allocations: 75.06 kB / 0.5435 GB, free: 21.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3635/1.023, allocations: 82.63 MB / 0.6242 GB, free: 2.254 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.958e-06/1.023, allocations: 0 / 0.6242 GB, free: 2.254 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002853/1.023, allocations: 75.84 kB / 0.6243 GB, free: 2.184 MB / 394.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.03041/1.054, allocations: 3.996 MB / 0.6282 GB, free: 14.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.992e-05/1.054, allocations: 19.95 kB / 0.6282 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004785/1.059, allocations: 0.7521 MB / 0.6289 GB, free: 13.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05472/1.113, allocations: 5.875 MB / 0.6347 GB, free: 8.117 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02216/1.136, allocations: 5.319 MB / 0.6398 GB, free: 2.941 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003423/1.136, allocations: 285.3 kB / 0.6401 GB, free: 2.695 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002064/1.138, allocations: 368.7 kB / 0.6405 GB, free: 2.367 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03438/1.172, allocations: 10.41 MB / 0.6506 GB, free: 7.543 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000242/1.173, allocations: 27.75 kB / 0.6507 GB, free: 7.516 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002341/1.175, allocations: 172.8 kB / 0.6508 GB, free: 7.379 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002977/1.178, allocations: 1.147 MB / 0.652 GB, free: 6.234 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03341/1.212, allocations: 10.1 MB / 0.6618 GB, free: 12.12 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08867/1.3, allocations: 37.32 MB / 0.6983 GB, free: 6.078 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02106/1.321, allocations: 5.605 MB / 0.7037 GB, free: 252 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002988/1.324, allocations: 1.872 MB / 0.7056 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.851e-05/1.325, allocations: 52.56 kB / 0.7056 GB, free: 13.99 MB / 490.7 MB Notification: Performance of pre-optimization done (n=224): time 7.083e-06/1.325, allocations: 0 / 0.7056 GB, free: 13.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=231): time 0.4528/1.777, allocations: 15.49 MB / 0.7207 GB, free: 128.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00152/1.779, allocations: 1.527 MB / 0.7222 GB, free: 126.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006693/1.786, allocations: 2.482 MB / 0.7247 GB, free: 126.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006539/1.786, allocations: 56.39 kB / 0.7247 GB, free: 126.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002873/1.789, allocations: 2.669 MB / 0.7273 GB, free: 125.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001699/1.791, allocations: 0.8557 MB / 0.7282 GB, free: 125.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009609/1.792, allocations: 106.9 kB / 0.7283 GB, free: 125.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000653/1.793, allocations: 0.5386 MB / 0.7288 GB, free: 124.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007538/1.8, allocations: 2.603 MB / 0.7313 GB, free: 124.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009979/1.81, allocations: 5.568 MB / 0.7368 GB, free: 121.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009906/1.82, allocations: 3.791 MB / 0.7405 GB, free: 121.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001534/1.821, allocations: 35.11 kB / 0.7405 GB, free: 121.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.1204/1.941, allocations: 18.95 MB / 0.759 GB, free: 120.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/1.941, allocations: 55.02 kB / 0.7591 GB, free: 120.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08492/2.026, allocations: 12 MB / 0.7708 GB, free: 120.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09366/2.12, allocations: 10.31 MB / 0.7809 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00801/2.128, allocations: 1.245 MB / 0.7821 GB, free: 119.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0489/2.177, allocations: 17.25 MB / 0.7989 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006978/2.184, allocations: 440.5 kB / 0.7993 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001529/2.185, allocations: 321.5 kB / 0.7996 GB, free: 106.8 MB / 490.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.005878/2.191, allocations: 2.016 MB / 0.8016 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007596/2.192, allocations: 268.4 kB / 0.8019 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0148/2.207, allocations: 5.101 MB / 0.8068 GB, free: 99.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01297/2.22, allocations: 4.392 MB / 0.8111 GB, free: 95.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.912e-05/2.22, allocations: 4.562 kB / 0.8111 GB, free: 95.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.362e-05/2.22, allocations: 7.969 kB / 0.8111 GB, free: 95.03 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03713/2.257, allocations: 12.99 MB / 0.8238 GB, free: 81.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.37e-05/2.257, allocations: 8 kB / 0.8238 GB, free: 81.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003581/2.261, allocations: 399.3 kB / 0.8242 GB, free: 81.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005396/2.266, allocations: 0.9374 MB / 0.8251 GB, free: 80.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007052/2.267, allocations: 54.09 kB / 0.8252 GB, free: 80.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009721/2.277, allocations: 5.551 MB / 0.8306 GB, free: 74.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001138/2.278, allocations: 1.469 MB / 0.832 GB, free: 73.15 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01951/2.298, allocations: 8.328 MB / 0.8402 GB, free: 64.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009946/2.299, allocations: 337.5 kB / 0.8405 GB, free: 64.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001092/2.3, allocations: 43.48 kB / 0.8405 GB, free: 64.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003361/2.303, allocations: 204.2 kB / 0.8407 GB, free: 63.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007482/2.304, allocations: 137.5 kB / 0.8409 GB, free: 63.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002555/2.304, allocations: 73.25 kB / 0.8409 GB, free: 63.76 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004093/2.308, allocations: 1.7 MB / 0.8426 GB, free: 62.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.32e-07/2.308, allocations: 0 / 0.8426 GB, free: 62.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007347/2.316, allocations: 1.105 MB / 0.8437 GB, free: 60.96 MB / 490.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.02033/2.336, allocations: 10.93 MB / 0.8543 GB, free: 49.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01729/2.353, allocations: 6.54 MB / 0.8607 GB, free: 43.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/2.353, allocations: 4 kB / 0.8607 GB, free: 43.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006437/2.36, allocations: 2.524 MB / 0.8632 GB, free: 40.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002997/2.363, allocations: 341.4 kB / 0.8635 GB, free: 40.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5019/2.865, allocations: 110.9 MB / 0.9718 GB, free: 71.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007274/2.872, allocations: 3.242 MB / 0.975 GB, free: 70.42 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009319/2.882, allocations: 2.059 MB / 0.977 GB, free: 70.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004875/2.887, allocations: 1.666 MB / 0.9786 GB, free: 70.38 MB / 490.7 MB Notification: Performance of SimCode: time 1.873e-06/2.887, allocations: 0 / 0.9786 GB, free: 70.38 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1757/3.062, allocations: 79.22 MB / 1.056 GB, free: 19.96 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002579/3.063, allocations: 211.6 kB / 1.056 GB, free: 19.71 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.063/8.125, allocations: 4 kB / 1.056 GB, free: 19.71 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical_res.mat does not exist to compare? outputFormat=mat