Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.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.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutTorque2",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.01535/0.01535, allocations: 164.5 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.66/1.66, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.002026/0.002026, allocations: 122.9 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.4573/0.4573, allocations: 38.06 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004861, allocations: 19.92 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1213, allocations: 48.7 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.466/0.5873, allocations: 89.43 MB / 0.4894 GB, free: 14.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.5876, allocations: 82.31 kB / 0.4894 GB, free: 14.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2302/0.8178, allocations: 56.87 MB / 0.545 GB, free: 10.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.8178, allocations: 8 kB / 0.545 GB, free: 10.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001488/0.818, allocations: 52 kB / 0.545 GB, free: 10.38 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: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.009909/0.8279, allocations: 2.776 MB / 0.5478 GB, free: 7.539 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.828, allocations: 12.03 kB / 0.5478 GB, free: 7.527 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002395/0.8304, allocations: 0.5605 MB / 0.5483 GB, free: 6.957 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01405/0.8445, allocations: 1.832 MB / 0.5501 GB, free: 5.121 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00607/0.8506, allocations: 1.743 MB / 0.5518 GB, free: 3.328 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003077/0.851, allocations: 233.9 kB / 0.552 GB, free: 3.098 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00161/0.8526, allocations: 295.9 kB / 0.5523 GB, free: 2.809 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02154/0.8741, allocations: 6.802 MB / 0.559 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001238/0.8743, allocations: 23.81 kB / 0.559 GB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009418/0.8753, allocations: 137 kB / 0.5591 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001646/0.877, allocations: 0.6884 MB / 0.5598 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01931/0.8963, allocations: 5.943 MB / 0.5656 GB, free: 4.816 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3499/1.246, allocations: 23.83 MB / 0.5888 GB, free: 84.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007676/1.254, allocations: 2.189 MB / 0.591 GB, free: 83.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01257/1.267, allocations: 4.014 MB / 0.5949 GB, free: 82.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/1.267, allocations: 47.16 kB / 0.595 GB, free: 82.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 5.05e-06/1.267, allocations: 0 / 0.595 GB, free: 82.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.01016/1.277, allocations: 2.506 MB / 0.5974 GB, free: 82.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/1.277, allocations: 58.53 kB / 0.5975 GB, free: 82.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004288/1.281, allocations: 1.795 MB / 0.5992 GB, free: 81.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001821/1.281, allocations: 36.11 kB / 0.5992 GB, free: 81.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001886/1.283, allocations: 2.003 MB / 0.6012 GB, free: 81 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006426/1.284, allocations: 379.4 kB / 0.6016 GB, free: 80.81 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004492/1.285, allocations: 61.56 kB / 0.6016 GB, free: 80.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004477/1.285, allocations: 0.4926 MB / 0.6021 GB, free: 80.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00259/1.288, allocations: 0.9482 MB / 0.603 GB, free: 80.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003842/1.292, allocations: 2.905 MB / 0.6059 GB, free: 77.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003804/1.295, allocations: 1.665 MB / 0.6075 GB, free: 77.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.575e-05/1.296, allocations: 19 kB / 0.6075 GB, free: 77.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.0102/1.306, allocations: 3.76 MB / 0.6112 GB, free: 77.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.503e-05/1.306, allocations: 36.47 kB / 0.6112 GB, free: 77.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001082/1.306, allocations: 72.41 kB / 0.6113 GB, free: 77.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001237/1.306, allocations: 105.1 kB / 0.6114 GB, free: 77.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004438/1.311, allocations: 0.7208 MB / 0.6121 GB, free: 77.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001556/1.311, allocations: 132.8 kB / 0.6122 GB, free: 77.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00344/1.314, allocations: 448.1 kB / 0.6126 GB, free: 77.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006986/1.315, allocations: 198 kB / 0.6128 GB, free: 77.44 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 317 * Number of states: 0 () * Number of discrete variables: 21 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (395): * Single equations (assignments): 392 * 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.003683/1.319, allocations: 1.444 MB / 0.6142 GB, free: 77.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004285/1.319, allocations: 177.6 kB / 0.6144 GB, free: 77.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006056/1.325, allocations: 1.237 MB / 0.6156 GB, free: 77.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.988e-05/1.325, allocations: 10.3 kB / 0.6156 GB, free: 77.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/1.325, allocations: 0 / 0.6156 GB, free: 77.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.053e-05/1.325, allocations: 6.391 kB / 0.6156 GB, free: 77.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01822/1.344, allocations: 5.04 MB / 0.6206 GB, free: 76.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/1.344, allocations: 7.75 kB / 0.6206 GB, free: 76.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/1.345, allocations: 147.2 kB / 0.6207 GB, free: 76.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.061e-05/1.345, allocations: 15.5 kB / 0.6207 GB, free: 76.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/1.345, allocations: 33.84 kB / 0.6207 GB, free: 76.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.636e-05/1.345, allocations: 15.69 kB / 0.6208 GB, free: 76.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.285e-05/1.345, allocations: 18.83 kB / 0.6208 GB, free: 76.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003173/1.348, allocations: 2.31 MB / 0.623 GB, free: 74.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000707/1.349, allocations: 277.3 kB / 0.6233 GB, free: 74.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004103/1.349, allocations: 26.03 kB / 0.6233 GB, free: 74.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/1.351, allocations: 37.53 kB / 0.6234 GB, free: 74.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/1.351, allocations: 80.66 kB / 0.6234 GB, free: 74.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/1.351, allocations: 42.31 kB / 0.6235 GB, free: 74.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003123/1.354, allocations: 1.315 MB / 0.6248 GB, free: 74.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.354, allocations: 0 / 0.6248 GB, free: 74.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004256/1.358, allocations: 0.7689 MB / 0.6255 GB, free: 74.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.004671/1.363, allocations: 5.571 MB / 0.631 GB, free: 69.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005923/1.369, allocations: 2.231 MB / 0.6331 GB, free: 68.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/1.369, allocations: 2.812 kB / 0.6331 GB, free: 68.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001396/1.37, allocations: 0.5618 MB / 0.6337 GB, free: 68.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/1.372, allocations: 234.1 kB / 0.6339 GB, free: 68.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04964/1.422, allocations: 64.51 MB / 0.6969 GB, free: 26.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005758/1.428, allocations: 2.509 MB / 0.6994 GB, free: 24.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004581/1.432, allocations: 1.037 MB / 0.7004 GB, free: 24.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002695/1.435, allocations: 1.159 MB / 0.7015 GB, free: 23.88 MB / 442.7 MB Notification: Performance of SimCode: time 1.162e-06/1.435, allocations: 0 / 0.7015 GB, free: 23.88 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.117/1.552, allocations: 39.51 MB / 0.7401 GB, free: 7.609 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002754/1.553, allocations: 165.8 kB / 0.7402 GB, free: 7.375 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.603/5.156, allocations: 4 kB / 0.7403 GB, free: 7.371 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat