Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.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.001388/0.001388, allocations: 109 kB / 19.74 MB, free: 2.586 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.001545/0.001545, allocations: 215.7 kB / 22.92 MB, free: 5.559 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.269/1.269, allocations: 230.2 MB / 256.1 MB, free: 8.629 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.1952/0.1952, allocations: 46.89 MB / 359.3 MB, free: 5.066 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.CutForce3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce3",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.002098/0.002098, allocations: 79.88 kB / 0.494 GB, free: 9.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2551, allocations: 65.98 MB / 0.5584 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.0103/0.2654, allocations: 9.592 MB / 0.5678 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004969/0.2704, allocations: 2.963 MB / 0.5707 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006066/0.271, allocations: 47.94 kB / 0.5707 GB, free: 8.547 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003368/0.2744, allocations: 2.029 MB / 0.5727 GB, free: 6.512 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00203/0.2764, allocations: 1.121 MB / 0.5738 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005838/0.277, allocations: 291.4 kB / 0.5741 GB, free: 5.102 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002537/0.2795, allocations: 2.329 MB / 0.5763 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.2813, allocations: 1.625 MB / 0.5779 GB, free: 1.098 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009004/0.2822, allocations: 0.8761 MB / 0.5788 GB, free: 224 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.2835, allocations: 1.254 MB / 0.58 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002855/0.2838, allocations: 196 kB / 0.5802 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.2849, allocations: 0.7254 MB / 0.5809 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009495/0.2858, allocations: 1.137 MB / 0.582 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001082/0.2869, allocations: 1.305 MB / 0.5833 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004037/0.2909, allocations: 4.342 MB / 0.5875 GB, free: 7.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.2909, allocations: 4 kB / 0.5875 GB, free: 7.227 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2909, allocations: 0 / 0.5875 GB, free: 7.227 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.932e-05/0.291, allocations: 0 / 0.5875 GB, free: 7.227 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.004175/0.2952, allocations: 2.938 MB / 0.5904 GB, free: 4.227 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.2952, allocations: 12.03 kB / 0.5904 GB, free: 4.215 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000533/0.2957, allocations: 483.1 kB / 0.5909 GB, free: 3.734 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00479/0.3005, allocations: 1.571 MB / 0.5924 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/0.3026, allocations: 1.34 MB / 0.5937 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.3027, allocations: 147.8 kB / 0.5938 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003231/0.3031, allocations: 187.9 kB / 0.594 GB, free: 456 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008336/0.3114, allocations: 6.25 MB / 0.6001 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.368e-05/0.3114, allocations: 15.88 kB / 0.6001 GB, free: 9.906 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002405/0.3117, allocations: 91.91 kB / 0.6002 GB, free: 9.816 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001975/0.3137, allocations: 1.34 MB / 0.6015 GB, free: 8.473 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008542/0.3222, allocations: 5.33 MB / 0.6067 GB, free: 3.117 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02253/0.3447, allocations: 20.04 MB / 0.6263 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003839/0.3486, allocations: 2.016 MB / 0.6283 GB, free: 12.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008473/0.3494, allocations: 0.6328 MB / 0.6289 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005132/0.3545, allocations: 3.496 MB / 0.6323 GB, free: 8.09 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.3546, allocations: 39 kB / 0.6324 GB, free: 8.043 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.866e-06/0.3546, allocations: 0 / 0.6324 GB, free: 8.043 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.004831/0.3594, allocations: 1.982 MB / 0.6343 GB, free: 6.051 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.3595, allocations: 59.84 kB / 0.6343 GB, free: 5.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002238/0.3617, allocations: 1.942 MB / 0.6362 GB, free: 4.035 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/0.3617, allocations: 37.7 kB / 0.6363 GB, free: 3.992 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001204/0.3629, allocations: 1.911 MB / 0.6381 GB, free: 2.059 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/0.3632, allocations: 329.5 kB / 0.6385 GB, free: 1.734 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006909/0.3639, allocations: 0.6234 MB / 0.6391 GB, free: 1.102 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.364, allocations: 357.9 kB / 0.6394 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.3652, allocations: 0.8842 MB / 0.6403 GB, free: 15.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002469/0.3677, allocations: 2.747 MB / 0.643 GB, free: 12.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003978/0.3717, allocations: 3.973 MB / 0.6468 GB, free: 7.289 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.804e-05/0.3717, allocations: 20 kB / 0.6469 GB, free: 7.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004811/0.3765, allocations: 3.535 MB / 0.6503 GB, free: 3.727 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.3765, allocations: 36 kB / 0.6503 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.636e-05/0.3766, allocations: 64 kB / 0.6504 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.24e-05/0.3767, allocations: 88 kB / 0.6505 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/0.3784, allocations: 0.6511 MB / 0.6511 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.352e-05/0.3785, allocations: 131.5 kB / 0.6513 GB, free: 2.762 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.38, allocations: 433 kB / 0.6517 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000216/0.3802, allocations: 191.9 kB / 0.6518 GB, free: 2.148 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.001626/0.3818, allocations: 1.346 MB / 0.6532 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.382, allocations: 162.9 kB / 0.6533 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.3823, allocations: 192.9 kB / 0.6535 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.3824, allocations: 12 kB / 0.6535 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3824, allocations: 7.938 kB / 0.6535 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.3824, allocations: 0 / 0.6535 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005536/0.3879, allocations: 4.073 MB / 0.6575 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/0.3879, allocations: 4 kB / 0.6575 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/0.3883, allocations: 100.6 kB / 0.6576 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.3883, allocations: 8 kB / 0.6576 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.3883, allocations: 27.94 kB / 0.6576 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.331e-05/0.3883, allocations: 15.92 kB / 0.6576 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.3883, allocations: 8 kB / 0.6577 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.3897, allocations: 1.239 MB / 0.6589 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/0.39, allocations: 263.7 kB / 0.6591 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.3901, allocations: 15.94 kB / 0.6591 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/0.3906, allocations: 27.98 kB / 0.6592 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.868e-05/0.3907, allocations: 55.81 kB / 0.6592 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.163e-05/0.3907, allocations: 31.98 kB / 0.6592 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001537/0.3922, allocations: 1.263 MB / 0.6605 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3922, allocations: 7.938 kB / 0.6605 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002039/0.3943, allocations: 0.6852 MB / 0.6611 GB, free: 8.355 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.001774/0.3961, allocations: 1.864 MB / 0.663 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002609/0.3987, allocations: 1.956 MB / 0.6649 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3987, allocations: 0 / 0.6649 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005204/0.3992, allocations: 429.5 kB / 0.6653 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.4002, allocations: 228.1 kB / 0.6655 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02503/0.4253, allocations: 20.88 MB / 0.6859 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002291/0.4276, allocations: 2.275 MB / 0.6881 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001879/0.4294, allocations: 0.9441 MB / 0.689 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/0.4306, allocations: 1.038 MB / 0.6901 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of SimCode: time 1.332e-06/0.4306, allocations: 0 / 0.6901 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06004/0.4907, allocations: 32.91 MB / 0.7222 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/11, allocations: 0 / 0.7222 GB, free: 7.32 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3_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_CutForce3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.685250156006077]