Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",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.009637/0.009637, allocations: 165.1 kB / 15.11 MB, free: 5.93 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.607/1.607, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001993/0.001992, 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.4371/0.4371, allocations: 38.05 MB / 303.7 MB, free: 42.51 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004883/0.0004885, allocations: 8 kB / 363 MB, free: 5.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1063, allocations: 48.71 MB / 411.7 MB, free: 4.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4247/0.531, allocations: 92.5 MB / 0.4924 GB, free: 11.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.5313, allocations: 76.91 kB / 0.4924 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2816/0.813, allocations: 66.37 MB / 0.5573 GB, free: 13.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.8131, allocations: 0 / 0.5573 GB, free: 13.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001865/0.8133, allocations: 68 kB / 0.5573 GB, free: 13.77 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1328 * Number of variables: 1328 Notification: Performance of Generate backend data structure: time 0.01283/0.8261, allocations: 3.236 MB / 0.5605 GB, free: 10.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.8262, allocations: 8.031 kB / 0.5605 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003321/0.8295, allocations: 0.6797 MB / 0.5612 GB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01588/0.8454, allocations: 1.94 MB / 0.563 GB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007768/0.8533, allocations: 2.04 MB / 0.565 GB, free: 5.738 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004532/0.8538, allocations: 279.4 kB / 0.5653 GB, free: 5.465 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002215/0.856, allocations: 363.9 kB / 0.5657 GB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02924/0.8853, allocations: 8.138 MB / 0.5736 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002138/0.8856, allocations: 15.88 kB / 0.5736 GB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002145/0.8877, allocations: 167.9 kB / 0.5738 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002226/0.89, allocations: 0.8143 MB / 0.5746 GB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02416/0.9142, allocations: 7.021 MB / 0.5814 GB, free: 4.547 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3514/1.266, allocations: 27.51 MB / 0.6083 GB, free: 76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01192/1.278, allocations: 2.554 MB / 0.6108 GB, free: 75.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01628/1.294, allocations: 4.485 MB / 0.6152 GB, free: 74.26 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.206e-05/1.294, allocations: 41.41 kB / 0.6152 GB, free: 74.22 MB / 426.7 MB Notification: Performance of pre-optimization done (n=120): time 6.442e-06/1.294, allocations: 0 / 0.6152 GB, free: 74.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=120): time 0.01704/1.311, allocations: 2.981 MB / 0.6181 GB, free: 73.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/1.311, allocations: 65.66 kB / 0.6182 GB, free: 73.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005651/1.317, allocations: 1.972 MB / 0.6201 GB, free: 73.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002636/1.317, allocations: 42.14 kB / 0.6201 GB, free: 73.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002222/1.32, allocations: 2.309 MB / 0.6224 GB, free: 72.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006721/1.32, allocations: 462.8 kB / 0.6228 GB, free: 72.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003554/1.321, allocations: 71.47 kB / 0.6229 GB, free: 72.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002409/1.321, allocations: 463.3 kB / 0.6233 GB, free: 71.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002722/1.324, allocations: 1.075 MB / 0.6244 GB, free: 71.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004165/1.328, allocations: 3.185 MB / 0.6275 GB, free: 69.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004577/1.333, allocations: 1.856 MB / 0.6293 GB, free: 69.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.013e-05/1.333, allocations: 20.72 kB / 0.6293 GB, free: 69.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=468) (initialization): time 0.01165/1.344, allocations: 4.199 MB / 0.6334 GB, free: 68.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.207e-05/1.344, allocations: 38.69 kB / 0.6335 GB, free: 68.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-05/1.345, allocations: 77.22 kB / 0.6335 GB, free: 68.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001367/1.345, allocations: 110.7 kB / 0.6337 GB, free: 68.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005091/1.35, allocations: 0.8053 MB / 0.6344 GB, free: 68.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001841/1.35, allocations: 149.2 kB / 0.6346 GB, free: 68.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003777/1.354, allocations: 490.7 kB / 0.6351 GB, free: 68.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008549/1.355, allocations: 216.2 kB / 0.6353 GB, free: 68.26 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (444): * Single equations (assignments): 441 * 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.004415/1.359, allocations: 1.704 MB / 0.6369 GB, free: 67.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004798/1.36, allocations: 195 kB / 0.6371 GB, free: 67.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004101/1.364, allocations: 1.509 MB / 0.6386 GB, free: 67.19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.705e-05/1.364, allocations: 15.25 kB / 0.6386 GB, free: 67.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/1.364, allocations: 3.281 kB / 0.6386 GB, free: 67.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/1.364, allocations: 9.219 kB / 0.6386 GB, free: 67.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02065/1.385, allocations: 7.375 MB / 0.6458 GB, free: 64.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/1.385, allocations: 21.34 kB / 0.6458 GB, free: 64.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/1.386, allocations: 194.8 kB / 0.646 GB, free: 64.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.649e-05/1.386, allocations: 21.34 kB / 0.646 GB, free: 64.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/1.386, allocations: 37.36 kB / 0.6461 GB, free: 64.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.521e-05/1.386, allocations: 34.89 kB / 0.6461 GB, free: 64.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-05/1.386, allocations: 21.44 kB / 0.6461 GB, free: 64.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004073/1.39, allocations: 3.166 MB / 0.6492 GB, free: 61.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007636/1.391, allocations: 336.5 kB / 0.6495 GB, free: 61.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003901/1.392, allocations: 34.75 kB / 0.6496 GB, free: 61.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/1.393, allocations: 55.38 kB / 0.6496 GB, free: 61.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/1.393, allocations: 104.5 kB / 0.6497 GB, free: 61.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/1.393, allocations: 56.56 kB / 0.6498 GB, free: 61.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003301/1.397, allocations: 1.545 MB / 0.6513 GB, free: 60.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.092e-06/1.397, allocations: 0 / 0.6513 GB, free: 60.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004666/1.401, allocations: 0.9247 MB / 0.6522 GB, free: 60.21 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.005166/1.407, allocations: 7.678 MB / 0.6597 GB, free: 53.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005954/1.413, allocations: 2.547 MB / 0.6622 GB, free: 52.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.079e-05/1.413, allocations: 0 / 0.6622 GB, free: 52.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001642/1.414, allocations: 0.6942 MB / 0.6629 GB, free: 52.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/1.416, allocations: 288.5 kB / 0.6631 GB, free: 51.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06396/1.48, allocations: 71.69 MB / 0.7331 GB, free: 19.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005251/1.486, allocations: 2.891 MB / 0.736 GB, free: 18 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005088/1.491, allocations: 1.161 MB / 0.7371 GB, free: 17.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003154/1.494, allocations: 1.431 MB / 0.7385 GB, free: 16.72 MB / 458.7 MB Notification: Performance of SimCode: time 1.884e-06/1.494, allocations: 0 / 0.7385 GB, free: 16.72 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4195/1.914, allocations: 46.89 MB / 0.7843 GB, free: 116.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002448/1.914, allocations: 182.8 kB / 0.7845 GB, free: 116 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.982/5.896, allocations: 1.203 kB / 0.7845 GB, free: 116 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat