Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001765/0.001765, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002128/0.002128, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2292/0.2292, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.002279/0.00228, allocations: 87.52 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1255, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01255/0.1381, allocations: 10.11 MB / 490.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007126/0.1452, allocations: 3.076 MB / 493.4 MB, free: 7.879 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00209/0.1474, allocations: 55.88 kB / 493.4 MB, free: 7.824 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005478/0.1529, allocations: 2.609 MB / 496.1 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003245/0.1562, allocations: 1.174 MB / 497.2 MB, free: 4.031 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.1573, allocations: 359.3 kB / 497.6 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003685/0.161, allocations: 2.532 MB / 0.4884 GB, free: 1.141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004006/0.165, allocations: 2.999 MB / 0.4913 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001704/0.1667, allocations: 1.055 MB / 0.4924 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002238/0.169, allocations: 1.371 MB / 0.4937 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007703/0.1698, allocations: 252 kB / 0.4939 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0018/0.1716, allocations: 0.7529 MB / 0.4947 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001747/0.1733, allocations: 1.329 MB / 0.496 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001917/0.1753, allocations: 1.55 MB / 0.4975 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005358/0.1806, allocations: 4.934 MB / 0.5023 GB, free: 2.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1807, allocations: 8 kB / 0.5023 GB, free: 2.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1807, allocations: 0 / 0.5023 GB, free: 2.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.573e-05/0.1808, allocations: 0 / 0.5023 GB, free: 2.824 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.2335/0.4143, allocations: 3.26 MB / 0.5055 GB, free: 39.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.051e-05/0.4144, allocations: 10.12 kB / 0.5055 GB, free: 39.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001234/0.4156, allocations: 0.5471 MB / 0.506 GB, free: 39.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006313/0.422, allocations: 1.606 MB / 0.5076 GB, free: 39.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003298/0.4253, allocations: 1.481 MB / 0.509 GB, free: 38.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.4255, allocations: 184.4 kB / 0.5092 GB, free: 38.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004745/0.426, allocations: 226.3 kB / 0.5094 GB, free: 38.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/0.4384, allocations: 7.116 MB / 0.5164 GB, free: 35.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.783e-05/0.4385, allocations: 16.22 kB / 0.5164 GB, free: 35.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002649/0.4387, allocations: 113.4 kB / 0.5165 GB, free: 35.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002292/0.441, allocations: 1.443 MB / 0.5179 GB, free: 35.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01103/0.4521, allocations: 5.949 MB / 0.5237 GB, free: 33.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02425/0.4764, allocations: 22.45 MB / 0.5457 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004094/0.4805, allocations: 2.185 MB / 0.5478 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008735/0.4814, allocations: 0.7728 MB / 0.5485 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006112/0.4876, allocations: 3.842 MB / 0.5523 GB, free: 4.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.4876, allocations: 51.06 kB / 0.5523 GB, free: 4.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 3.577e-06/0.4877, allocations: 0 / 0.5523 GB, free: 4.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=87): time 0.005478/0.4931, allocations: 2.248 MB / 0.5545 GB, free: 1.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.4932, allocations: 59.97 kB / 0.5546 GB, free: 1.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002918/0.4961, allocations: 2.059 MB / 0.5566 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.41e-05/0.4962, allocations: 33.7 kB / 0.5566 GB, free: 15.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00171/0.4979, allocations: 2.019 MB / 0.5586 GB, free: 13.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003914/0.4983, allocations: 348.9 kB / 0.5589 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009407/0.4993, allocations: 0.6507 MB / 0.5596 GB, free: 12.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.4995, allocations: 357.9 kB / 0.5599 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.5008, allocations: 0.9352 MB / 0.5608 GB, free: 11.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003316/0.5042, allocations: 2.877 MB / 0.5636 GB, free: 7.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005898/0.5101, allocations: 4.155 MB / 0.5677 GB, free: 2.301 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.523e-05/0.5102, allocations: 20 kB / 0.5677 GB, free: 2.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006556/0.5167, allocations: 3.694 MB / 0.5713 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.838e-05/0.5168, allocations: 36 kB / 0.5714 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.716e-05/0.5169, allocations: 68.88 kB / 0.5714 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001072/0.517, allocations: 92 kB / 0.5715 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/0.5191, allocations: 0.694 MB / 0.5722 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001208/0.5192, allocations: 135.5 kB / 0.5723 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.5212, allocations: 439.2 kB / 0.5727 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002768/0.5215, allocations: 200 kB / 0.5729 GB, free: 12.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (382): * Single equations (assignments): 377 * Array equations: 5 * 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.003083/0.5246, allocations: 1.499 MB / 0.5744 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003609/0.525, allocations: 173.8 kB / 0.5746 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004464/0.5254, allocations: 206.2 kB / 0.5748 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-05/0.5254, allocations: 16 kB / 0.5748 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.5255, allocations: 0 / 0.5748 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.5255, allocations: 3.984 kB / 0.5748 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00865/0.5341, allocations: 4.935 MB / 0.5796 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/0.5342, allocations: 8 kB / 0.5796 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004643/0.5347, allocations: 123.9 kB / 0.5797 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-05/0.5347, allocations: 11.94 kB / 0.5797 GB, free: 5.781 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.543e-05/0.5347, allocations: 24 kB / 0.5798 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.959e-05/0.5348, allocations: 15.92 kB / 0.5798 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.469e-05/0.5348, allocations: 15.94 kB / 0.5798 GB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.5368, allocations: 1.407 MB / 0.5812 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005615/0.5374, allocations: 282.4 kB / 0.5814 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003149/0.5377, allocations: 27.92 kB / 0.5815 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009171/0.5386, allocations: 31.89 kB / 0.5815 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.5388, allocations: 67.75 kB / 0.5816 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.5389, allocations: 32 kB / 0.5816 GB, free: 3.742 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003787/0.5427, allocations: 1.452 MB / 0.583 GB, free: 2.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5428, allocations: 0 / 0.583 GB, free: 2.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005932/0.5487, allocations: 0.7633 MB / 0.5837 GB, free: 1.508 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.004197/0.553, allocations: 2.029 MB / 0.5857 GB, free: 15.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006269/0.5593, allocations: 2.368 MB / 0.588 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/0.5593, allocations: 3.938 kB / 0.588 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.5606, allocations: 0.5047 MB / 0.5885 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/0.5635, allocations: 282.4 kB / 0.5888 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04799/0.6115, allocations: 24.78 MB / 0.613 GB, free: 104 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003285/0.6148, allocations: 2.506 MB / 0.6155 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002735/0.6176, allocations: 1.027 MB / 0.6165 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00185/0.6195, allocations: 1.206 MB / 0.6176 GB, free: 11.33 MB / 462.1 MB Notification: Performance of SimCode: time 1.583e-06/0.6195, allocations: 3.938 kB / 0.6176 GB, free: 11.33 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08047/0.7, allocations: 36.04 MB / 0.6528 GB, free: 7.426 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.876/9.576, allocations: 11.47 kB / 0.6528 GB, free: 7.422 MB / 494.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1)