Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001386/0.001387, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2286/0.2286, allocations: 46.12 MB / 344.2 MB, free: 11.52 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002309/0.00231, allocations: 84.92 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1243, allocations: 62.46 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.01911/0.1434, allocations: 16.27 MB / 496.5 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0136/0.1571, allocations: 5.385 MB / 0.4901 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004324/0.1615, allocations: 131.6 kB / 0.4902 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01467/0.1762, allocations: 7.454 MB / 0.4975 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00937/0.1856, allocations: 2.91 MB / 0.5004 GB, free: 4.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004908/0.1906, allocations: 1.712 MB / 0.502 GB, free: 3.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.266/0.4566, allocations: 8.399 MB / 0.5102 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01447/0.4711, allocations: 8.922 MB / 0.5189 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00848/0.4796, allocations: 3.394 MB / 0.5223 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008051/0.4877, allocations: 4.349 MB / 0.5265 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003632/0.4914, allocations: 0.705 MB / 0.5272 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006258/0.4977, allocations: 1.532 MB / 0.5287 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007504/0.5053, allocations: 4.017 MB / 0.5326 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008803/0.5141, allocations: 4.479 MB / 0.537 GB, free: 4.781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01628/0.5305, allocations: 13.21 MB / 0.5499 GB, free: 10.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.5305, allocations: 0 / 0.5499 GB, free: 10.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5305, allocations: 3.469 kB / 0.5499 GB, free: 10.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005852/0.5311, allocations: 4 kB / 0.5499 GB, free: 10.52 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2873 * Number of variables: 2873 Notification: Performance of Generate backend data structure: time 0.02451/0.5557, allocations: 9.604 MB / 0.5593 GB, free: 1.004 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.5557, allocations: 12.02 kB / 0.5593 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003855/0.5596, allocations: 1.366 MB / 0.5606 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01189/0.5715, allocations: 2.637 MB / 0.5632 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01417/0.5857, allocations: 5.703 MB / 0.5688 GB, free: 7.602 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006136/0.5864, allocations: 0.4995 MB / 0.5692 GB, free: 7.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003156/0.5895, allocations: 0.6465 MB / 0.5699 GB, free: 6.574 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04474/0.6343, allocations: 19.6 MB / 0.589 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003816/0.6347, allocations: 78.02 kB / 0.5891 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002254/0.637, allocations: 310.7 kB / 0.5894 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005654/0.6427, allocations: 3.303 MB / 0.5926 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0382/0.6809, allocations: 14.99 MB / 0.6072 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1155/0.7965, allocations: 71.54 MB / 0.6771 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02093/0.8175, allocations: 6.399 MB / 0.6834 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004112/0.8216, allocations: 2.354 MB / 0.6857 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02269/0.8443, allocations: 10.81 MB / 0.6962 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.427e-05/0.8444, allocations: 55.53 kB / 0.6963 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=212): time 5.61e-06/0.8445, allocations: 0 / 0.6963 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=236): time 0.05343/0.8979, allocations: 16.47 MB / 0.7123 GB, free: 2.875 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.8981, allocations: 158.4 kB / 0.7125 GB, free: 2.688 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4119/1.31, allocations: 6.645 MB / 0.719 GB, free: 186.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000512/1.311, allocations: 63.23 kB / 0.719 GB, free: 186.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005801/1.316, allocations: 5.656 MB / 0.7246 GB, free: 182.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001598/1.318, allocations: 0.9323 MB / 0.7255 GB, free: 182 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004116/1.322, allocations: 1.799 MB / 0.7272 GB, free: 181.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.072e-05/1.322, allocations: 302.7 kB / 0.7275 GB, free: 180.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005273/1.327, allocations: 2.505 MB / 0.73 GB, free: 180.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009076/1.337, allocations: 8.197 MB / 0.738 GB, free: 171.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01158/1.348, allocations: 11.67 MB / 0.7494 GB, free: 161.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003411/1.349, allocations: 59.03 kB / 0.7494 GB, free: 161.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=1177) (initialization): time 0.02019/1.369, allocations: 10.34 MB / 0.7595 GB, free: 157.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001665/1.369, allocations: 92.53 kB / 0.7596 GB, free: 157.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000266/1.369, allocations: 202.5 kB / 0.7598 GB, free: 157.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002144/1.37, allocations: 266.5 kB / 0.7601 GB, free: 157.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006152/1.376, allocations: 2.058 MB / 0.7621 GB, free: 156.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002566/1.376, allocations: 399 kB / 0.7625 GB, free: 156.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006839/1.383, allocations: 428.5 kB / 0.7629 GB, free: 156.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001527/1.384, allocations: 0.551 MB / 0.7634 GB, free: 156.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 88 (cutForce2b.torqueArrow.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2a.torqueArrow.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1b.torqueArrow.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1a.torqueArrow.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (1113): * Single equations (assignments): 1102 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007989/1.392, allocations: 3.728 MB / 0.767 GB, free: 154.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001765/1.394, allocations: 0.5587 MB / 0.7676 GB, free: 154.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/1.397, allocations: 0.6859 MB / 0.7683 GB, free: 154.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-05/1.397, allocations: 28.5 kB / 0.7683 GB, free: 154.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.147e-05/1.397, allocations: 4 kB / 0.7683 GB, free: 154.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.041e-05/1.397, allocations: 11.48 kB / 0.7683 GB, free: 154.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03038/1.427, allocations: 21.94 MB / 0.7897 GB, free: 134.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.366e-05/1.427, allocations: 52.94 kB / 0.7898 GB, free: 134.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001645/1.429, allocations: 455.1 kB / 0.7902 GB, free: 133.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.777e-05/1.429, allocations: 60 kB / 0.7903 GB, free: 133.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/1.429, allocations: 104 kB / 0.7904 GB, free: 133.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.856e-05/1.429, allocations: 91.59 kB / 0.7905 GB, free: 133.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-05/1.429, allocations: 75 kB / 0.7905 GB, free: 133.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004156/1.433, allocations: 4.626 MB / 0.795 GB, free: 128.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/1.435, allocations: 0.6496 MB / 0.7957 GB, free: 127.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007514/1.435, allocations: 104 kB / 0.7958 GB, free: 127.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002149/1.438, allocations: 145.2 kB / 0.7959 GB, free: 127.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003007/1.438, allocations: 314.5 kB / 0.7962 GB, free: 126.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/1.438, allocations: 124 kB / 0.7963 GB, free: 126.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006279/1.444, allocations: 4.143 MB / 0.8004 GB, free: 122.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.81e-07/1.444, allocations: 0 / 0.8004 GB, free: 122.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009272/1.454, allocations: 1.461 MB / 0.8018 GB, free: 121.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 209 * 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 (236): * Single equations (assignments): 233 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00537/1.459, allocations: 5.348 MB / 0.807 GB, free: 115.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009502/1.469, allocations: 6.003 MB / 0.8129 GB, free: 109.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.727e-05/1.469, allocations: 8 kB / 0.8129 GB, free: 109.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002317/1.471, allocations: 1.357 MB / 0.8142 GB, free: 107.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007351/1.478, allocations: 0.9623 MB / 0.8152 GB, free: 106.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1003/1.579, allocations: 86.67 MB / 0.8998 GB, free: 6.418 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008876/1.588, allocations: 5.716 MB / 0.9054 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007952/1.596, allocations: 2.701 MB / 0.908 GB, free: 13.95 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007008/1.603, allocations: 3.783 MB / 0.9117 GB, free: 10.16 MB / 0.5607 GB Notification: Performance of SimCode: time 1.513e-06/1.603, allocations: 0 / 0.9117 GB, free: 10.16 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4028/2.006, allocations: 105.3 MB / 1.015 GB, free: 122.8 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/13.66, allocations: 10.88 kB / 1.015 GB, free: 122.8 MB / 0.5607 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1)