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.001843/0.001843, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002151/0.002151, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.583/1.583, allocations: 230.5 MB / 258.2 MB, free: 8.031 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.2331/0.2331, allocations: 46.93 MB / 361.6 MB, free: 4.191 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.002474/0.002474, allocations: 79.88 kB / 0.497 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3035, allocations: 66.08 MB / 0.5615 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01785/0.3213, allocations: 15.08 MB / 0.5762 GB, free: 5.148 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01156/0.3329, allocations: 5.097 MB / 0.5812 GB, free: 36 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002776/0.3357, allocations: 139.4 kB / 0.5814 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01202/0.3477, allocations: 6.071 MB / 0.5873 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008025/0.3557, allocations: 2.813 MB / 0.59 GB, free: 6.984 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003945/0.3597, allocations: 1.583 MB / 0.5916 GB, free: 5.398 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0126/0.3723, allocations: 7.793 MB / 0.5992 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008108/0.3804, allocations: 5.4 MB / 0.6045 GB, free: 8.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00548/0.3858, allocations: 2.988 MB / 0.6074 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006926/0.3928, allocations: 4.093 MB / 0.6114 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002235/0.395, allocations: 0.5703 MB / 0.6119 GB, free: 428 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004307/0.3993, allocations: 1.436 MB / 0.6133 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005536/0.4048, allocations: 3.615 MB / 0.6169 GB, free: 11.35 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007766/0.4126, allocations: 3.841 MB / 0.6206 GB, free: 7.488 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01643/0.429, allocations: 11.68 MB / 0.632 GB, free: 11.76 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.429, allocations: 0 / 0.632 GB, free: 11.76 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4291, allocations: 0 / 0.632 GB, free: 11.76 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004144/0.4295, allocations: 7.938 kB / 0.632 GB, free: 11.75 MB / 478.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.02029/0.4498, allocations: 8.645 MB / 0.6405 GB, free: 3.027 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.4498, allocations: 15.97 kB / 0.6405 GB, free: 3.012 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00276/0.4526, allocations: 1.166 MB / 0.6416 GB, free: 1.836 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01067/0.4632, allocations: 2.566 MB / 0.6441 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01162/0.4749, allocations: 5.325 MB / 0.6493 GB, free: 9.852 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000476/0.4753, allocations: 426.6 kB / 0.6497 GB, free: 9.434 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002342/0.4777, allocations: 0.5388 MB / 0.6503 GB, free: 8.895 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03438/0.5121, allocations: 16.68 MB / 0.6666 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002693/0.5123, allocations: 83.33 kB / 0.6666 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001396/0.5137, allocations: 259.8 kB / 0.6669 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004894/0.5186, allocations: 2.923 MB / 0.6697 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02924/0.5479, allocations: 12.78 MB / 0.6822 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5842/1.132, allocations: 64.11 MB / 0.7448 GB, free: 109.7 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01408/1.146, allocations: 4.888 MB / 0.7496 GB, free: 109.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002644/1.149, allocations: 1.995 MB / 0.7515 GB, free: 109.6 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0145/1.163, allocations: 8.137 MB / 0.7595 GB, free: 107.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/1.163, allocations: 58.91 kB / 0.7595 GB, free: 107.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 5.37e-06/1.163, allocations: 3.703 kB / 0.7596 GB, free: 107.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03439/1.198, allocations: 14.46 MB / 0.7737 GB, free: 99.67 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/1.198, allocations: 145.8 kB / 0.7738 GB, free: 99.5 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007822/1.206, allocations: 6.34 MB / 0.78 GB, free: 93.28 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002939/1.206, allocations: 61.45 kB / 0.7801 GB, free: 93.22 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002493/1.208, allocations: 5.267 MB / 0.7852 GB, free: 88.36 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006826/1.209, allocations: 0.8615 MB / 0.786 GB, free: 87.51 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001916/1.211, allocations: 1.671 MB / 0.7877 GB, free: 85.83 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.165e-05/1.211, allocations: 309 kB / 0.788 GB, free: 85.53 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003158/1.214, allocations: 2.3 MB / 0.7902 GB, free: 83.22 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004983/1.219, allocations: 7.631 MB / 0.7977 GB, free: 73.16 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008314/1.227, allocations: 10.82 MB / 0.8082 GB, free: 59.98 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001299/1.228, allocations: 56 kB / 0.8083 GB, free: 59.93 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01392/1.242, allocations: 9.587 MB / 0.8176 GB, free: 50.34 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/1.242, allocations: 84 kB / 0.8177 GB, free: 50.26 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001987/1.242, allocations: 192.8 kB / 0.8179 GB, free: 50.07 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/1.242, allocations: 248 kB / 0.8181 GB, free: 49.83 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005427/1.247, allocations: 1.906 MB / 0.82 GB, free: 47.92 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001978/1.248, allocations: 374.5 kB / 0.8204 GB, free: 47.55 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005456/1.253, allocations: 415.5 kB / 0.8208 GB, free: 47.15 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000942/1.254, allocations: 0.5112 MB / 0.8213 GB, free: 46.64 MB / 0.5607 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.00448/1.259, allocations: 3.286 MB / 0.8245 GB, free: 43.34 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008206/1.259, allocations: 0.5548 MB / 0.825 GB, free: 42.79 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/1.261, allocations: 0.6283 MB / 0.8256 GB, free: 42.15 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-05/1.261, allocations: 20 kB / 0.8256 GB, free: 42.13 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/1.261, allocations: 4 kB / 0.8257 GB, free: 42.12 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/1.261, allocations: 11.91 kB / 0.8257 GB, free: 42.11 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02076/1.281, allocations: 16.43 MB / 0.8417 GB, free: 25.13 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.429e-05/1.281, allocations: 42 kB / 0.8418 GB, free: 25.09 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/1.283, allocations: 388 kB / 0.8421 GB, free: 24.71 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-05/1.283, allocations: 48 kB / 0.8422 GB, free: 24.67 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/1.283, allocations: 95.98 kB / 0.8423 GB, free: 24.57 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-05/1.283, allocations: 71.72 kB / 0.8423 GB, free: 24.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.311e-05/1.283, allocations: 59.75 kB / 0.8424 GB, free: 24.45 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003677/1.287, allocations: 3.968 MB / 0.8463 GB, free: 19.92 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/1.288, allocations: 0.5624 MB / 0.8468 GB, free: 19.36 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009449/1.289, allocations: 87.97 kB / 0.8469 GB, free: 19.27 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002315/1.291, allocations: 103.9 kB / 0.847 GB, free: 19.17 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003512/1.291, allocations: 270.7 kB / 0.8472 GB, free: 18.9 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/1.292, allocations: 107.9 kB / 0.8474 GB, free: 18.8 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.00602/1.298, allocations: 3.952 MB / 0.8512 GB, free: 14.86 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.51e-07/1.298, allocations: 0 / 0.8512 GB, free: 14.86 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006905/1.305, allocations: 1.301 MB / 0.8525 GB, free: 13.56 MB / 0.5607 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.00454/1.309, allocations: 4.691 MB / 0.8571 GB, free: 8.32 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.006968/1.316, allocations: 5.162 MB / 0.8621 GB, free: 3.203 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-05/1.316, allocations: 8.875 kB / 0.8621 GB, free: 3.195 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001358/1.317, allocations: 1.093 MB / 0.8632 GB, free: 2.113 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005659/1.323, allocations: 0.8518 MB / 0.864 GB, free: 1.277 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1152/1.438, allocations: 65.17 MB / 0.9277 GB, free: 7.008 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009279/1.448, allocations: 5.059 MB / 0.9326 GB, free: 1.91 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.006898/1.454, allocations: 2.514 MB / 0.935 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005184/1.46, allocations: 3.284 MB / 0.9383 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of SimCode: time 8.71e-07/1.46, allocations: 0 / 0.9383 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3992/1.859, allocations: 98.51 MB / 1.034 GB, free: 251.4 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.49/28.35, allocations: 2.078 kB / 1.034 GB, free: 251.4 MB / 0.7013 GB " [Timeout remaining time 632] (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: 31.546963793691248] 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]'] 28.48761973856017 28.504974444 28.071951601 Calling exit ...