Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutForce2",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.01498/0.01498, allocations: 176 kB / 15.12 MB, free: 5.93 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.838/1.838, allocations: 194.5 MB / 210.3 MB, free: 8.785 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.002161/0.00216, allocations: 116.6 kB / 255.6 MB, free: 11.4 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.2503/0.2503, allocations: 40.01 MB / 340.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004691, allocations: 12.75 kB / 406.3 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09859/0.09911, allocations: 54.88 MB / 461.1 MB, free: 3.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5028/0.6019, allocations: 95.92 MB / 0.544 GB, free: 21.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.6023, allocations: 80.34 kB / 0.5441 GB, free: 21.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2185/0.8208, allocations: 55.11 MB / 0.5979 GB, free: 5.797 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.7e-06/0.8209, allocations: 0 / 0.5979 GB, free: 5.797 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002195/0.8212, allocations: 53.94 kB / 0.598 GB, free: 5.793 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: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.01404/0.8352, allocations: 2.711 MB / 0.6006 GB, free: 4.086 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/0.8353, allocations: 11.5 kB / 0.6006 GB, free: 4.086 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003016/0.8384, allocations: 0.5443 MB / 0.6011 GB, free: 3.926 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02052/0.8589, allocations: 1.822 MB / 0.6029 GB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00812/0.8671, allocations: 1.708 MB / 0.6046 GB, free: 2.383 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004/0.8676, allocations: 227 kB / 0.6048 GB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002022/0.8696, allocations: 278.8 kB / 0.6051 GB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02804/0.8977, allocations: 6.63 MB / 0.6115 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/0.8979, allocations: 19.81 kB / 0.6116 GB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009556/0.8989, allocations: 135.2 kB / 0.6117 GB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001589/0.9005, allocations: 0.672 MB / 0.6124 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02431/0.9248, allocations: 5.803 MB / 0.618 GB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06391/0.9888, allocations: 23.04 MB / 0.6405 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008223/0.9971, allocations: 2.245 MB / 0.6427 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01191/1.009, allocations: 3.753 MB / 0.6464 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/1.009, allocations: 47.11 kB / 0.6464 GB, free: 10.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=93): time 4.719e-06/1.009, allocations: 0 / 0.6464 GB, free: 10.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=93): time 0.0112/1.02, allocations: 2.445 MB / 0.6488 GB, free: 8.008 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/1.02, allocations: 55.97 kB / 0.6489 GB, free: 7.941 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004694/1.025, allocations: 1.779 MB / 0.6506 GB, free: 6.164 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001736/1.025, allocations: 33.7 kB / 0.6506 GB, free: 6.125 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00219/1.028, allocations: 1.941 MB / 0.6525 GB, free: 4.176 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007041/1.028, allocations: 369.6 kB / 0.6529 GB, free: 3.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004319/1.029, allocations: 60 kB / 0.6529 GB, free: 3.762 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005421/1.029, allocations: 0.4897 MB / 0.6534 GB, free: 3.262 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002915/1.032, allocations: 0.9196 MB / 0.6543 GB, free: 2.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004849/1.037, allocations: 2.827 MB / 0.6571 GB, free: 14.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004363/1.042, allocations: 1.622 MB / 0.6587 GB, free: 12.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.416e-05/1.042, allocations: 20 kB / 0.6587 GB, free: 12.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01058/1.052, allocations: 3.651 MB / 0.6622 GB, free: 9.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.623e-05/1.052, allocations: 35.98 kB / 0.6623 GB, free: 9.215 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001083/1.053, allocations: 68.88 kB / 0.6623 GB, free: 9.148 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001417/1.053, allocations: 107.9 kB / 0.6624 GB, free: 9.043 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004347/1.057, allocations: 0.7057 MB / 0.6631 GB, free: 8.336 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001662/1.057, allocations: 135.5 kB / 0.6633 GB, free: 8.203 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003337/1.061, allocations: 427.5 kB / 0.6637 GB, free: 7.781 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006323/1.061, allocations: 192 kB / 0.6639 GB, free: 7.594 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 310 * Number of states: 0 () * Number of discrete variables: 21 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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 (385): * Single equations (assignments): 382 * 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.003805/1.065, allocations: 1.423 MB / 0.6652 GB, free: 6.164 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000412/1.066, allocations: 169.8 kB / 0.6654 GB, free: 5.996 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003385/1.069, allocations: 1.185 MB / 0.6666 GB, free: 4.793 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-05/1.069, allocations: 12 kB / 0.6666 GB, free: 4.781 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/1.069, allocations: 7.953 kB / 0.6666 GB, free: 4.773 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/1.069, allocations: 3.984 kB / 0.6666 GB, free: 4.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/1.084, allocations: 4.983 MB / 0.6715 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.899e-05/1.084, allocations: 8 kB / 0.6715 GB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/1.085, allocations: 135.7 kB / 0.6716 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.251e-05/1.085, allocations: 12 kB / 0.6716 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-05/1.085, allocations: 24 kB / 0.6716 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.31e-05/1.085, allocations: 19.92 kB / 0.6716 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.635e-05/1.085, allocations: 15.94 kB / 0.6717 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003655/1.089, allocations: 2.195 MB / 0.6738 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006907/1.089, allocations: 274.5 kB / 0.6741 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004195/1.09, allocations: 27.98 kB / 0.6741 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/1.091, allocations: 31.92 kB / 0.6741 GB, free: 12.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/1.091, allocations: 75.72 kB / 0.6742 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/1.091, allocations: 39.98 kB / 0.6742 GB, free: 12.29 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003524/1.095, allocations: 1.296 MB / 0.6755 GB, free: 10.96 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.152e-06/1.095, allocations: 0 / 0.6755 GB, free: 10.96 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00396/1.099, allocations: 0.7504 MB / 0.6762 GB, free: 10.21 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.005087/1.104, allocations: 5.244 MB / 0.6814 GB, free: 4.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005588/1.11, allocations: 2.166 MB / 0.6835 GB, free: 2.527 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/1.11, allocations: 0 / 0.6835 GB, free: 2.527 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00133/1.111, allocations: 0.5338 MB / 0.684 GB, free: 1.996 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/1.113, allocations: 232.9 kB / 0.6842 GB, free: 1.77 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3578/1.471, allocations: 62.96 MB / 0.7457 GB, free: 118.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005674/1.477, allocations: 2.456 MB / 0.7481 GB, free: 117.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004781/1.481, allocations: 1.01 MB / 0.7491 GB, free: 117.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002782/1.484, allocations: 1.115 MB / 0.7502 GB, free: 117.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.813e-06/1.484, allocations: 0 / 0.7502 GB, free: 117.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/1.586, allocations: 38.56 MB / 0.7878 GB, free: 111.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/1.587, allocations: 164.7 kB / 0.788 GB, free: 111.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.649/5.235, allocations: 64 / 0.788 GB, free: 111.4 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat