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.001294/0.001294, 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.00154/0.00154, allocations: 213.2 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.462/1.462, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2258/0.2258, allocations: 46.93 MB / 361.6 MB, free: 4.203 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.002393/0.002393, allocations: 75.88 kB / 0.497 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3126, allocations: 66.1 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01152/0.3241, allocations: 9.581 MB / 0.5709 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006034/0.3302, allocations: 2.959 MB / 0.5738 GB, free: 7.727 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.3312, allocations: 59.81 kB / 0.5738 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003745/0.3349, allocations: 2.029 MB / 0.5758 GB, free: 5.633 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002471/0.3374, allocations: 1.133 MB / 0.5769 GB, free: 4.496 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007209/0.3381, allocations: 295.4 kB / 0.5772 GB, free: 4.207 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003704/0.3418, allocations: 2.329 MB / 0.5795 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002149/0.344, allocations: 1.734 MB / 0.5811 GB, free: 92 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.3451, allocations: 0.8879 MB / 0.582 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.3467, allocations: 1.254 MB / 0.5832 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003122/0.347, allocations: 196 kB / 0.5834 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.3483, allocations: 0.7292 MB / 0.5841 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.3493, allocations: 1.137 MB / 0.5852 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001236/0.3505, allocations: 1.301 MB / 0.5865 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004748/0.3553, allocations: 4.338 MB / 0.5908 GB, free: 6.215 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3553, allocations: 4 kB / 0.5908 GB, free: 6.211 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3553, allocations: 3.938 kB / 0.5908 GB, free: 6.207 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.494e-05/0.3554, allocations: 0 / 0.5908 GB, free: 6.207 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.00501/0.3604, allocations: 2.862 MB / 0.5936 GB, free: 3.301 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.3605, allocations: 8.031 kB / 0.5936 GB, free: 3.293 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005798/0.361, allocations: 483.1 kB / 0.594 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004895/0.3659, allocations: 1.578 MB / 0.5956 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002949/0.3689, allocations: 1.279 MB / 0.5968 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.369, allocations: 147.7 kB / 0.597 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000459/0.3695, allocations: 183.9 kB / 0.5971 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.3798, allocations: 6.246 MB / 0.6032 GB, free: 9.074 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.803e-05/0.3798, allocations: 15.88 kB / 0.6032 GB, free: 9.059 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002217/0.38, allocations: 83.91 kB / 0.6033 GB, free: 8.977 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002053/0.3821, allocations: 1.352 MB / 0.6046 GB, free: 7.621 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.3922, allocations: 5.336 MB / 0.6099 GB, free: 2.273 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02785/0.42, allocations: 19.96 MB / 0.6293 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004184/0.4242, allocations: 1.556 MB / 0.6309 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.4252, allocations: 0.6328 MB / 0.6315 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006184/0.4314, allocations: 3.035 MB / 0.6344 GB, free: 8.461 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.4315, allocations: 39 kB / 0.6345 GB, free: 8.414 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.376e-06/0.4315, allocations: 0 / 0.6345 GB, free: 8.414 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005423/0.4369, allocations: 1.978 MB / 0.6364 GB, free: 6.426 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.4369, allocations: 55.84 kB / 0.6365 GB, free: 6.359 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002834/0.4398, allocations: 1.949 MB / 0.6384 GB, free: 4.406 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.314e-05/0.4398, allocations: 37.7 kB / 0.6384 GB, free: 4.363 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001452/0.4413, allocations: 1.911 MB / 0.6403 GB, free: 2.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003285/0.4416, allocations: 325.5 kB / 0.6406 GB, free: 2.109 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008003/0.4424, allocations: 0.6273 MB / 0.6412 GB, free: 1.473 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.4426, allocations: 357.9 kB / 0.6415 GB, free: 1.117 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.444, allocations: 0.8842 MB / 0.6424 GB, free: 236 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002936/0.4469, allocations: 2.751 MB / 0.6451 GB, free: 12.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00478/0.4517, allocations: 3.966 MB / 0.649 GB, free: 7.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-05/0.4517, allocations: 20 kB / 0.649 GB, free: 7.641 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005804/0.4575, allocations: 3.528 MB / 0.6524 GB, free: 4.102 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.193e-05/0.4576, allocations: 32 kB / 0.6525 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.461e-05/0.4577, allocations: 68 kB / 0.6525 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-05/0.4578, allocations: 91.94 kB / 0.6526 GB, free: 3.914 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/0.4597, allocations: 0.6589 MB / 0.6533 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001157/0.4598, allocations: 131.5 kB / 0.6534 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.4616, allocations: 432.9 kB / 0.6538 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002435/0.4619, allocations: 187.9 kB / 0.654 GB, free: 2.516 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.002103/0.464, allocations: 1.346 MB / 0.6553 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/0.4642, allocations: 162.9 kB / 0.6554 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.4646, allocations: 196.9 kB / 0.6556 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.688e-05/0.4646, allocations: 8 kB / 0.6556 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.4646, allocations: 0 / 0.6556 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.4646, allocations: 3.984 kB / 0.6556 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006569/0.4712, allocations: 4.048 MB / 0.6596 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.4712, allocations: 4 kB / 0.6596 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004104/0.4716, allocations: 103.8 kB / 0.6597 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.4716, allocations: 8.75 kB / 0.6597 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.359e-05/0.4716, allocations: 19.94 kB / 0.6597 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.428e-05/0.4717, allocations: 15.98 kB / 0.6597 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.4717, allocations: 11.94 kB / 0.6598 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.4732, allocations: 1.239 MB / 0.661 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/0.4736, allocations: 174.6 kB / 0.6611 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.4737, allocations: 23.94 kB / 0.6612 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004623/0.4742, allocations: 23.98 kB / 0.6612 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.4743, allocations: 59.73 kB / 0.6612 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.113e-05/0.4744, allocations: 31.98 kB / 0.6613 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001854/0.4762, allocations: 1.271 MB / 0.6625 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4762, allocations: 0 / 0.6625 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00247/0.4787, allocations: 0.689 MB / 0.6632 GB, free: 8.855 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.002172/0.4809, allocations: 1.845 MB / 0.665 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003323/0.4842, allocations: 1.967 MB / 0.6669 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.4842, allocations: 4.062 kB / 0.6669 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006326/0.4848, allocations: 431.9 kB / 0.6673 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.4861, allocations: 245.5 kB / 0.6675 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03228/0.5184, allocations: 20.88 MB / 0.6879 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002642/0.5211, allocations: 2.271 MB / 0.6902 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002248/0.5233, allocations: 0.9441 MB / 0.6911 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001512/0.5248, allocations: 1.034 MB / 0.6921 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of SimCode: time 1.112e-06/0.5248, allocations: 4 kB / 0.6921 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07275/0.5976, allocations: 35.13 MB / 0.7264 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.7, allocations: 11.8 kB / 0.7264 GB, free: 5.555 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.700854205992073] Failed to read output from testmodel.py, exit status != 0: ['time', 'cutForce.force[3]', 'cutForce.force[2]', 'cutForce.force[1]'] 12.789431533776224 13.042596838 12.684226578 Calling exit ...