Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01008/0.01008, allocations: 175.9 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.098/2.098, allocations: 194.5 MB / 210.3 MB, free: 7.801 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.003359/0.003359, allocations: 112.7 kB / 255.6 MB, free: 10.42 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.2758/0.2758, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004792, allocations: 14.59 kB / 406.3 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1048, allocations: 54.87 MB / 461.1 MB, free: 3.219 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4966/0.6014, allocations: 96.04 MB / 0.5441 GB, free: 21.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.6018, allocations: 74.38 kB / 0.5442 GB, free: 21.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2099/0.8117, allocations: 56.88 MB / 0.5997 GB, free: 4.992 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.8117, allocations: 0 / 0.5997 GB, free: 4.992 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001234/0.8119, allocations: 54.22 kB / 0.5998 GB, free: 4.992 MB / 378.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.00933/0.8212, allocations: 2.774 MB / 0.6025 GB, free: 3.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.8213, allocations: 15.19 kB / 0.6025 GB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00214/0.8234, allocations: 0.5577 MB / 0.6031 GB, free: 3.082 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01321/0.8367, allocations: 1.833 MB / 0.6048 GB, free: 2.219 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005702/0.8424, allocations: 1.738 MB / 0.6065 GB, free: 1.141 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/0.8427, allocations: 227.8 kB / 0.6068 GB, free: 1.016 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/0.844, allocations: 293.5 kB / 0.607 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01955/0.8635, allocations: 6.812 MB / 0.6137 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/0.8637, allocations: 19.81 kB / 0.6137 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006304/0.8643, allocations: 133 kB / 0.6138 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001531/0.8659, allocations: 0.6987 MB / 0.6145 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01956/0.8855, allocations: 5.936 MB / 0.6203 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05103/0.9365, allocations: 23.84 MB / 0.6436 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007736/0.9443, allocations: 2.19 MB / 0.6457 GB, free: 11.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01407/0.9585, allocations: 4.019 MB / 0.6497 GB, free: 7.148 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/0.9586, allocations: 35.22 kB / 0.6497 GB, free: 7.105 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 6.281e-06/0.9586, allocations: 4 kB / 0.6497 GB, free: 7.102 MB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.01546/0.9741, allocations: 2.516 MB / 0.6522 GB, free: 4.527 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/0.9742, allocations: 60.06 kB / 0.6522 GB, free: 4.457 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005727/0.9799, allocations: 1.792 MB / 0.654 GB, free: 2.668 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002099/0.9802, allocations: 37.7 kB / 0.654 GB, free: 2.625 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00274/0.983, allocations: 1.997 MB / 0.656 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007971/0.9838, allocations: 378.8 kB / 0.6563 GB, free: 260 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000383/0.9842, allocations: 60 kB / 0.6564 GB, free: 200 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000684/0.9849, allocations: 0.4977 MB / 0.6569 GB, free: 15.69 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003821/0.9887, allocations: 0.9471 MB / 0.6578 GB, free: 14.74 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006333/0.9951, allocations: 2.908 MB / 0.6606 GB, free: 10.85 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006112/1.001, allocations: 1.663 MB / 0.6622 GB, free: 9.184 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-05/1.001, allocations: 20 kB / 0.6623 GB, free: 9.164 MB / 442.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.01475/1.016, allocations: 3.755 MB / 0.6659 GB, free: 5.402 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/1.016, allocations: 36 kB / 0.666 GB, free: 5.367 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001447/1.017, allocations: 71.94 kB / 0.666 GB, free: 5.297 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000226/1.017, allocations: 104 kB / 0.6661 GB, free: 5.195 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005983/1.023, allocations: 0.718 MB / 0.6668 GB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002209/1.023, allocations: 139.4 kB / 0.667 GB, free: 4.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004896/1.028, allocations: 451.3 kB / 0.6674 GB, free: 3.895 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007121/1.029, allocations: 196 kB / 0.6676 GB, free: 3.703 MB / 442.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.004226/1.033, allocations: 1.454 MB / 0.669 GB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004413/1.033, allocations: 177.7 kB / 0.6692 GB, free: 2.062 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003625/1.037, allocations: 1.236 MB / 0.6704 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.164e-05/1.037, allocations: 8 kB / 0.6704 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.037, allocations: 0 / 0.6704 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/1.037, allocations: 3.984 kB / 0.6704 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/1.052, allocations: 5.04 MB / 0.6753 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-05/1.052, allocations: 11.94 kB / 0.6753 GB, free: 11.58 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/1.053, allocations: 139.8 kB / 0.6755 GB, free: 11.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.476e-05/1.053, allocations: 12 kB / 0.6755 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/1.053, allocations: 31.94 kB / 0.6755 GB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.223e-05/1.053, allocations: 19.94 kB / 0.6755 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.771e-05/1.053, allocations: 15.94 kB / 0.6755 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004081/1.057, allocations: 2.318 MB / 0.6778 GB, free: 8.551 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007284/1.058, allocations: 274.4 kB / 0.6781 GB, free: 8.262 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003764/1.059, allocations: 31.98 kB / 0.6781 GB, free: 8.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/1.06, allocations: 35.66 kB / 0.6781 GB, free: 8.199 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/1.06, allocations: 79.7 kB / 0.6782 GB, free: 8.121 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/1.06, allocations: 44 kB / 0.6782 GB, free: 8.078 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003506/1.064, allocations: 1.32 MB / 0.6795 GB, free: 6.734 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.72e-07/1.064, allocations: 0 / 0.6795 GB, free: 6.734 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004182/1.068, allocations: 0.7621 MB / 0.6803 GB, free: 5.969 MB / 458.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.005889/1.074, allocations: 5.552 MB / 0.6857 GB, free: 108 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006058/1.08, allocations: 2.236 MB / 0.6879 GB, free: 13.89 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.656e-05/1.08, allocations: 4 kB / 0.6879 GB, free: 13.88 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001439/1.081, allocations: 0.5578 MB / 0.6884 GB, free: 13.33 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/1.083, allocations: 250.3 kB / 0.6887 GB, free: 13.08 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3695/1.453, allocations: 64.5 MB / 0.7517 GB, free: 111.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006257/1.459, allocations: 2.508 MB / 0.7541 GB, free: 110.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005102/1.464, allocations: 1.031 MB / 0.7551 GB, free: 110.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002958/1.467, allocations: 1.157 MB / 0.7562 GB, free: 110.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.312e-06/1.467, allocations: 0 / 0.7562 GB, free: 110.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1024/1.57, allocations: 39.52 MB / 0.7948 GB, free: 103.9 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002933/1.57, allocations: 173.9 kB / 0.795 GB, free: 103.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.463/5.033, allocations: 4 kB / 0.795 GB, free: 103.6 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat