Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",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.01004/0.01004, allocations: 173.2 kB / 15.12 MB, free: 5.93 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 1.995/1.995, allocations: 194.5 MB / 210.3 MB, free: 7.602 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.002008/0.002008, allocations: 128.6 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.2811/0.2811, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006451/0.0006452, allocations: 11.09 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.101, allocations: 54.87 MB / 461.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4989/0.6, allocations: 99.11 MB / 0.5471 GB, free: 21.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.6003, allocations: 80.58 kB / 0.5472 GB, free: 21.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2338/0.8341, allocations: 66.37 MB / 0.612 GB, free: 13.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.8341, allocations: 0 / 0.612 GB, free: 13.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001803/0.8343, allocations: 68 kB / 0.6121 GB, free: 13.21 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: 1328 * Number of variables: 1328 Notification: Performance of Generate backend data structure: time 0.0124/0.8468, allocations: 3.226 MB / 0.6152 GB, free: 10.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.8468, allocations: 15.95 kB / 0.6152 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002965/0.8498, allocations: 0.6861 MB / 0.6159 GB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01545/0.8653, allocations: 1.933 MB / 0.6178 GB, free: 7.832 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007204/0.8726, allocations: 2.03 MB / 0.6198 GB, free: 6.246 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004044/0.873, allocations: 288.3 kB / 0.62 GB, free: 6.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002119/0.8751, allocations: 371.4 kB / 0.6204 GB, free: 5.848 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02611/0.9013, allocations: 8.138 MB / 0.6283 GB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001542/0.9015, allocations: 19.81 kB / 0.6284 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001056/0.9026, allocations: 162.8 kB / 0.6285 GB, free: 14.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001851/0.9044, allocations: 0.8065 MB / 0.6293 GB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02261/0.927, allocations: 7.018 MB / 0.6362 GB, free: 6.727 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05867/0.9858, allocations: 27.52 MB / 0.663 GB, free: 10.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009096/0.9949, allocations: 2.563 MB / 0.6655 GB, free: 7.969 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01319/1.008, allocations: 4.484 MB / 0.6699 GB, free: 3.379 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/1.008, allocations: 39.56 kB / 0.67 GB, free: 3.332 MB / 442.7 MB Notification: Performance of pre-optimization done (n=120): time 4.889e-06/1.008, allocations: 0 / 0.67 GB, free: 3.332 MB / 442.7 MB Notification: Performance of matching and sorting (n=120): time 0.01265/1.021, allocations: 2.987 MB / 0.6729 GB, free: 288 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/1.021, allocations: 64.41 kB / 0.6729 GB, free: 212 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004436/1.025, allocations: 1.968 MB / 0.6749 GB, free: 14.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002178/1.026, allocations: 41.7 kB / 0.6749 GB, free: 14.15 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002207/1.028, allocations: 2.312 MB / 0.6771 GB, free: 11.84 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000724/1.029, allocations: 457.8 kB / 0.6776 GB, free: 11.39 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/1.029, allocations: 72 kB / 0.6777 GB, free: 11.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003502/1.029, allocations: 469.8 kB / 0.6781 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002943/1.032, allocations: 1.073 MB / 0.6792 GB, free: 9.781 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004791/1.037, allocations: 3.184 MB / 0.6823 GB, free: 5.547 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004949/1.042, allocations: 1.859 MB / 0.6841 GB, free: 3.691 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.547e-05/1.042, allocations: 20 kB / 0.6841 GB, free: 3.672 MB / 458.7 MB Notification: Performance of matching and sorting (n=468) (initialization): time 0.01125/1.054, allocations: 4.199 MB / 0.6882 GB, free: 15.47 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.675e-05/1.054, allocations: 36 kB / 0.6882 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001044/1.054, allocations: 80 kB / 0.6883 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001519/1.054, allocations: 108 kB / 0.6884 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005144/1.059, allocations: 0.8071 MB / 0.6892 GB, free: 14.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001755/1.059, allocations: 155.3 kB / 0.6893 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003567/1.063, allocations: 491.2 kB / 0.6898 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005603/1.064, allocations: 220 kB / 0.69 GB, free: 13.59 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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 (444): * Single equations (assignments): 441 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004403/1.068, allocations: 1.683 MB / 0.6917 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000468/1.068, allocations: 193.5 kB / 0.6919 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004209/1.073, allocations: 1.514 MB / 0.6933 GB, free: 10.18 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.651e-05/1.073, allocations: 16 kB / 0.6933 GB, free: 10.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/1.073, allocations: 3.984 kB / 0.6933 GB, free: 10.16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/1.073, allocations: 11.88 kB / 0.6934 GB, free: 10.14 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02193/1.095, allocations: 7.376 MB / 0.7006 GB, free: 2.523 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.753e-05/1.095, allocations: 16 kB / 0.7006 GB, free: 2.508 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/1.096, allocations: 191.6 kB / 0.7008 GB, free: 2.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.63e-05/1.097, allocations: 20 kB / 0.7008 GB, free: 2.301 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001534/1.097, allocations: 36 kB / 0.7008 GB, free: 2.266 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.926e-05/1.097, allocations: 32.45 kB / 0.7008 GB, free: 2.234 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.149e-05/1.097, allocations: 23.94 kB / 0.7009 GB, free: 2.211 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005199/1.102, allocations: 3.173 MB / 0.704 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008674/1.103, allocations: 337.9 kB / 0.7043 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004199/1.103, allocations: 36 kB / 0.7043 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/1.105, allocations: 47.95 kB / 0.7044 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004073/1.106, allocations: 111.6 kB / 0.7045 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/1.106, allocations: 55.83 kB / 0.7045 GB, free: 13.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004418/1.11, allocations: 1.542 MB / 0.706 GB, free: 12.24 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.12e-07/1.11, allocations: 4 kB / 0.706 GB, free: 12.24 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005009/1.115, allocations: 0.9135 MB / 0.7069 GB, free: 11.32 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007551/1.123, allocations: 7.684 MB / 0.7144 GB, free: 3.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007327/1.13, allocations: 2.55 MB / 0.7169 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.899e-05/1.13, allocations: 4 kB / 0.7169 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3159/1.446, allocations: 0.6942 MB / 0.7176 GB, free: 136.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/1.448, allocations: 288.8 kB / 0.7179 GB, free: 136 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06042/1.509, allocations: 71.68 MB / 0.7879 GB, free: 75.17 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00607/1.515, allocations: 2.891 MB / 0.7907 GB, free: 74.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005135/1.52, allocations: 1.164 MB / 0.7918 GB, free: 74.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003281/1.524, allocations: 1.428 MB / 0.7932 GB, free: 74.38 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/1.524, allocations: 0 / 0.7932 GB, free: 74.38 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1293/1.653, allocations: 46.89 MB / 0.839 GB, free: 60.22 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002603/1.653, allocations: 182.8 kB / 0.8392 GB, free: 59.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.936/5.59, allocations: 0 / 0.8392 GB, free: 59.98 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat