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.001949/0.001949, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.002366/0.002366, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.479/1.479, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2288/0.2288, allocations: 46.93 MB / 357.7 MB, free: 10.23 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.002502/0.002502, allocations: 83.86 kB / 0.4917 GB, free: 7.781 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1235, allocations: 66.03 MB / 0.5561 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.0123/0.1358, allocations: 9.564 MB / 0.5655 GB, free: 12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006765/0.1426, allocations: 2.94 MB / 0.5684 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.1441, allocations: 55.81 kB / 0.5684 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004512/0.1486, allocations: 2.021 MB / 0.5704 GB, free: 6.965 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003059/0.1516, allocations: 1.136 MB / 0.5715 GB, free: 5.824 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008897/0.1525, allocations: 283.4 kB / 0.5718 GB, free: 5.547 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003585/0.1561, allocations: 2.329 MB / 0.574 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002641/0.1588, allocations: 1.914 MB / 0.5759 GB, free: 1.258 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.1602, allocations: 0.8956 MB / 0.5768 GB, free: 368 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002/0.1622, allocations: 1.246 MB / 0.578 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00058/0.1628, allocations: 192 kB / 0.5782 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.1643, allocations: 0.7254 MB / 0.5789 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001447/0.1658, allocations: 1.137 MB / 0.58 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001822/0.1676, allocations: 1.312 MB / 0.5813 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005401/0.173, allocations: 4.334 MB / 0.5855 GB, free: 7.383 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.173, allocations: 0 / 0.5855 GB, free: 7.383 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.604e-06/0.173, allocations: 0 / 0.5855 GB, free: 7.383 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001378/0.1731, allocations: 0 / 0.5855 GB, free: 7.383 MB / 446.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.006542/0.1797, allocations: 2.942 MB / 0.5884 GB, free: 4.379 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.1797, allocations: 8.031 kB / 0.5884 GB, free: 4.371 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001044/0.1808, allocations: 491 kB / 0.5889 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005617/0.1864, allocations: 1.578 MB / 0.5904 GB, free: 2.301 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002853/0.1892, allocations: 1.34 MB / 0.5917 GB, free: 0.918 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.1894, allocations: 147.8 kB / 0.5919 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005636/0.1899, allocations: 183.9 kB / 0.592 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2563/0.4462, allocations: 6.247 MB / 0.5981 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.999e-05/0.4463, allocations: 12.72 kB / 0.5981 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004708/0.4468, allocations: 88.53 kB / 0.5982 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002982/0.4498, allocations: 1.344 MB / 0.5995 GB, free: 31.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01267/0.4624, allocations: 5.329 MB / 0.6047 GB, free: 29.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02961/0.4921, allocations: 20.04 MB / 0.6243 GB, free: 16.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004643/0.4967, allocations: 2.004 MB / 0.6263 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.4977, allocations: 0.6382 MB / 0.6269 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00638/0.5041, allocations: 3.511 MB / 0.6303 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.5041, allocations: 35 kB / 0.6304 GB, free: 12.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 4.298e-06/0.5041, allocations: 0 / 0.6304 GB, free: 12.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.005177/0.5093, allocations: 1.982 MB / 0.6323 GB, free: 10.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.5093, allocations: 55.84 kB / 0.6323 GB, free: 10.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/0.5118, allocations: 1.948 MB / 0.6342 GB, free: 8.691 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.5119, allocations: 35.73 kB / 0.6343 GB, free: 8.652 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008793/0.5128, allocations: 1.908 MB / 0.6361 GB, free: 6.871 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/0.5131, allocations: 324.6 kB / 0.6365 GB, free: 6.559 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006746/0.5137, allocations: 0.6217 MB / 0.6371 GB, free: 5.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.769e-05/0.5138, allocations: 358.4 kB / 0.6374 GB, free: 5.574 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.5149, allocations: 0.892 MB / 0.6383 GB, free: 4.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.5166, allocations: 2.747 MB / 0.641 GB, free: 1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004574/0.5212, allocations: 3.972 MB / 0.6448 GB, free: 12.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.053e-05/0.5212, allocations: 20 kB / 0.6449 GB, free: 12.08 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006844/0.5281, allocations: 3.528 MB / 0.6483 GB, free: 8.551 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.424e-05/0.5281, allocations: 32 kB / 0.6483 GB, free: 8.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001103/0.5282, allocations: 79.3 kB / 0.6484 GB, free: 8.445 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-05/0.5283, allocations: 84.81 kB / 0.6485 GB, free: 8.363 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002225/0.5306, allocations: 0.655 MB / 0.6491 GB, free: 7.707 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001343/0.5307, allocations: 127.5 kB / 0.6492 GB, free: 7.582 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/0.533, allocations: 432.5 kB / 0.6497 GB, free: 7.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005056/0.5335, allocations: 191.9 kB / 0.6498 GB, free: 6.973 MB / 462.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.002633/0.5361, allocations: 1.338 MB / 0.6512 GB, free: 5.621 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000357/0.5365, allocations: 166.4 kB / 0.6513 GB, free: 5.461 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005524/0.537, allocations: 196.9 kB / 0.6515 GB, free: 5.262 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.498e-05/0.5371, allocations: 8 kB / 0.6515 GB, free: 5.254 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.517e-06/0.5371, allocations: 0 / 0.6515 GB, free: 5.254 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.5371, allocations: 7.922 kB / 0.6515 GB, free: 5.246 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009089/0.5462, allocations: 4.079 MB / 0.6555 GB, free: 1.027 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/0.5462, allocations: 4 kB / 0.6555 GB, free: 1.023 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004995/0.5467, allocations: 103.8 kB / 0.6556 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.791e-05/0.5467, allocations: 11.94 kB / 0.6556 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-05/0.5468, allocations: 16 kB / 0.6556 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/0.5468, allocations: 8 kB / 0.6556 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/0.5468, allocations: 7.938 kB / 0.6556 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.5487, allocations: 1.251 MB / 0.6569 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005673/0.5492, allocations: 255.7 kB / 0.6571 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003691/0.5496, allocations: 27.92 kB / 0.6571 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006797/0.5503, allocations: 19.98 kB / 0.6572 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.5504, allocations: 51.83 kB / 0.6572 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.676e-05/0.5505, allocations: 31.94 kB / 0.6572 GB, free: 15.14 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002531/0.553, allocations: 1.271 MB / 0.6585 GB, free: 13.88 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.553, allocations: 0 / 0.6585 GB, free: 13.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003143/0.5562, allocations: 0.6852 MB / 0.6591 GB, free: 13.19 MB / 478.1 MB 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.002591/0.5588, allocations: 1.857 MB / 0.661 GB, free: 11.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003686/0.5625, allocations: 1.951 MB / 0.6629 GB, free: 9.289 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/0.5625, allocations: 1.938 kB / 0.6629 GB, free: 9.289 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006869/0.5632, allocations: 441.8 kB / 0.6633 GB, free: 8.859 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.5649, allocations: 234.3 kB / 0.6635 GB, free: 8.645 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04004/0.605, allocations: 20.87 MB / 0.6839 GB, free: 1.246 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003655/0.6086, allocations: 2.275 MB / 0.6861 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002406/0.611, allocations: 0.9542 MB / 0.687 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001811/0.6128, allocations: 1.038 MB / 0.6881 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/0.6128, allocations: 0 / 0.6881 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07397/0.6868, allocations: 32.77 MB / 0.7201 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.63, allocations: 12.03 kB / 0.7201 GB, free: 12.31 MB / 0.5294 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.751350128091872] Failed to read output from testmodel.py, exit status != 0: ['time', 'cutForce.force[3]', 'cutForce.force[2]', 'cutForce.force[1]'] 12.721543211955577 12.746804836999999 12.568441523 Calling exit ...