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.001453/0.001453, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.00131/0.00131, allocations: 214.7 kB / 22.92 MB, free: 5.195 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.31/1.31, allocations: 230.2 MB / 256.1 MB, free: 8.605 MB / 206.1 MB " [Timeout remaining time 179] 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.207/0.207, allocations: 46.89 MB / 359.3 MB, free: 4.988 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.002142/0.002142, allocations: 83.86 kB / 0.494 GB, free: 9.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2518, allocations: 65.99 MB / 0.5584 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01149/0.2633, allocations: 10.19 MB / 0.5684 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005755/0.2691, allocations: 3.107 MB / 0.5714 GB, free: 7.895 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.2701, allocations: 51.94 kB / 0.5714 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004606/0.2747, allocations: 2.648 MB / 0.574 GB, free: 5.188 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002621/0.2774, allocations: 1.206 MB / 0.5752 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007512/0.2781, allocations: 351.3 kB / 0.5755 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003034/0.2811, allocations: 2.54 MB / 0.578 GB, free: 1.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002345/0.2835, allocations: 2.113 MB / 0.5801 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.2847, allocations: 1.063 MB / 0.5811 GB, free: 13.87 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.2865, allocations: 1.488 MB / 0.5826 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003654/0.2868, allocations: 252 kB / 0.5828 GB, free: 12.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.2881, allocations: 0.7841 MB / 0.5836 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.2892, allocations: 1.356 MB / 0.5849 GB, free: 9.988 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.2906, allocations: 1.561 MB / 0.5864 GB, free: 8.418 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004928/0.2956, allocations: 5.128 MB / 0.5914 GB, free: 3.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.2956, allocations: 0 / 0.5914 GB, free: 3.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.093e-06/0.2956, allocations: 0 / 0.5914 GB, free: 3.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.128e-05/0.2956, allocations: 0 / 0.5914 GB, free: 3.27 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.00526/0.3009, allocations: 3.359 MB / 0.5947 GB, free: 15.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3009, allocations: 8.031 kB / 0.5947 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006199/0.3015, allocations: 0.5536 MB / 0.5953 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00494/0.3065, allocations: 1.621 MB / 0.5968 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002414/0.3089, allocations: 1.501 MB / 0.5983 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.309, allocations: 192.6 kB / 0.5985 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003678/0.3094, allocations: 227.9 kB / 0.5987 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/0.3197, allocations: 7.11 MB / 0.6057 GB, free: 4.242 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.423e-05/0.3197, allocations: 19.86 kB / 0.6057 GB, free: 4.223 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000261/0.32, allocations: 99.91 kB / 0.6058 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002089/0.3221, allocations: 1.447 MB / 0.6072 GB, free: 2.676 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009918/0.332, allocations: 5.949 MB / 0.613 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02679/0.3588, allocations: 22.35 MB / 0.6348 GB, free: 5.793 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004435/0.3632, allocations: 2.117 MB / 0.6369 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009981/0.3642, allocations: 0.7113 MB / 0.6376 GB, free: 2.832 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006163/0.3704, allocations: 3.861 MB / 0.6413 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.3704, allocations: 39.06 kB / 0.6414 GB, free: 14.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=87): time 3.266e-06/0.3704, allocations: 0 / 0.6414 GB, free: 14.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=87): time 0.005886/0.3763, allocations: 2.253 MB / 0.6436 GB, free: 12.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.3764, allocations: 63.91 kB / 0.6436 GB, free: 12.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00264/0.379, allocations: 2.056 MB / 0.6457 GB, free: 10.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.094e-05/0.3791, allocations: 33.7 kB / 0.6457 GB, free: 10.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001448/0.3805, allocations: 2.121 MB / 0.6478 GB, free: 8.211 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003142/0.3808, allocations: 361.2 kB / 0.6481 GB, free: 7.855 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007678/0.3816, allocations: 0.6512 MB / 0.6487 GB, free: 7.195 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3818, allocations: 365.9 kB / 0.6491 GB, free: 6.832 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/0.3831, allocations: 0.9352 MB / 0.65 GB, free: 5.895 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002749/0.3858, allocations: 2.868 MB / 0.6528 GB, free: 2.062 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004523/0.3903, allocations: 4.158 MB / 0.6569 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-05/0.3904, allocations: 20 kB / 0.6569 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.005331/0.3957, allocations: 3.707 MB / 0.6605 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.315e-05/0.3958, allocations: 39.98 kB / 0.6605 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-05/0.3958, allocations: 72.12 kB / 0.6606 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.685e-05/0.3959, allocations: 88 kB / 0.6607 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/0.3978, allocations: 0.6901 MB / 0.6614 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001089/0.3979, allocations: 131.5 kB / 0.6615 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.3996, allocations: 444.7 kB / 0.6619 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002452/0.3998, allocations: 192 kB / 0.6621 GB, free: 7.574 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.001991/0.4018, allocations: 1.515 MB / 0.6636 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.4021, allocations: 178.8 kB / 0.6637 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/0.4025, allocations: 214.2 kB / 0.6639 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.4025, allocations: 11.98 kB / 0.664 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4025, allocations: 4 kB / 0.664 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.4025, allocations: 3.984 kB / 0.664 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007253/0.4097, allocations: 4.94 MB / 0.6688 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.4097, allocations: 8 kB / 0.6688 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000422/0.4102, allocations: 115.8 kB / 0.6689 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-05/0.4102, allocations: 12 kB / 0.6689 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.703e-05/0.4102, allocations: 23.98 kB / 0.6689 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.454e-05/0.4102, allocations: 15.94 kB / 0.669 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.4103, allocations: 11.94 kB / 0.669 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/0.4118, allocations: 1.418 MB / 0.6704 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003823/0.4122, allocations: 299.4 kB / 0.6706 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/0.4124, allocations: 24 kB / 0.6707 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005257/0.4129, allocations: 35.92 kB / 0.6707 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.413, allocations: 67.75 kB / 0.6708 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-05/0.4131, allocations: 35.94 kB / 0.6708 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001897/0.415, allocations: 1.444 MB / 0.6722 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.415, allocations: 4 kB / 0.6722 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002251/0.4173, allocations: 0.7863 MB / 0.673 GB, free: 12.08 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.002039/0.4193, allocations: 2.02 MB / 0.675 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00286/0.4221, allocations: 2.079 MB / 0.677 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.4222, allocations: 448 / 0.677 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005953/0.4227, allocations: 481.6 kB / 0.6774 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.424, allocations: 272.4 kB / 0.6777 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03131/0.4553, allocations: 23.21 MB / 0.7004 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003092/0.4584, allocations: 2.522 MB / 0.7028 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002137/0.4605, allocations: 1.02 MB / 0.7038 GB, free: 9.676 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001539/0.462, allocations: 1.202 MB / 0.705 GB, free: 8.473 MB / 0.545 GB Notification: Performance of SimCode: time 1.262e-06/0.462, allocations: 0 / 0.705 GB, free: 8.473 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2611/0.7231, allocations: 37.1 MB / 0.7412 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/11.04, allocations: 8.516 kB / 0.7412 GB, free: 157.9 MB / 0.5606 GB " [Timeout remaining time 649] (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: 13.56167804999859]