Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.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.CutTorque,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.009349/0.009349, allocations: 176 kB / 15.12 MB, free: 5.973 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.954/1.954, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.002108/0.002108, allocations: 116.7 kB / 255.6 MB, free: 10.24 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.2637/0.2637, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004807, allocations: 11.73 kB / 406.3 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09813/0.09865, allocations: 54.87 MB / 461.1 MB, free: 3.219 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5323/0.631, allocations: 98.9 MB / 0.5469 GB, free: 21.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.6314, allocations: 79.78 kB / 0.547 GB, free: 21.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6757/1.307, allocations: 166.1 MB / 0.7092 GB, free: 12.06 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.346e-06/1.307, allocations: 0 / 0.7092 GB, free: 12.06 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001487/1.309, allocations: 160 kB / 0.7093 GB, free: 11.91 MB / 490.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.0376/1.346, allocations: 8.536 MB / 0.7177 GB, free: 3.273 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/1.346, allocations: 12.03 kB / 0.7177 GB, free: 3.262 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007228/1.354, allocations: 1.458 MB / 0.7191 GB, free: 1.789 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4107/1.764, allocations: 3.663 MB / 0.7227 GB, free: 73.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03428/1.799, allocations: 9.713 MB / 0.7322 GB, free: 73.19 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000963/1.8, allocations: 0.6307 MB / 0.7328 GB, free: 73.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004639/1.804, allocations: 0.833 MB / 0.7336 GB, free: 73.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06103/1.866, allocations: 19.65 MB / 0.7528 GB, free: 69.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005908/1.866, allocations: 95.61 kB / 0.7529 GB, free: 69.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00446/1.871, allocations: 395.1 kB / 0.7533 GB, free: 69.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00488/1.876, allocations: 1.869 MB / 0.7551 GB, free: 68.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06381/1.939, allocations: 15.52 MB / 0.7702 GB, free: 68.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1451/2.085, allocations: 81.54 MB / 0.8499 GB, free: 32.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02729/2.112, allocations: 5.986 MB / 0.8557 GB, free: 30.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03186/2.144, allocations: 11.32 MB / 0.8668 GB, free: 24.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.118e-05/2.144, allocations: 68 kB / 0.8668 GB, free: 24.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=250): time 6.432e-06/2.144, allocations: 0 / 0.8668 GB, free: 24.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=274): time 0.07259/2.217, allocations: 16.59 MB / 0.883 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/2.217, allocations: 162.3 kB / 0.8832 GB, free: 12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01527/2.232, allocations: 6.028 MB / 0.8891 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005758/2.233, allocations: 61.7 kB / 0.8891 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005096/2.238, allocations: 5.802 MB / 0.8948 GB, free: 1.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001849/2.24, allocations: 1.06 MB / 0.8958 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001251/2.241, allocations: 183.9 kB / 0.896 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007846/2.242, allocations: 0.6908 MB / 0.8967 GB, free: 32 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02459/2.266, allocations: 3.56 MB / 0.9002 GB, free: 0 / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01703/2.283, allocations: 8.454 MB / 0.9084 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01448/2.298, allocations: 4.607 MB / 0.9129 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000248/2.298, allocations: 56 kB / 0.913 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.4135/2.712, allocations: 10.82 MB / 0.9235 GB, free: 91.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003263/2.712, allocations: 93.25 kB / 0.9236 GB, free: 91.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007829/2.713, allocations: 207 kB / 0.9238 GB, free: 91.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007954/2.714, allocations: 300.5 kB / 0.9241 GB, free: 91.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02164/2.736, allocations: 2.248 MB / 0.9263 GB, free: 91.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008778/2.737, allocations: 406.1 kB / 0.9267 GB, free: 91.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0184/2.755, allocations: 0.6184 MB / 0.9273 GB, free: 91.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003054/2.758, allocations: 0.552 MB / 0.9278 GB, free: 91.45 MB / 0.5105 GB 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.01418/2.772, allocations: 3.744 MB / 0.9315 GB, free: 91.13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001995/2.774, allocations: 0.588 MB / 0.9321 GB, free: 91.13 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/2.787, allocations: 2.997 MB / 0.935 GB, free: 90.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.613e-05/2.787, allocations: 34.34 kB / 0.935 GB, free: 90.98 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/2.787, allocations: 3.469 kB / 0.935 GB, free: 90.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.722e-05/2.787, allocations: 11.62 kB / 0.935 GB, free: 90.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05778/2.845, allocations: 24.82 MB / 0.9593 GB, free: 87.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001499/2.845, allocations: 60.47 kB / 0.9593 GB, free: 87.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004131/2.849, allocations: 0.5968 MB / 0.9599 GB, free: 87.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/2.85, allocations: 90.77 kB / 0.96 GB, free: 87.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006673/2.85, allocations: 131.5 kB / 0.9601 GB, free: 87.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.48e-05/2.85, allocations: 120.5 kB / 0.9603 GB, free: 87.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-05/2.85, allocations: 94.12 kB / 0.9603 GB, free: 87.84 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/2.864, allocations: 16.92 MB / 0.9769 GB, free: 72.31 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002466/2.866, allocations: 0.722 MB / 0.9776 GB, free: 71.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002152/2.868, allocations: 141.9 kB / 0.9777 GB, free: 71.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008246/2.877, allocations: 212 kB / 0.9779 GB, free: 71.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001455/2.878, allocations: 408.7 kB / 0.9783 GB, free: 71.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001249/2.88, allocations: 171.6 kB / 0.9785 GB, free: 71.78 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01479/2.894, allocations: 4.276 MB / 0.9826 GB, free: 71.56 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.32e-07/2.894, allocations: 2.5 kB / 0.9826 GB, free: 71.56 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0123/2.907, allocations: 1.545 MB / 0.9842 GB, free: 71.56 MB / 0.5105 GB 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.01534/2.922, allocations: 28.95 MB / 1.012 GB, free: 44.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01638/2.939, allocations: 6.246 MB / 1.019 GB, free: 43.63 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.509e-05/2.939, allocations: 9.969 kB / 1.019 GB, free: 43.63 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003954/2.943, allocations: 1.61 MB / 1.02 GB, free: 43.42 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007625/2.95, allocations: 0.9095 MB / 1.021 GB, free: 43.37 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5703/3.521, allocations: 205.6 MB / 1.222 GB, free: 41.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01648/3.537, allocations: 5.955 MB / 1.228 GB, free: 40.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01567/3.553, allocations: 2.888 MB / 1.23 GB, free: 40.14 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009735/3.563, allocations: 3.854 MB / 1.234 GB, free: 40.13 MB / 0.5573 GB Notification: Performance of SimCode: time 1.333e-06/3.563, allocations: 0 / 1.234 GB, free: 40.13 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6714/4.234, allocations: 121.8 MB / 1.353 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/4.235, allocations: 168.6 kB / 1.353 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.554/11.79, allocations: 0 / 1.353 GB, free: 125.5 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat does not exist to compare? outputFormat=mat