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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001388/0.001388, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001526/0.001526, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 230.5 MB / 258.2 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2455/0.2455, allocations: 46.93 MB / 361.6 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002359/0.002359, allocations: 76.19 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3564, allocations: 66.1 MB / 0.5615 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01373/0.3701, allocations: 10.18 MB / 0.5715 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007681/0.3778, allocations: 3.103 MB / 0.5745 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001677/0.3794, allocations: 59.81 kB / 0.5745 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005182/0.3846, allocations: 2.652 MB / 0.5771 GB, free: 4.215 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003414/0.388, allocations: 1.207 MB / 0.5783 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008766/0.3889, allocations: 355.3 kB / 0.5786 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004016/0.3929, allocations: 2.54 MB / 0.5811 GB, free: 112 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002995/0.3959, allocations: 2.253 MB / 0.5833 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.3974, allocations: 1.071 MB / 0.5844 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001962/0.3994, allocations: 1.488 MB / 0.5858 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004125/0.3998, allocations: 252 kB / 0.5861 GB, free: 11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.4011, allocations: 0.7841 MB / 0.5868 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001405/0.4025, allocations: 1.367 MB / 0.5882 GB, free: 8.848 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002003/0.4045, allocations: 1.561 MB / 0.5897 GB, free: 7.277 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0062/0.4107, allocations: 5.124 MB / 0.5947 GB, free: 2.133 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4107, allocations: 0 / 0.5947 GB, free: 2.133 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4107, allocations: 0 / 0.5947 GB, free: 2.133 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001327/0.4109, allocations: 0 / 0.5947 GB, free: 2.133 MB / 430.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.006306/0.4172, allocations: 3.282 MB / 0.5979 GB, free: 14.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.4172, allocations: 8.031 kB / 0.5979 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007503/0.418, allocations: 0.542 MB / 0.5984 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004906/0.4229, allocations: 1.629 MB / 0.6 GB, free: 12.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002985/0.4259, allocations: 1.435 MB / 0.6014 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.426, allocations: 184.7 kB / 0.6016 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000415/0.4264, allocations: 235.9 kB / 0.6018 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01219/0.4386, allocations: 7.102 MB / 0.6088 GB, free: 3.289 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-05/0.4387, allocations: 23.75 kB / 0.6088 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004382/0.4391, allocations: 103.9 kB / 0.6089 GB, free: 3.164 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00236/0.4415, allocations: 1.447 MB / 0.6103 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01316/0.4547, allocations: 5.951 MB / 0.6161 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0354/0.4901, allocations: 22.24 MB / 0.6378 GB, free: 4.934 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005048/0.4951, allocations: 1.673 MB / 0.6395 GB, free: 3.242 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.4963, allocations: 0.7034 MB / 0.6402 GB, free: 2.535 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006905/0.5032, allocations: 3.396 MB / 0.6435 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.661e-05/0.5032, allocations: 43.16 kB / 0.6435 GB, free: 15.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=87): time 3.947e-06/0.5032, allocations: 0 / 0.6435 GB, free: 15.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=87): time 0.006294/0.5095, allocations: 2.253 MB / 0.6457 GB, free: 12.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.5096, allocations: 56.06 kB / 0.6458 GB, free: 12.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003049/0.5126, allocations: 2.06 MB / 0.6478 GB, free: 10.67 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.584e-05/0.5127, allocations: 33.7 kB / 0.6478 GB, free: 10.63 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001728/0.5144, allocations: 2.114 MB / 0.6499 GB, free: 8.496 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003907/0.5148, allocations: 361.3 kB / 0.6502 GB, free: 8.141 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009224/0.5157, allocations: 0.6512 MB / 0.6509 GB, free: 7.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.5159, allocations: 361.8 kB / 0.6512 GB, free: 7.121 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.5174, allocations: 0.9352 MB / 0.6521 GB, free: 6.184 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003108/0.5205, allocations: 2.872 MB / 0.6549 GB, free: 2.348 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005098/0.5256, allocations: 4.155 MB / 0.659 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.269e-05/0.5257, allocations: 20 kB / 0.659 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006311/0.532, allocations: 3.715 MB / 0.6626 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.108e-05/0.532, allocations: 36 kB / 0.6627 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.069e-05/0.5321, allocations: 72.12 kB / 0.6627 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001013/0.5322, allocations: 96 kB / 0.6628 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002057/0.5343, allocations: 0.69 MB / 0.6635 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001265/0.5344, allocations: 135.5 kB / 0.6636 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/0.5363, allocations: 444.6 kB / 0.664 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002527/0.5366, allocations: 196 kB / 0.6642 GB, free: 7.84 MB / 0.4981 GB 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.002466/0.5391, allocations: 1.508 MB / 0.6657 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003052/0.5394, allocations: 182.8 kB / 0.6659 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004323/0.5398, allocations: 206.2 kB / 0.6661 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/0.5398, allocations: 12 kB / 0.6661 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.5398, allocations: 0 / 0.6661 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.5398, allocations: 3.984 kB / 0.6661 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008437/0.5483, allocations: 4.92 MB / 0.6709 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.5483, allocations: 8 kB / 0.6709 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004691/0.5488, allocations: 115.8 kB / 0.671 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/0.5488, allocations: 8 kB / 0.671 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.133e-05/0.5488, allocations: 31.92 kB / 0.671 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-05/0.5488, allocations: 11.94 kB / 0.6711 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.228e-05/0.5488, allocations: 11.94 kB / 0.6711 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.5507, allocations: 1.426 MB / 0.6725 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004526/0.5511, allocations: 218.3 kB / 0.6727 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/0.5513, allocations: 23.98 kB / 0.6727 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005143/0.5518, allocations: 39.92 kB / 0.6727 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.5519, allocations: 79.64 kB / 0.6728 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-05/0.552, allocations: 32 kB / 0.6728 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002155/0.5542, allocations: 1.444 MB / 0.6743 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5542, allocations: 4 kB / 0.6743 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002662/0.5568, allocations: 0.7824 MB / 0.675 GB, free: 12.47 MB / 0.5137 GB 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.002384/0.5592, allocations: 2.028 MB / 0.677 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003557/0.5628, allocations: 2.079 MB / 0.679 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/0.5628, allocations: 448 / 0.679 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006782/0.5634, allocations: 485.6 kB / 0.6795 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.5649, allocations: 280.1 kB / 0.6798 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03546/0.6003, allocations: 23.2 MB / 0.7024 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00315/0.6035, allocations: 2.518 MB / 0.7049 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002243/0.6057, allocations: 1.02 MB / 0.7059 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/0.6073, allocations: 1.21 MB / 0.7071 GB, free: 8.852 MB / 0.545 GB Notification: Performance of SimCode: time 1.202e-06/0.6073, allocations: 0 / 0.7071 GB, free: 8.852 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3143/0.9216, allocations: 39.43 MB / 0.7456 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.76, allocations: 3.188 kB / 0.7456 GB, free: 152.5 MB / 0.5606 GB " [Timeout remaining time 646] (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 --stepSize=0.000219912 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.636667952872813] Failed to read output from testmodel.py, exit status != 0: ['time', 'cutForceAndTorque.force[3]', 'cutForceAndTorque.torque[3]', 'cutForceAndTorque.force[2]', 'cutForceAndTorque.torque[2]', 'cutForceAndTorque.force[1]', 'cutForceAndTorque.torque[1]'] 13.85802445281297 13.877917865 13.462862245 Calling exit ...