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.001575/0.001575, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.001647/0.001647, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.533/1.533, allocations: 230.4 MB / 254.7 MB, free: 14.87 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.2435/0.2435, allocations: 46.92 MB / 357.7 MB, free: 10.23 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.002314/0.002314, allocations: 87.84 kB / 0.4917 GB, free: 7.797 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1449, allocations: 66.05 MB / 0.5562 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01358/0.1584, allocations: 10.15 MB / 0.5661 GB, free: 11.42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007069/0.1655, allocations: 3.09 MB / 0.5691 GB, free: 8.316 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.1669, allocations: 63.81 kB / 0.5691 GB, free: 8.254 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005474/0.1724, allocations: 2.64 MB / 0.5717 GB, free: 5.605 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003635/0.176, allocations: 1.199 MB / 0.5729 GB, free: 4.402 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.1771, allocations: 355.3 kB / 0.5732 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004063/0.1811, allocations: 2.539 MB / 0.5757 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003397/0.1845, allocations: 2.496 MB / 0.5781 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.1864, allocations: 1.067 MB / 0.5792 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002579/0.189, allocations: 1.48 MB / 0.5806 GB, free: 12.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006867/0.1897, allocations: 252 kB / 0.5809 GB, free: 12.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.1913, allocations: 0.7802 MB / 0.5816 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001569/0.1929, allocations: 1.363 MB / 0.583 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002197/0.1951, allocations: 1.557 MB / 0.5845 GB, free: 8.457 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007374/0.2025, allocations: 5.128 MB / 0.5895 GB, free: 3.309 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.2025, allocations: 0 / 0.5895 GB, free: 3.309 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2025, allocations: 0 / 0.5895 GB, free: 3.309 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001887/0.2027, allocations: 0 / 0.5895 GB, free: 3.309 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.2486/0.4513, allocations: 3.348 MB / 0.5928 GB, free: 33.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.4513, allocations: 11.44 kB / 0.5928 GB, free: 33.14 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001328/0.4526, allocations: 0.5453 MB / 0.5933 GB, free: 33.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005669/0.4583, allocations: 1.624 MB / 0.5949 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003125/0.4614, allocations: 1.507 MB / 0.5964 GB, free: 32.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.4616, allocations: 177.3 kB / 0.5965 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006519/0.4622, allocations: 234.8 kB / 0.5968 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0129/0.4751, allocations: 7.107 MB / 0.6037 GB, free: 30.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.501e-05/0.4752, allocations: 17.59 kB / 0.6037 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003764/0.4756, allocations: 110.6 kB / 0.6038 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0025/0.4781, allocations: 1.444 MB / 0.6052 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01242/0.4905, allocations: 5.941 MB / 0.611 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02983/0.5203, allocations: 22.36 MB / 0.6329 GB, free: 9.469 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004136/0.5244, allocations: 2.121 MB / 0.6349 GB, free: 7.219 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008531/0.5253, allocations: 0.7096 MB / 0.6356 GB, free: 6.504 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005775/0.5311, allocations: 3.858 MB / 0.6394 GB, free: 2.555 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.5311, allocations: 36.91 kB / 0.6394 GB, free: 2.512 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 4.499e-06/0.5311, allocations: 8 kB / 0.6394 GB, free: 2.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.005737/0.5368, allocations: 2.249 MB / 0.6416 GB, free: 256 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.5369, allocations: 62.41 kB / 0.6417 GB, free: 184 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003173/0.5401, allocations: 2.056 MB / 0.6437 GB, free: 14.12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001225/0.5402, allocations: 41.7 kB / 0.6437 GB, free: 14.08 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001782/0.542, allocations: 2.11 MB / 0.6458 GB, free: 11.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004673/0.5424, allocations: 369.2 kB / 0.6462 GB, free: 11.58 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/0.5434, allocations: 0.6434 MB / 0.6468 GB, free: 10.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002677/0.5437, allocations: 365.9 kB / 0.6471 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/0.5453, allocations: 0.9313 MB / 0.648 GB, free: 9.633 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00331/0.5486, allocations: 2.876 MB / 0.6509 GB, free: 5.793 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005262/0.5539, allocations: 4.155 MB / 0.6549 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.981e-05/0.5539, allocations: 20 kB / 0.6549 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.00651/0.5604, allocations: 3.714 MB / 0.6586 GB, free: 12.94 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.357e-05/0.5605, allocations: 36 kB / 0.6586 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.093e-05/0.5606, allocations: 68 kB / 0.6587 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.94e-05/0.5607, allocations: 88 kB / 0.6587 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/0.5627, allocations: 0.69 MB / 0.6594 GB, free: 12.06 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001255/0.5628, allocations: 132.1 kB / 0.6595 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.5648, allocations: 444.7 kB / 0.66 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000295/0.565, allocations: 200 kB / 0.6602 GB, free: 11.3 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.002277/0.5673, allocations: 1.508 MB / 0.6616 GB, free: 9.785 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002915/0.5676, allocations: 182.7 kB / 0.6618 GB, free: 9.605 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004373/0.5681, allocations: 210.2 kB / 0.662 GB, free: 9.391 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/0.5681, allocations: 12 kB / 0.662 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.5681, allocations: 0 / 0.662 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.5681, allocations: 7.984 kB / 0.662 GB, free: 9.371 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008443/0.5765, allocations: 4.935 MB / 0.6668 GB, free: 4.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/0.5766, allocations: 9.688 kB / 0.6669 GB, free: 4.262 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004796/0.577, allocations: 112.7 kB / 0.667 GB, free: 4.152 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.877e-05/0.5771, allocations: 15.94 kB / 0.667 GB, free: 4.137 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.406e-05/0.5771, allocations: 27.98 kB / 0.667 GB, free: 4.109 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.479e-05/0.5771, allocations: 15.94 kB / 0.667 GB, free: 4.094 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/0.5771, allocations: 13.66 kB / 0.667 GB, free: 4.082 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.579, allocations: 1.419 MB / 0.6684 GB, free: 2.539 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000571/0.5796, allocations: 295.5 kB / 0.6687 GB, free: 2.23 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/0.5798, allocations: 23.92 kB / 0.6687 GB, free: 2.207 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005823/0.5804, allocations: 31.94 kB / 0.6688 GB, free: 2.176 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.5805, allocations: 60.56 kB / 0.6688 GB, free: 2.117 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.069e-05/0.5806, allocations: 39.97 kB / 0.6688 GB, free: 2.078 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002359/0.583, allocations: 1.456 MB / 0.6703 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.583, allocations: 1.969 kB / 0.6703 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003148/0.5861, allocations: 0.7785 MB / 0.671 GB, free: 15.82 MB / 494.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.002675/0.5888, allocations: 2.032 MB / 0.673 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003723/0.5925, allocations: 2.077 MB / 0.675 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/0.5925, allocations: 1.938 kB / 0.675 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007611/0.5933, allocations: 489.2 kB / 0.6755 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/0.5949, allocations: 272 kB / 0.6758 GB, free: 10.87 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03848/0.6334, allocations: 23.22 MB / 0.6984 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003328/0.6367, allocations: 2.506 MB / 0.7009 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002494/0.6392, allocations: 1.027 MB / 0.7019 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002084/0.6413, allocations: 1.206 MB / 0.7031 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of SimCode: time 1.182e-06/0.6413, allocations: 0 / 0.7031 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0817/0.723, allocations: 36.98 MB / 0.7392 GB, free: 7.379 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.92, allocations: 6.016 kB / 0.7392 GB, free: 7.375 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 & 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: 17.118036669213325] 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.01211380911991 14.027396333 13.821727985 Calling exit ...