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.00136/0.00136, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001449/0.001449, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.458/1.458, allocations: 230.5 MB / 258.2 MB, free: 8.055 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.2256/0.2256, allocations: 46.92 MB / 361.6 MB, free: 4.215 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.002421/0.002421, allocations: 79.88 kB / 0.497 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.328, allocations: 66.08 MB / 0.5615 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01237/0.3404, allocations: 9.589 MB / 0.5709 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006239/0.3466, allocations: 2.955 MB / 0.5738 GB, free: 7.738 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000874/0.3475, allocations: 55.81 kB / 0.5738 GB, free: 7.684 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003836/0.3513, allocations: 2.029 MB / 0.5758 GB, free: 5.648 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00259/0.3539, allocations: 1.133 MB / 0.5769 GB, free: 4.512 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007139/0.3546, allocations: 287.4 kB / 0.5772 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003194/0.3578, allocations: 2.33 MB / 0.5794 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002191/0.36, allocations: 1.742 MB / 0.5811 GB, free: 108 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.3612, allocations: 0.8956 MB / 0.582 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/0.3629, allocations: 1.254 MB / 0.5832 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003351/0.3633, allocations: 192 kB / 0.5834 GB, free: 13.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.3645, allocations: 0.7333 MB / 0.5841 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001127/0.3657, allocations: 1.133 MB / 0.5853 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001388/0.3671, allocations: 1.305 MB / 0.5865 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004952/0.372, allocations: 4.334 MB / 0.5908 GB, free: 6.227 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.372, allocations: 3.938 kB / 0.5908 GB, free: 6.223 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.372, allocations: 4 kB / 0.5908 GB, free: 6.219 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.622e-05/0.3721, allocations: 0 / 0.5908 GB, free: 6.219 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.005028/0.3771, allocations: 2.862 MB / 0.5936 GB, free: 3.312 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3772, allocations: 8.031 kB / 0.5936 GB, free: 3.305 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006299/0.3778, allocations: 483.1 kB / 0.594 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004942/0.3827, allocations: 1.578 MB / 0.5956 GB, free: 1.242 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/0.3854, allocations: 1.278 MB / 0.5968 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.3855, allocations: 147.8 kB / 0.597 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004079/0.386, allocations: 187.9 kB / 0.5971 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01151/0.3975, allocations: 6.246 MB / 0.6032 GB, free: 9.082 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.191e-05/0.3975, allocations: 11.88 kB / 0.6033 GB, free: 9.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002553/0.3978, allocations: 87.91 kB / 0.6033 GB, free: 8.984 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002141/0.3999, allocations: 1.344 MB / 0.6046 GB, free: 7.637 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01163/0.4115, allocations: 5.33 MB / 0.6099 GB, free: 2.293 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02987/0.4414, allocations: 19.96 MB / 0.6293 GB, free: 13.76 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004227/0.4456, allocations: 1.563 MB / 0.6309 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009831/0.4466, allocations: 0.6391 MB / 0.6315 GB, free: 11.53 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005944/0.4526, allocations: 3.027 MB / 0.6344 GB, free: 8.477 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.4526, allocations: 43 kB / 0.6345 GB, free: 8.426 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.906e-06/0.4526, allocations: 0 / 0.6345 GB, free: 8.426 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005467/0.4581, allocations: 1.975 MB / 0.6364 GB, free: 6.441 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.4581, allocations: 59.84 kB / 0.6365 GB, free: 6.371 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002907/0.461, allocations: 1.945 MB / 0.6384 GB, free: 4.422 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.891e-05/0.4611, allocations: 33.7 kB / 0.6384 GB, free: 4.383 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001596/0.4627, allocations: 1.915 MB / 0.6403 GB, free: 2.445 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003277/0.463, allocations: 325.5 kB / 0.6406 GB, free: 2.125 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009004/0.4639, allocations: 0.6312 MB / 0.6412 GB, free: 1.484 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.4641, allocations: 357.9 kB / 0.6415 GB, free: 1.129 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.4655, allocations: 0.8842 MB / 0.6424 GB, free: 248 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003027/0.4685, allocations: 2.747 MB / 0.6451 GB, free: 12.56 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005065/0.4736, allocations: 3.973 MB / 0.649 GB, free: 7.672 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.339e-05/0.4736, allocations: 20 kB / 0.649 GB, free: 7.652 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005959/0.4796, allocations: 3.528 MB / 0.6524 GB, free: 4.113 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.094e-05/0.4796, allocations: 36 kB / 0.6525 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.792e-05/0.4797, allocations: 67.98 kB / 0.6525 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001023/0.4798, allocations: 88 kB / 0.6526 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/0.4818, allocations: 0.655 MB / 0.6533 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001168/0.4819, allocations: 131.5 kB / 0.6534 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/0.4838, allocations: 428.8 kB / 0.6538 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002513/0.484, allocations: 188 kB / 0.654 GB, free: 2.535 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.00203/0.486, allocations: 1.346 MB / 0.6553 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/0.4863, allocations: 166.9 kB / 0.6554 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003436/0.4866, allocations: 192.9 kB / 0.6556 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.4867, allocations: 12 kB / 0.6556 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.4867, allocations: 0 / 0.6556 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.4867, allocations: 3.984 kB / 0.6556 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00688/0.4936, allocations: 4.045 MB / 0.6596 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.4936, allocations: 8 kB / 0.6596 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004084/0.494, allocations: 99.81 kB / 0.6597 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.494, allocations: 8 kB / 0.6597 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/0.494, allocations: 28.53 kB / 0.6597 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.169e-05/0.494, allocations: 11.98 kB / 0.6597 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.4941, allocations: 11.94 kB / 0.6598 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.4956, allocations: 1.239 MB / 0.661 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003329/0.4959, allocations: 178.6 kB / 0.6611 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.4961, allocations: 19.94 kB / 0.6612 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004651/0.4965, allocations: 31.92 kB / 0.6612 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.4966, allocations: 55.73 kB / 0.6612 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.498e-05/0.4967, allocations: 28 kB / 0.6613 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00174/0.4984, allocations: 1.271 MB / 0.6625 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4984, allocations: 0 / 0.6625 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002322/0.5008, allocations: 0.6929 MB / 0.6632 GB, free: 8.867 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.001996/0.5028, allocations: 1.841 MB / 0.665 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002961/0.5057, allocations: 1.972 MB / 0.6669 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.5057, allocations: 4.188 kB / 0.6669 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005738/0.5063, allocations: 431.9 kB / 0.6673 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.5074, allocations: 242.9 kB / 0.6676 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03063/0.538, allocations: 20.88 MB / 0.6879 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00249/0.5405, allocations: 2.275 MB / 0.6902 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002128/0.5427, allocations: 0.9441 MB / 0.6911 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001328/0.544, allocations: 1.034 MB / 0.6921 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of SimCode: time 6.71e-07/0.544, allocations: 0 / 0.6921 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07135/0.6153, allocations: 35.14 MB / 0.7264 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.52, allocations: 7.297 kB / 0.7264 GB, free: 5.57 MB / 0.5606 GB " [Timeout remaining time 647] (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: 15.60858599608764] Failed to read output from testmodel.py, exit status != 0: ['time', 'cutForce.force[3]', 'cutForce.force[2]', 'cutForce.force[1]'] 12.612162197008729 12.865583214 12.490733762 Calling exit ...