Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.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.CutTorque,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutTorque",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.01101/0.01101, allocations: 166.8 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.651/1.651, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001955/0.001954, allocations: 107.4 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.4668/0.4668, allocations: 38.05 MB / 303.7 MB, free: 42.29 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004634, allocations: 8 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1089, allocations: 48.71 MB / 411.7 MB, free: 4.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.474/0.583, allocations: 92.17 MB / 0.492 GB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003579/0.5834, allocations: 82.14 kB / 0.4921 GB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.038/1.622, allocations: 166.1 MB / 0.6543 GB, free: 69.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.314e-06/1.622, allocations: 0 / 0.6543 GB, free: 69.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004633/1.622, allocations: 160.9 kB / 0.6544 GB, free: 69.66 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2932 * Number of variables: 2932 Notification: Performance of Generate backend data structure: time 0.03635/1.659, allocations: 8.53 MB / 0.6628 GB, free: 66.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/1.659, allocations: 11.59 kB / 0.6628 GB, free: 66.2 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007413/1.666, allocations: 1.468 MB / 0.6642 GB, free: 65.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03647/1.703, allocations: 3.674 MB / 0.6678 GB, free: 65.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03359/1.736, allocations: 9.72 MB / 0.6773 GB, free: 61.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008669/1.737, allocations: 0.6284 MB / 0.6779 GB, free: 61.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004928/1.742, allocations: 0.8293 MB / 0.6787 GB, free: 61.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06271/1.805, allocations: 19.66 MB / 0.6979 GB, free: 46.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005329/1.805, allocations: 91.16 kB / 0.698 GB, free: 46.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00428/1.81, allocations: 400 kB / 0.6984 GB, free: 45.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004862/1.815, allocations: 1.861 MB / 0.7002 GB, free: 44.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05298/1.868, allocations: 15.53 MB / 0.7154 GB, free: 28.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4857/2.353, allocations: 81.52 MB / 0.795 GB, free: 40.62 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02806/2.382, allocations: 5.992 MB / 0.8008 GB, free: 39.95 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03478/2.416, allocations: 11.34 MB / 0.8119 GB, free: 36.75 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.549e-05/2.417, allocations: 66.23 kB / 0.812 GB, free: 36.71 MB / 458.7 MB Notification: Performance of pre-optimization done (n=250): time 7.053e-06/2.417, allocations: 0 / 0.812 GB, free: 36.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=274): time 0.07925/2.496, allocations: 16.57 MB / 0.8282 GB, free: 31.71 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.673e-05/2.496, allocations: 157.5 kB / 0.8283 GB, free: 31.55 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01863/2.515, allocations: 6.03 MB / 0.8342 GB, free: 30.93 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006476/2.515, allocations: 69.39 kB / 0.8343 GB, free: 30.9 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005829/2.521, allocations: 5.802 MB / 0.8399 GB, free: 27.72 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002521/2.524, allocations: 1.053 MB / 0.841 GB, free: 27.13 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00225/2.526, allocations: 182.6 kB / 0.8411 GB, free: 26.99 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001731/2.528, allocations: 0.6966 MB / 0.8418 GB, free: 26.52 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01215/2.54, allocations: 2.679 MB / 0.8444 GB, free: 25.71 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01318/2.553, allocations: 8.448 MB / 0.8527 GB, free: 17.12 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0124/2.566, allocations: 4.609 MB / 0.8572 GB, free: 15.56 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002237/2.566, allocations: 56.62 kB / 0.8572 GB, free: 15.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.0318/2.598, allocations: 10.84 MB / 0.8678 GB, free: 11.83 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001625/2.598, allocations: 92.38 kB / 0.8679 GB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004148/2.599, allocations: 208 kB / 0.8681 GB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003328/2.599, allocations: 299.6 kB / 0.8684 GB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01629/2.615, allocations: 2.247 MB / 0.8706 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000559/2.616, allocations: 408.8 kB / 0.871 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01722/2.633, allocations: 0.6195 MB / 0.8716 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002453/2.636, allocations: 0.5489 MB / 0.8721 GB, free: 11.22 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 940 * Number of states: 0 () * Number of discrete variables: 57 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1168): * Single equations (assignments): 1165 * 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.01271/2.648, allocations: 3.753 MB / 0.8758 GB, free: 9.527 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001991/2.65, allocations: 0.5833 MB / 0.8763 GB, free: 9.203 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01137/2.662, allocations: 2.993 MB / 0.8793 GB, free: 8.004 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.302e-05/2.662, allocations: 32.42 kB / 0.8793 GB, free: 8.004 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.182e-05/2.662, allocations: 2.781 kB / 0.8793 GB, free: 8.004 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.496e-05/2.662, allocations: 10.41 kB / 0.8793 GB, free: 8.004 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06515/2.727, allocations: 24.83 MB / 0.9036 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001355/2.727, allocations: 60 kB / 0.9036 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004064/2.731, allocations: 0.5943 MB / 0.9042 GB, free: 10.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/2.731, allocations: 92.75 kB / 0.9043 GB, free: 10.65 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004251/2.732, allocations: 139.2 kB / 0.9044 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001802/2.732, allocations: 125 kB / 0.9045 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001131/2.732, allocations: 95.58 kB / 0.9046 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3717/3.104, allocations: 16.9 MB / 0.9211 GB, free: 92.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00263/3.107, allocations: 0.7212 MB / 0.9218 GB, free: 92.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002348/3.109, allocations: 146.2 kB / 0.922 GB, free: 92.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006179/3.115, allocations: 210.6 kB / 0.9222 GB, free: 92.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001124/3.116, allocations: 410.9 kB / 0.9226 GB, free: 92.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004122/3.117, allocations: 169.7 kB / 0.9227 GB, free: 92.75 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01385/3.131, allocations: 4.274 MB / 0.9269 GB, free: 92.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.61e-07/3.131, allocations: 3.938 kB / 0.9269 GB, free: 92.54 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01347/3.144, allocations: 1.546 MB / 0.9284 GB, free: 92.54 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 280 * 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 (318): * Single equations (assignments): 315 * 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.01603/3.16, allocations: 28.95 MB / 0.9567 GB, free: 65.78 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01736/3.178, allocations: 6.245 MB / 0.9628 GB, free: 65.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-05/3.178, allocations: 8.75 kB / 0.9628 GB, free: 65.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004217/3.182, allocations: 1.607 MB / 0.9644 GB, free: 65.41 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008603/3.191, allocations: 0.9041 MB / 0.9653 GB, free: 65.38 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5533/3.744, allocations: 205.6 MB / 1.166 GB, free: 95.97 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0183/3.762, allocations: 5.96 MB / 1.172 GB, free: 95.07 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01754/3.78, allocations: 2.897 MB / 1.175 GB, free: 95.01 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01096/3.791, allocations: 3.853 MB / 1.178 GB, free: 95 MB / 0.5261 GB Notification: Performance of SimCode: time 3.176e-06/3.791, allocations: 0 / 1.178 GB, free: 95 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8808/4.672, allocations: 121.8 MB / 1.297 GB, free: 156.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003058/4.672, allocations: 167.9 kB / 1.298 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.69/12.36, allocations: 0 / 1.298 GB, free: 156.5 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat does not exist to compare? outputFormat=mat