Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",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.009975/0.009975, allocations: 165.6 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.755/1.755, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.002662/0.002662, 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.4325/0.4325, allocations: 38.06 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006722/0.0006724, allocations: 8 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1282, allocations: 48.72 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4202/0.5484, allocations: 94.18 MB / 0.494 GB, free: 9.793 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.5487, allocations: 78.03 kB / 0.4941 GB, free: 9.754 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.074/1.623, allocations: 200.4 MB / 0.6898 GB, free: 53.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.156e-06/1.623, allocations: 0 / 0.6898 GB, free: 53.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005318/1.624, allocations: 199.9 kB / 0.69 GB, free: 53.44 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: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.04015/1.664, allocations: 9.988 MB / 0.6998 GB, free: 45.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/1.664, allocations: 8.031 kB / 0.6998 GB, free: 45.35 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008774/1.673, allocations: 1.822 MB / 0.7016 GB, free: 43.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04156/1.714, allocations: 4.034 MB / 0.7055 GB, free: 39.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03382/1.748, allocations: 10.61 MB / 0.7159 GB, free: 28.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001013/1.749, allocations: 0.7903 MB / 0.7166 GB, free: 28.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006249/1.756, allocations: 1.036 MB / 0.7176 GB, free: 27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09764/1.853, allocations: 24.4 MB / 0.7415 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006283/1.854, allocations: 95.06 kB / 0.7416 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005052/1.859, allocations: 499.7 kB / 0.742 GB, free: 404 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006517/1.866, allocations: 2.271 MB / 0.7443 GB, free: 14.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4244/2.29, allocations: 19.52 MB / 0.7633 GB, free: 59.47 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1805/2.47, allocations: 94.14 MB / 0.8553 GB, free: 25.17 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03701/2.508, allocations: 7.655 MB / 0.8627 GB, free: 22.87 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04065/2.548, allocations: 13.3 MB / 0.8757 GB, free: 16.57 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.805e-05/2.548, allocations: 72.84 kB / 0.8758 GB, free: 16.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=336): time 7.514e-06/2.548, allocations: 0 / 0.8758 GB, free: 16.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=360): time 0.09282/2.641, allocations: 20.85 MB / 0.8961 GB, free: 7.523 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.071e-05/2.641, allocations: 162 kB / 0.8963 GB, free: 7.363 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01856/2.66, allocations: 6.591 MB / 0.9027 GB, free: 5.102 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009651/2.661, allocations: 82.14 kB / 0.9028 GB, free: 5.027 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007351/2.668, allocations: 6.805 MB / 0.9095 GB, free: 15.84 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002576/2.671, allocations: 1.346 MB / 0.9108 GB, free: 14.85 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001573/2.673, allocations: 218.5 kB / 0.911 GB, free: 14.68 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009571/2.674, allocations: 0.7545 MB / 0.9117 GB, free: 14.19 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01104/2.685, allocations: 3.217 MB / 0.9149 GB, free: 13.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01809/2.703, allocations: 9.695 MB / 0.9243 GB, free: 3.406 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3896/3.092, allocations: 5.409 MB / 0.9296 GB, free: 89.11 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003122/3.093, allocations: 63.09 kB / 0.9297 GB, free: 89.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.04036/3.133, allocations: 12.65 MB / 0.942 GB, free: 88.54 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002659/3.133, allocations: 102.7 kB / 0.9421 GB, free: 88.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006259/3.134, allocations: 231.2 kB / 0.9423 GB, free: 88.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004583/3.135, allocations: 338.2 kB / 0.9427 GB, free: 88.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01715/3.152, allocations: 2.617 MB / 0.9452 GB, free: 88.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005653/3.152, allocations: 453.7 kB / 0.9457 GB, free: 88.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01369/3.166, allocations: 0.6844 MB / 0.9463 GB, free: 88.22 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00271/3.169, allocations: 0.64 MB / 0.947 GB, free: 88.22 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1052 * Number of states: 0 () * Number of discrete variables: 69 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1366): * Single equations (assignments): 1363 * 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.01347/3.182, allocations: 4.517 MB / 0.9514 GB, free: 87.87 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001788/3.184, allocations: 0.6651 MB / 0.952 GB, free: 87.87 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01383/3.198, allocations: 4.098 MB / 0.956 GB, free: 87.67 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.322e-05/3.198, allocations: 38.25 kB / 0.9561 GB, free: 87.67 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/3.198, allocations: 1.438 kB / 0.9561 GB, free: 87.67 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.027e-05/3.198, allocations: 22.69 kB / 0.9561 GB, free: 87.67 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1312/3.329, allocations: 50.13 MB / 1.005 GB, free: 76.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002734/3.33, allocations: 72.2 kB / 1.005 GB, free: 76.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00571/3.336, allocations: 0.7432 MB / 1.006 GB, free: 76.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001302/3.336, allocations: 105 kB / 1.006 GB, free: 76.36 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008874/3.337, allocations: 161.7 kB / 1.006 GB, free: 76.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000116/3.337, allocations: 142.6 kB / 1.006 GB, free: 76.29 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.247e-05/3.337, allocations: 115.9 kB / 1.006 GB, free: 76.25 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01783/3.355, allocations: 21.48 MB / 1.027 GB, free: 54.93 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002793/3.357, allocations: 0.7921 MB / 1.028 GB, free: 54.42 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002557/3.36, allocations: 170.8 kB / 1.028 GB, free: 54.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007497/3.368, allocations: 279.9 kB / 1.028 GB, free: 54.32 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00141/3.369, allocations: 486.2 kB / 1.029 GB, free: 54.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006144/3.37, allocations: 203.8 kB / 1.029 GB, free: 54.08 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01609/3.386, allocations: 4.651 MB / 1.034 GB, free: 51.86 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.393e-06/3.386, allocations: 0 / 1.034 GB, free: 51.86 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.02218/3.408, allocations: 1.88 MB / 1.036 GB, free: 49.99 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 330 * 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 (376): * Single equations (assignments): 373 * 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.05573/3.464, allocations: 34.5 MB / 1.069 GB, free: 13.58 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0239/3.488, allocations: 7.569 MB / 1.077 GB, free: 6.996 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.437e-05/3.488, allocations: 12 kB / 1.077 GB, free: 6.984 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005741/3.494, allocations: 2.118 MB / 1.079 GB, free: 5.168 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008732/3.502, allocations: 1.041 MB / 1.08 GB, free: 4.305 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6005/4.103, allocations: 235.3 MB / 1.31 GB, free: 14.23 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02183/4.125, allocations: 7.124 MB / 1.316 GB, free: 13.26 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01997/4.145, allocations: 3.319 MB / 1.32 GB, free: 12.95 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01306/4.158, allocations: 4.764 MB / 1.324 GB, free: 12.94 MB / 0.573 GB Notification: Performance of SimCode: time 2.013e-06/4.158, allocations: 0 / 1.324 GB, free: 12.94 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7142/4.872, allocations: 141.4 MB / 1.462 GB, free: 181 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/4.873, allocations: 187.8 kB / 1.463 GB, free: 180.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.524/13.4, allocations: 0 / 1.463 GB, free: 180.7 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat