Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.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.001692/0.001692, 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.002321/0.002321, 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.503/1.503, 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.236/0.236, allocations: 46.92 MB / 357.7 MB, free: 10.24 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.CutForce,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce",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.002478/0.002478, allocations: 79.86 kB / 0.4917 GB, free: 7.777 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.122, allocations: 66.05 MB / 0.5562 GB, free: 5.602 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01795/0.1399, allocations: 15.05 MB / 0.5709 GB, free: 6.484 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0112/0.1511, allocations: 5.067 MB / 0.5758 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002348/0.1535, allocations: 139.3 kB / 0.5759 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01169/0.1652, allocations: 6.044 MB / 0.5818 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007715/0.1729, allocations: 2.813 MB / 0.5846 GB, free: 8.379 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003967/0.1768, allocations: 1.575 MB / 0.5861 GB, free: 6.801 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2823/0.4592, allocations: 7.793 MB / 0.5937 GB, free: 6.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01157/0.4708, allocations: 6.108 MB / 0.5997 GB, free: 5.719 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007097/0.4779, allocations: 2.986 MB / 0.6026 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008479/0.4863, allocations: 4.092 MB / 0.6066 GB, free: 5.184 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003286/0.4896, allocations: 0.5717 MB / 0.6072 GB, free: 5.184 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006183/0.4958, allocations: 1.439 MB / 0.6086 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006885/0.5027, allocations: 3.61 MB / 0.6121 GB, free: 4.762 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009177/0.5119, allocations: 3.847 MB / 0.6159 GB, free: 2.578 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01808/0.5299, allocations: 11.68 MB / 0.6273 GB, free: 13.33 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/0.53, allocations: 0 / 0.6273 GB, free: 13.33 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.53, allocations: 0 / 0.6273 GB, free: 13.33 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005337/0.5305, allocations: 1.594 kB / 0.6273 GB, free: 13.33 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.02613/0.5566, allocations: 8.728 MB / 0.6358 GB, free: 7.512 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.5567, allocations: 13.95 kB / 0.6358 GB, free: 7.508 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003962/0.5606, allocations: 1.166 MB / 0.6369 GB, free: 6.758 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/0.5725, allocations: 2.563 MB / 0.6394 GB, free: 5.426 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01169/0.5842, allocations: 5.429 MB / 0.6447 GB, free: 1.512 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004434/0.5846, allocations: 433.9 kB / 0.6452 GB, free: 1.145 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002222/0.5869, allocations: 0.5311 MB / 0.6457 GB, free: 0.668 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03644/0.6233, allocations: 16.68 MB / 0.662 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002688/0.6236, allocations: 76.42 kB / 0.662 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001921/0.6255, allocations: 264.6 kB / 0.6623 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005189/0.6307, allocations: 2.925 MB / 0.6651 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03111/0.6618, allocations: 12.79 MB / 0.6776 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09805/0.7598, allocations: 64.08 MB / 0.7402 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01732/0.7772, allocations: 5.356 MB / 0.7455 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003666/0.7808, allocations: 1.993 MB / 0.7474 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02063/0.8015, allocations: 9.939 MB / 0.7571 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.434e-05/0.8015, allocations: 52.75 kB / 0.7572 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=182): time 6.352e-06/0.8015, allocations: 0 / 0.7572 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=206): time 0.04808/0.8496, allocations: 14.46 MB / 0.7713 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.8497, allocations: 149.8 kB / 0.7714 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01308/0.8628, allocations: 6.339 MB / 0.7776 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003579/0.8632, allocations: 56.38 kB / 0.7777 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005113/0.8683, allocations: 5.284 MB / 0.7828 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001111/0.8694, allocations: 0.8425 MB / 0.7836 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003785/0.8732, allocations: 1.67 MB / 0.7853 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.8733, allocations: 301.1 kB / 0.7856 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004668/0.878, allocations: 2.292 MB / 0.7878 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01095/0.8889, allocations: 7.641 MB / 0.7953 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01475/0.9037, allocations: 10.82 MB / 0.8058 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002105/0.9039, allocations: 52 kB / 0.8059 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.02098/0.9249, allocations: 9.603 MB / 0.8153 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002795/0.9251, allocations: 92.31 kB / 0.8153 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003843/0.9255, allocations: 189.6 kB / 0.8155 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003907/0.9259, allocations: 248 kB / 0.8158 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00694/0.9329, allocations: 1.91 MB / 0.8176 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004695/0.9333, allocations: 370.6 kB / 0.818 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006713/0.94, allocations: 407.6 kB / 0.8184 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001605/0.9416, allocations: 0.511 MB / 0.8189 GB, free: 8.598 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1027): * Single equations (assignments): 1016 * Array equations: 11 * 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.0076/0.9492, allocations: 3.284 MB / 0.8221 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00131/0.9506, allocations: 0.5625 MB / 0.8226 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/0.9527, allocations: 0.6322 MB / 0.8232 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.895e-05/0.9527, allocations: 23.12 kB / 0.8233 GB, free: 4.074 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.9527, allocations: 4 kB / 0.8233 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.669e-05/0.9528, allocations: 7.969 kB / 0.8233 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0332/0.986, allocations: 16.46 MB / 0.8394 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.844e-05/0.9861, allocations: 40.88 kB / 0.8394 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/0.9876, allocations: 375.3 kB / 0.8397 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.683e-05/0.9877, allocations: 52 kB / 0.8398 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003382/0.988, allocations: 90.02 kB / 0.8399 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.096e-05/0.9881, allocations: 79.66 kB / 0.84 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.507e-05/0.9881, allocations: 59.75 kB / 0.84 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2802/1.268, allocations: 3.969 MB / 0.8439 GB, free: 218.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001706/1.27, allocations: 0.6344 MB / 0.8445 GB, free: 218.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001467/1.271, allocations: 89.81 kB / 0.8446 GB, free: 218.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003148/1.275, allocations: 101.2 kB / 0.8447 GB, free: 218.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006165/1.275, allocations: 263.4 kB / 0.8449 GB, free: 218.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002776/1.276, allocations: 108.7 kB / 0.845 GB, free: 218.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.01032/1.286, allocations: 3.95 MB / 0.8489 GB, free: 218.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.31e-07/1.286, allocations: 1.125 kB / 0.8489 GB, free: 218.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01001/1.296, allocations: 1.301 MB / 0.8502 GB, free: 218.6 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.006902/1.303, allocations: 4.685 MB / 0.8548 GB, free: 215.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.009347/1.312, allocations: 5.164 MB / 0.8598 GB, free: 214 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.355e-05/1.312, allocations: 5.828 kB / 0.8598 GB, free: 214 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001769/1.314, allocations: 1.09 MB / 0.8609 GB, free: 213.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007085/1.321, allocations: 0.8555 MB / 0.8617 GB, free: 213.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1032/1.424, allocations: 65.17 MB / 0.9253 GB, free: 159.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01031/1.435, allocations: 5.059 MB / 0.9303 GB, free: 155.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006757/1.441, allocations: 2.516 MB / 0.9327 GB, free: 154.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006194/1.447, allocations: 3.276 MB / 0.9359 GB, free: 150.8 MB / 0.6544 GB Notification: Performance of SimCode: time 1.603e-06/1.447, allocations: 10.12 kB / 0.936 GB, free: 150.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1391/1.587, allocations: 92.26 MB / 1.026 GB, free: 58.93 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.85/31.43, allocations: 7.969 kB / 1.026 GB, free: 58.92 MB / 0.6544 GB " [Timeout remaining time 628] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce_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_CutForce.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 34.589759779162705] Failed to read output from testmodel.py, exit status != 0: ['time', 'cutForce1a.force[3]', 'cutForce2a.force[3]', 'cutForce2b.force[3]', 'cutForce1a.force[2]', 'cutForce2a.force[2]', 'cutForce2b.force[2]', 'cutForce1a.force[1]', 'cutForce2a.force[1]', 'cutForce2b.force[1]'] 31.602459737099707 31.622867679 31.088336464 Calling exit ...