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.001557/0.001557, 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.001675/0.001675, allocations: 211.9 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.451/1.451, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2309/0.2309, allocations: 46.92 MB / 361.6 MB, free: 4.285 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.002394/0.002394, allocations: 79.88 kB / 0.497 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3334, allocations: 66.09 MB / 0.5615 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01307/0.3464, allocations: 10.16 MB / 0.5714 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007158/0.3536, allocations: 3.115 MB / 0.5745 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.3554, allocations: 63.81 kB / 0.5745 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005397/0.3608, allocations: 2.648 MB / 0.5771 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003449/0.3642, allocations: 1.214 MB / 0.5783 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009693/0.3652, allocations: 347.3 kB / 0.5786 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004067/0.3693, allocations: 2.548 MB / 0.5811 GB, free: 128 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003333/0.3726, allocations: 2.257 MB / 0.5833 GB, free: 13.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/0.3745, allocations: 1.067 MB / 0.5844 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.3769, allocations: 1.484 MB / 0.5858 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006147/0.3775, allocations: 252 kB / 0.5861 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.3791, allocations: 0.7841 MB / 0.5868 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001539/0.3806, allocations: 1.363 MB / 0.5882 GB, free: 8.871 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001854/0.3825, allocations: 1.565 MB / 0.5897 GB, free: 7.297 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00643/0.3889, allocations: 5.121 MB / 0.5947 GB, free: 2.156 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3889, allocations: 0 / 0.5947 GB, free: 2.156 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3889, allocations: 0 / 0.5947 GB, free: 2.156 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001811/0.3891, allocations: 0 / 0.5947 GB, free: 2.156 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.00677/0.3958, allocations: 3.282 MB / 0.5979 GB, free: 14.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.3959, allocations: 8.031 kB / 0.5979 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008644/0.3968, allocations: 0.5458 MB / 0.5984 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00501/0.4018, allocations: 1.625 MB / 0.6 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003103/0.4049, allocations: 1.439 MB / 0.6014 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.405, allocations: 180.7 kB / 0.6016 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005412/0.4056, allocations: 235.9 kB / 0.6018 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01281/0.4184, allocations: 7.11 MB / 0.6088 GB, free: 3.305 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.922e-05/0.4184, allocations: 11.88 kB / 0.6088 GB, free: 3.293 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003009/0.4187, allocations: 107.9 kB / 0.6089 GB, free: 3.188 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002216/0.421, allocations: 1.451 MB / 0.6103 GB, free: 1.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01262/0.4336, allocations: 5.947 MB / 0.6161 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03281/0.4664, allocations: 22.24 MB / 0.6378 GB, free: 4.957 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004604/0.471, allocations: 1.68 MB / 0.6395 GB, free: 3.262 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.4721, allocations: 0.7034 MB / 0.6402 GB, free: 2.555 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007062/0.4792, allocations: 3.393 MB / 0.6435 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/0.4792, allocations: 47.22 kB / 0.6435 GB, free: 15.08 MB / 494.1 MB Notification: Performance of pre-optimization done (n=87): time 3.056e-06/0.4792, allocations: 0 / 0.6435 GB, free: 15.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=87): time 0.006642/0.4859, allocations: 2.261 MB / 0.6457 GB, free: 12.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.4859, allocations: 56.06 kB / 0.6458 GB, free: 12.74 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003294/0.4892, allocations: 2.06 MB / 0.6478 GB, free: 10.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.4893, allocations: 33.7 kB / 0.6478 GB, free: 10.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001708/0.491, allocations: 2.11 MB / 0.6499 GB, free: 8.512 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004613/0.4915, allocations: 361.3 kB / 0.6502 GB, free: 8.156 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009242/0.4924, allocations: 0.6551 MB / 0.6509 GB, free: 7.492 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.4926, allocations: 365.9 kB / 0.6512 GB, free: 7.129 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.4941, allocations: 0.9391 MB / 0.6521 GB, free: 6.188 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003099/0.4972, allocations: 2.868 MB / 0.6549 GB, free: 2.355 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005222/0.5024, allocations: 4.151 MB / 0.659 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.548e-05/0.5025, allocations: 20 kB / 0.659 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.008442/0.5109, allocations: 3.707 MB / 0.6626 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.211e-05/0.511, allocations: 32 kB / 0.6627 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.951e-05/0.5111, allocations: 68 kB / 0.6627 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001042/0.5112, allocations: 96.06 kB / 0.6628 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002258/0.5135, allocations: 0.6862 MB / 0.6635 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002025/0.5137, allocations: 135.5 kB / 0.6636 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/0.5156, allocations: 448.6 kB / 0.664 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002863/0.5159, allocations: 200 kB / 0.6642 GB, free: 7.863 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.002299/0.5182, allocations: 1.5 MB / 0.6657 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/0.5185, allocations: 182.8 kB / 0.6659 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003801/0.5189, allocations: 218.2 kB / 0.6661 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.5189, allocations: 8 kB / 0.6661 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.5189, allocations: 0 / 0.6661 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.5189, allocations: 0 / 0.6661 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008308/0.5272, allocations: 4.916 MB / 0.6709 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/0.5272, allocations: 12.03 kB / 0.6709 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004851/0.5277, allocations: 119.8 kB / 0.671 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-05/0.5277, allocations: 11.94 kB / 0.671 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-05/0.5278, allocations: 24 kB / 0.671 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.5e-05/0.5278, allocations: 15.92 kB / 0.6711 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/0.5278, allocations: 19.88 kB / 0.6711 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.5296, allocations: 1.426 MB / 0.6725 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004524/0.5301, allocations: 218.3 kB / 0.6727 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.5303, allocations: 20 kB / 0.6727 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005224/0.5308, allocations: 35.92 kB / 0.6727 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.5309, allocations: 75.67 kB / 0.6728 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.158e-05/0.531, allocations: 35.98 kB / 0.6728 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002194/0.5332, allocations: 1.452 MB / 0.6743 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.5332, allocations: 0 / 0.6743 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00271/0.5359, allocations: 0.7824 MB / 0.675 GB, free: 12.49 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.00235/0.5383, allocations: 2.024 MB / 0.677 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003387/0.5416, allocations: 2.08 MB / 0.679 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.5416, allocations: 0 / 0.679 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006545/0.5423, allocations: 489.9 kB / 0.6795 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.5437, allocations: 276.8 kB / 0.6798 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03489/0.5786, allocations: 23.2 MB / 0.7024 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003355/0.5819, allocations: 2.506 MB / 0.7049 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00249/0.5844, allocations: 1.031 MB / 0.7059 GB, free: 10.08 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001885/0.5863, allocations: 1.206 MB / 0.7071 GB, free: 8.875 MB / 0.545 GB Notification: Performance of SimCode: time 1.292e-06/0.5863, allocations: 7.938 kB / 0.7071 GB, free: 8.867 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3421/0.9284, allocations: 39.44 MB / 0.7456 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.61, allocations: 0 / 0.7456 GB, free: 154.8 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 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.597214643843472] 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.703299627173692 13.715049497 13.323354115 Calling exit ...