Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.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.001429/0.001429, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001558/0.001558, allocations: 218.4 kB / 22.92 MB, free: 5.539 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.292/1.292, allocations: 230.2 MB / 256.1 MB, free: 8.766 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.1969/0.1969, allocations: 46.9 MB / 359.3 MB, free: 4.965 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.CutForce2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce2",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.002159/0.002159, allocations: 87.86 kB / 0.494 GB, free: 9.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2536, allocations: 65.98 MB / 0.5584 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01063/0.2643, allocations: 9.588 MB / 0.5678 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004874/0.2691, allocations: 2.963 MB / 0.5707 GB, free: 8.609 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000577/0.2697, allocations: 51.88 kB / 0.5707 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003356/0.2731, allocations: 2.021 MB / 0.5727 GB, free: 6.531 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.275, allocations: 1.136 MB / 0.5738 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005299/0.2755, allocations: 283.5 kB / 0.5741 GB, free: 5.113 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002423/0.2779, allocations: 2.325 MB / 0.5763 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001706/0.2796, allocations: 1.633 MB / 0.5779 GB, free: 1.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008159/0.2804, allocations: 0.8761 MB / 0.5788 GB, free: 236 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.2818, allocations: 1.25 MB / 0.58 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002459/0.282, allocations: 192 kB / 0.5802 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009608/0.283, allocations: 0.7294 MB / 0.5809 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009307/0.2839, allocations: 1.137 MB / 0.582 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.285, allocations: 1.308 MB / 0.5833 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003846/0.2888, allocations: 4.33 MB / 0.5875 GB, free: 7.254 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2888, allocations: 0 / 0.5875 GB, free: 7.254 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2888, allocations: 0 / 0.5875 GB, free: 7.254 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.694e-05/0.2889, allocations: 0 / 0.5875 GB, free: 7.254 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.003878/0.2927, allocations: 2.949 MB / 0.5904 GB, free: 4.242 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.2928, allocations: 12.03 kB / 0.5904 GB, free: 4.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005015/0.2933, allocations: 479.1 kB / 0.5909 GB, free: 3.754 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004772/0.298, allocations: 1.578 MB / 0.5924 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.2999, allocations: 1.336 MB / 0.5937 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.3, allocations: 151.8 kB / 0.5939 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000311/0.3004, allocations: 183.9 kB / 0.594 GB, free: 472 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007944/0.3083, allocations: 6.25 MB / 0.6001 GB, free: 9.938 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.349e-05/0.3083, allocations: 11.88 kB / 0.6001 GB, free: 9.926 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/0.3086, allocations: 87.91 kB / 0.6002 GB, free: 9.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00195/0.3105, allocations: 1.34 MB / 0.6015 GB, free: 8.496 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007999/0.3185, allocations: 5.338 MB / 0.6068 GB, free: 3.133 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02165/0.3402, allocations: 20.04 MB / 0.6263 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003889/0.3441, allocations: 2.016 MB / 0.6283 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008932/0.345, allocations: 0.6393 MB / 0.6289 GB, free: 11.74 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005311/0.3503, allocations: 3.5 MB / 0.6323 GB, free: 8.102 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.3503, allocations: 35 kB / 0.6324 GB, free: 8.059 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.124e-06/0.3503, allocations: 0 / 0.6324 GB, free: 8.059 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005056/0.3553, allocations: 1.978 MB / 0.6343 GB, free: 6.07 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.3554, allocations: 59.84 kB / 0.6344 GB, free: 6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002218/0.3576, allocations: 1.946 MB / 0.6363 GB, free: 4.051 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/0.3576, allocations: 37.7 kB / 0.6363 GB, free: 4.008 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001236/0.3589, allocations: 1.903 MB / 0.6382 GB, free: 2.082 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.3591, allocations: 333.5 kB / 0.6385 GB, free: 1.754 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006992/0.3598, allocations: 0.6272 MB / 0.6391 GB, free: 1.117 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.36, allocations: 353.9 kB / 0.6394 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.3612, allocations: 0.8881 MB / 0.6403 GB, free: 15.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002556/0.3638, allocations: 2.759 MB / 0.643 GB, free: 12.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004212/0.368, allocations: 3.962 MB / 0.6469 GB, free: 7.301 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.525e-05/0.368, allocations: 20 kB / 0.6469 GB, free: 7.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005242/0.3732, allocations: 3.523 MB / 0.6503 GB, free: 3.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.644e-05/0.3733, allocations: 35.98 kB / 0.6503 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.024e-05/0.3733, allocations: 68 kB / 0.6504 GB, free: 3.648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.197e-05/0.3734, allocations: 84 kB / 0.6505 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.3751, allocations: 0.6589 MB / 0.6511 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001049/0.3752, allocations: 131.5 kB / 0.6513 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.3768, allocations: 429.3 kB / 0.6517 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002143/0.377, allocations: 195.9 kB / 0.6519 GB, free: 2.164 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.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 (362): * Single equations (assignments): 357 * 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.001642/0.3786, allocations: 1.334 MB / 0.6532 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.3788, allocations: 162.9 kB / 0.6533 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003214/0.3791, allocations: 200.9 kB / 0.6535 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.3791, allocations: 12 kB / 0.6535 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3791, allocations: 3.938 kB / 0.6535 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.3791, allocations: 11.98 kB / 0.6535 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00564/0.3848, allocations: 4.069 MB / 0.6575 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.3848, allocations: 8 kB / 0.6575 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.3851, allocations: 99.91 kB / 0.6576 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.3852, allocations: 8 kB / 0.6576 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-05/0.3852, allocations: 27.88 kB / 0.6576 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.393e-06/0.3852, allocations: 8 kB / 0.6576 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.3852, allocations: 7.938 kB / 0.6577 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.3866, allocations: 1.243 MB / 0.6589 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/0.3869, allocations: 251.7 kB / 0.6591 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.387, allocations: 27.92 kB / 0.6591 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.3874, allocations: 27.92 kB / 0.6592 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.608e-05/0.3875, allocations: 55.77 kB / 0.6592 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.3876, allocations: 31.98 kB / 0.6592 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001538/0.3891, allocations: 1.267 MB / 0.6605 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.3891, allocations: 0 / 0.6605 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001941/0.3911, allocations: 0.6891 MB / 0.6612 GB, free: 8.371 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.001839/0.3929, allocations: 1.856 MB / 0.663 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00246/0.3954, allocations: 1.959 MB / 0.6649 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3954, allocations: 0 / 0.6649 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005114/0.3959, allocations: 430.3 kB / 0.6653 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009851/0.3969, allocations: 232.9 kB / 0.6655 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02345/0.4203, allocations: 20.88 MB / 0.6859 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002201/0.4225, allocations: 2.275 MB / 0.6881 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001799/0.4243, allocations: 0.948 MB / 0.6891 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/0.4255, allocations: 1.034 MB / 0.6901 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of SimCode: time 6.51e-07/0.4255, allocations: 0 / 0.6901 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0581/0.4836, allocations: 32.9 MB / 0.7222 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.64, allocations: 11.48 kB / 0.7222 GB, free: 7.328 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2_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_CutForce2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.31808712700149]