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.001851/0.001851, 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.002304/0.002304, allocations: 212.3 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.498/1.498, allocations: 230.5 MB / 258.2 MB, free: 7.984 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.2317/0.2317, allocations: 46.93 MB / 361.6 MB, free: 4.188 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.002425/0.002425, allocations: 83.84 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3266, allocations: 66.09 MB / 0.5615 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01267/0.3392, allocations: 9.581 MB / 0.5709 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0067/0.3459, allocations: 2.959 MB / 0.5738 GB, free: 7.699 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.3474, allocations: 55.81 kB / 0.5738 GB, free: 7.645 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004459/0.3519, allocations: 2.033 MB / 0.5758 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003134/0.355, allocations: 1.137 MB / 0.5769 GB, free: 4.465 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008668/0.3559, allocations: 283.4 kB / 0.5772 GB, free: 4.188 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003838/0.3597, allocations: 2.337 MB / 0.5795 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002591/0.3623, allocations: 1.742 MB / 0.5812 GB, free: 60 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.3638, allocations: 0.8957 MB / 0.582 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00208/0.3659, allocations: 1.25 MB / 0.5833 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005457/0.3664, allocations: 192 kB / 0.5834 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.368, allocations: 0.7293 MB / 0.5841 GB, free: 12.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001669/0.3697, allocations: 1.133 MB / 0.5853 GB, free: 11.85 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002112/0.3718, allocations: 1.308 MB / 0.5865 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006323/0.3781, allocations: 4.338 MB / 0.5908 GB, free: 6.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3781, allocations: 0 / 0.5908 GB, free: 6.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3781, allocations: 3.938 kB / 0.5908 GB, free: 6.176 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000151/0.3783, allocations: 0 / 0.5908 GB, free: 6.176 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.0064/0.3847, allocations: 2.859 MB / 0.5936 GB, free: 3.273 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.3847, allocations: 12.03 kB / 0.5936 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009728/0.3857, allocations: 483.1 kB / 0.594 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005208/0.3909, allocations: 1.578 MB / 0.5956 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003144/0.3941, allocations: 1.279 MB / 0.5968 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/0.3942, allocations: 151.7 kB / 0.597 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007902/0.395, allocations: 183.9 kB / 0.5971 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01249/0.4075, allocations: 6.246 MB / 0.6032 GB, free: 9.039 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.349e-05/0.4076, allocations: 11.88 kB / 0.6033 GB, free: 9.027 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004306/0.408, allocations: 87.91 kB / 0.6033 GB, free: 8.941 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002295/0.4103, allocations: 1.34 MB / 0.6046 GB, free: 7.598 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01151/0.4218, allocations: 5.338 MB / 0.6099 GB, free: 2.246 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03136/0.4532, allocations: 19.96 MB / 0.6293 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004518/0.4577, allocations: 1.559 MB / 0.6309 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.4588, allocations: 0.6367 MB / 0.6315 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006723/0.4655, allocations: 3.031 MB / 0.6345 GB, free: 8.43 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/0.4655, allocations: 39 kB / 0.6345 GB, free: 8.383 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.756e-06/0.4655, allocations: 0 / 0.6345 GB, free: 8.383 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005906/0.4714, allocations: 1.978 MB / 0.6364 GB, free: 6.395 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.4715, allocations: 59.84 kB / 0.6365 GB, free: 6.324 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00349/0.475, allocations: 1.942 MB / 0.6384 GB, free: 4.379 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001295/0.4751, allocations: 33.7 kB / 0.6384 GB, free: 4.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001896/0.477, allocations: 1.911 MB / 0.6403 GB, free: 2.406 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004517/0.4775, allocations: 333.5 kB / 0.6406 GB, free: 2.078 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009655/0.4784, allocations: 0.6195 MB / 0.6412 GB, free: 1.449 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002345/0.4787, allocations: 361.8 kB / 0.6415 GB, free: 1.09 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.4802, allocations: 0.892 MB / 0.6424 GB, free: 200 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00343/0.4836, allocations: 2.744 MB / 0.6451 GB, free: 12.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005323/0.489, allocations: 3.966 MB / 0.649 GB, free: 7.629 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-05/0.489, allocations: 20 kB / 0.649 GB, free: 7.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006987/0.496, allocations: 3.53 MB / 0.6524 GB, free: 4.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.642e-05/0.4961, allocations: 36 kB / 0.6525 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.858e-05/0.4962, allocations: 64 kB / 0.6525 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001079/0.4963, allocations: 88 kB / 0.6526 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002227/0.4985, allocations: 0.6595 MB / 0.6533 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001367/0.4986, allocations: 131.5 kB / 0.6534 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/0.5009, allocations: 428.8 kB / 0.6538 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004827/0.5014, allocations: 195.8 kB / 0.654 GB, free: 2.488 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.002466/0.5038, allocations: 1.342 MB / 0.6553 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002959/0.5041, allocations: 166.9 kB / 0.6554 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004361/0.5046, allocations: 192.9 kB / 0.6556 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.01e-05/0.5046, allocations: 15.98 kB / 0.6556 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.5046, allocations: 0 / 0.6556 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.5046, allocations: 3.984 kB / 0.6557 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007882/0.5125, allocations: 4.049 MB / 0.6596 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/0.5125, allocations: 12.03 kB / 0.6596 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.5129, allocations: 91.89 kB / 0.6597 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.507e-05/0.5129, allocations: 11.98 kB / 0.6597 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.912e-05/0.513, allocations: 19.94 kB / 0.6597 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.046e-05/0.513, allocations: 11.94 kB / 0.6597 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.651e-05/0.513, allocations: 11.94 kB / 0.6598 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.5147, allocations: 1.239 MB / 0.661 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004263/0.5152, allocations: 178.6 kB / 0.6611 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/0.5154, allocations: 19.94 kB / 0.6612 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005067/0.5159, allocations: 27.97 kB / 0.6612 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.516, allocations: 55.75 kB / 0.6612 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.079e-05/0.516, allocations: 31.98 kB / 0.6613 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002121/0.5182, allocations: 1.267 MB / 0.6625 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5182, allocations: 0 / 0.6625 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002716/0.5209, allocations: 0.6929 MB / 0.6632 GB, free: 8.828 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.00233/0.5232, allocations: 1.853 MB / 0.665 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003381/0.5266, allocations: 1.963 MB / 0.6669 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.5266, allocations: 0 / 0.6669 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006899/0.5273, allocations: 434.8 kB / 0.6673 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.5287, allocations: 236.6 kB / 0.6675 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03831/0.567, allocations: 20.88 MB / 0.6879 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002983/0.5699, allocations: 2.267 MB / 0.6901 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002279/0.5722, allocations: 0.9557 MB / 0.6911 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001608/0.5738, allocations: 1.034 MB / 0.6921 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of SimCode: time 1.362e-06/0.5738, allocations: 0 / 0.6921 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07747/0.6513, allocations: 35.13 MB / 0.7264 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.71, allocations: 13.92 kB / 0.7264 GB, free: 5.531 MB / 0.5606 GB " [Timeout remaining time 647] (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: 15.916041004937142] Failed to read output from testmodel.py, exit status != 0: ['time', 'cutForce.force[3]', 'cutForce.force[2]', 'cutForce.force[1]'] 12.806725753005594 13.077346532 12.696043838 Calling exit ...