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.001292/0.001292, allocations: 118.1 kB / 18.5 MB, free: 4.543 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.001442/0.001442, allocations: 214.4 kB / 21.46 MB, free: 1.586 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.488/1.488, allocations: 230.2 MB / 254.5 MB, free: 15.21 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.2281/0.2281, allocations: 46.88 MB / 357.4 MB, free: 10.5 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.002328/0.002328, allocations: 79.86 kB / 0.4912 GB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1453, allocations: 65.98 MB / 0.5556 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01409/0.1594, allocations: 10.17 MB / 0.5656 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007324/0.1667, allocations: 3.08 MB / 0.5686 GB, free: 9.113 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.1689, allocations: 51.94 kB / 0.5686 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0057/0.1746, allocations: 2.644 MB / 0.5712 GB, free: 6.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003617/0.1782, allocations: 1.199 MB / 0.5724 GB, free: 5.207 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.1793, allocations: 359.3 kB / 0.5727 GB, free: 4.855 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004076/0.1833, allocations: 2.543 MB / 0.5752 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00353/0.1869, allocations: 2.48 MB / 0.5776 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002059/0.1889, allocations: 1.055 MB / 0.5787 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00258/0.1915, allocations: 1.48 MB / 0.5801 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008813/0.1924, allocations: 252 kB / 0.5804 GB, free: 13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.1944, allocations: 0.7957 MB / 0.5811 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001893/0.1963, allocations: 1.352 MB / 0.5824 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00232/0.1986, allocations: 1.553 MB / 0.584 GB, free: 9.285 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007027/0.2056, allocations: 5.132 MB / 0.589 GB, free: 4.133 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2056, allocations: 0 / 0.589 GB, free: 4.133 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.2056, allocations: 4 kB / 0.589 GB, free: 4.129 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001832/0.2058, allocations: 0 / 0.589 GB, free: 4.129 MB / 446.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.007193/0.213, allocations: 3.357 MB / 0.5923 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.528e-05/0.2131, allocations: 8.031 kB / 0.5923 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001083/0.2142, allocations: 0.5498 MB / 0.5928 GB, free: 132 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.28/0.4941, allocations: 1.613 MB / 0.5944 GB, free: 34.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004146/0.4983, allocations: 1.5 MB / 0.5958 GB, free: 33.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.4985, allocations: 180 kB / 0.596 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006793/0.4991, allocations: 231.1 kB / 0.5962 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01312/0.5123, allocations: 7.123 MB / 0.6032 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.076e-05/0.5123, allocations: 13.75 kB / 0.6032 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003765/0.5127, allocations: 106 kB / 0.6033 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002506/0.5152, allocations: 1.444 MB / 0.6047 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01249/0.5277, allocations: 5.948 MB / 0.6105 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02765/0.5553, allocations: 22.34 MB / 0.6323 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003955/0.5593, allocations: 2.122 MB / 0.6344 GB, free: 8.816 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008128/0.5601, allocations: 0.7034 MB / 0.6351 GB, free: 8.109 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006233/0.5663, allocations: 3.863 MB / 0.6389 GB, free: 4.168 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.5664, allocations: 39.12 kB / 0.6389 GB, free: 4.121 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 4.148e-06/0.5664, allocations: 4 kB / 0.6389 GB, free: 4.117 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.005492/0.5719, allocations: 2.256 MB / 0.6411 GB, free: 1.855 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.5719, allocations: 55.97 kB / 0.6412 GB, free: 1.789 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002531/0.5744, allocations: 2.062 MB / 0.6432 GB, free: 15.73 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.5745, allocations: 41.7 kB / 0.6432 GB, free: 15.68 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001786/0.5763, allocations: 2.117 MB / 0.6453 GB, free: 13.55 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004511/0.5768, allocations: 353.3 kB / 0.6456 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000933/0.5777, allocations: 0.6652 MB / 0.6463 GB, free: 12.53 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002442/0.578, allocations: 357.9 kB / 0.6466 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.5795, allocations: 0.9352 MB / 0.6475 GB, free: 11.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003199/0.5827, allocations: 2.864 MB / 0.6503 GB, free: 7.406 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005226/0.5879, allocations: 4.154 MB / 0.6544 GB, free: 2.293 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.345e-05/0.5879, allocations: 23.94 kB / 0.6544 GB, free: 2.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006495/0.5944, allocations: 3.714 MB / 0.658 GB, free: 14.55 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.607e-05/0.5945, allocations: 32 kB / 0.6581 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.268e-05/0.5946, allocations: 68 kB / 0.6581 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00011/0.5947, allocations: 92.84 kB / 0.6582 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002062/0.5967, allocations: 0.683 MB / 0.6589 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001233/0.5969, allocations: 139.4 kB / 0.659 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.5989, allocations: 457.5 kB / 0.6595 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000305/0.5992, allocations: 192 kB / 0.6596 GB, free: 12.9 MB / 478.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.002364/0.6016, allocations: 1.499 MB / 0.6611 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/0.6019, allocations: 178.8 kB / 0.6613 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004613/0.6023, allocations: 214.2 kB / 0.6615 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/0.6024, allocations: 13.92 kB / 0.6615 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/0.6024, allocations: 1.031 kB / 0.6615 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6024, allocations: 4 kB / 0.6615 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009149/0.6115, allocations: 4.931 MB / 0.6663 GB, free: 5.891 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/0.6115, allocations: 11.94 kB / 0.6663 GB, free: 5.879 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00049/0.612, allocations: 120.7 kB / 0.6664 GB, free: 5.762 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.825e-05/0.612, allocations: 15.98 kB / 0.6665 GB, free: 5.746 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.055e-05/0.6121, allocations: 24 kB / 0.6665 GB, free: 5.723 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.962e-05/0.6121, allocations: 15.94 kB / 0.6665 GB, free: 5.707 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/0.6121, allocations: 11.98 kB / 0.6665 GB, free: 5.695 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.614, allocations: 1.419 MB / 0.6679 GB, free: 4.148 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005772/0.6146, allocations: 299.4 kB / 0.6682 GB, free: 3.836 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/0.6148, allocations: 23.94 kB / 0.6682 GB, free: 3.812 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005902/0.6154, allocations: 35.92 kB / 0.6682 GB, free: 3.777 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.6155, allocations: 76.44 kB / 0.6683 GB, free: 3.703 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.674e-05/0.6155, allocations: 32 kB / 0.6683 GB, free: 3.672 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002396/0.6179, allocations: 1.444 MB / 0.6697 GB, free: 2.207 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6179, allocations: 0 / 0.6697 GB, free: 2.207 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003/0.6209, allocations: 0.7785 MB / 0.6705 GB, free: 1.426 MB / 478.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.002497/0.6234, allocations: 2.036 MB / 0.6725 GB, free: 15.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003559/0.627, allocations: 2.077 MB / 0.6745 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.627, allocations: 2 kB / 0.6745 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007328/0.6277, allocations: 480.9 kB / 0.675 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.6294, allocations: 275.2 kB / 0.6752 GB, free: 12.47 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03838/0.6677, allocations: 23.22 MB / 0.6979 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003122/0.6709, allocations: 2.506 MB / 0.7004 GB, free: 44 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002487/0.6733, allocations: 1.03 MB / 0.7014 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001716/0.6751, allocations: 1.202 MB / 0.7025 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.6751, allocations: 0 / 0.7025 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07809/0.7532, allocations: 36.99 MB / 0.7387 GB, free: 8.977 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.93, allocations: 8 kB / 0.7387 GB, free: 8.969 MB / 0.545 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: 17.067470075096935] 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]'] 14.025024347007275 14.050149303 13.839647203 Calling exit ...