Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.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.001663/0.001663, allocations: 118.2 kB / 18.45 MB, free: 4.613 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.00203/0.00203, allocations: 211.3 kB / 21.41 MB, free: 1.66 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.448/1.448, allocations: 227.4 MB / 251.7 MB, free: 15.92 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.2265/0.2265, allocations: 46.16 MB / 351.1 MB, free: 14.43 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.CutTorque3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutTorque3",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.002463/0.002463, allocations: 83.84 kB / 489.7 MB, free: 17.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.12, allocations: 62.45 MB / 0.5392 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01232/0.1324, allocations: 9.519 MB / 0.5485 GB, free: 9.055 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006526/0.1389, allocations: 2.924 MB / 0.5513 GB, free: 6.121 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001591/0.1406, allocations: 47.94 kB / 0.5514 GB, free: 6.074 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004658/0.1453, allocations: 1.998 MB / 0.5533 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003246/0.1486, allocations: 1.105 MB / 0.5544 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009859/0.1496, allocations: 291.4 kB / 0.5547 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00373/0.1534, allocations: 2.333 MB / 0.5569 GB, free: 348 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003309/0.1567, allocations: 2.309 MB / 0.5592 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.1583, allocations: 0.88 MB / 0.5601 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/0.1602, allocations: 1.156 MB / 0.5612 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005838/0.1608, allocations: 192 kB / 0.5614 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.1624, allocations: 0.6943 MB / 0.5621 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001427/0.1638, allocations: 1.103 MB / 0.5631 GB, free: 9.957 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001979/0.1658, allocations: 1.308 MB / 0.5644 GB, free: 8.641 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005572/0.1714, allocations: 4.338 MB / 0.5686 GB, free: 4.285 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1715, allocations: 0 / 0.5686 GB, free: 4.285 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1715, allocations: 0 / 0.5686 GB, free: 4.285 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001433/0.1716, allocations: 4 kB / 0.5686 GB, free: 4.281 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.006202/0.1778, allocations: 2.93 MB / 0.5715 GB, free: 1.289 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.1779, allocations: 8.031 kB / 0.5715 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001031/0.1789, allocations: 483.1 kB / 0.572 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005504/0.1845, allocations: 1.582 MB / 0.5735 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002725/0.1872, allocations: 1.34 MB / 0.5748 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.1874, allocations: 147.8 kB / 0.575 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006737/0.1881, allocations: 191.9 kB / 0.5752 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01179/0.1999, allocations: 6.25 MB / 0.5813 GB, free: 6.977 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.187e-05/0.2, allocations: 15.88 kB / 0.5813 GB, free: 6.961 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006081/0.2006, allocations: 87.91 kB / 0.5814 GB, free: 6.875 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00235/0.203, allocations: 1.34 MB / 0.5827 GB, free: 5.531 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/0.2139, allocations: 5.334 MB / 0.5879 GB, free: 180 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2849/0.4988, allocations: 20.07 MB / 0.6075 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004344/0.5032, allocations: 1.998 MB / 0.6094 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/0.5043, allocations: 0.6968 MB / 0.6101 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006947/0.5113, allocations: 3.629 MB / 0.6136 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.5114, allocations: 37.22 kB / 0.6137 GB, free: 26.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 4.398e-06/0.5114, allocations: 0 / 0.6137 GB, free: 26.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.005347/0.5167, allocations: 1.99 MB / 0.6156 GB, free: 26.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.5168, allocations: 60.61 kB / 0.6157 GB, free: 26.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002987/0.5198, allocations: 1.942 MB / 0.6176 GB, free: 25.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.377e-05/0.5199, allocations: 39.23 kB / 0.6176 GB, free: 25.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009604/0.5208, allocations: 1.909 MB / 0.6195 GB, free: 23.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/0.5211, allocations: 332 kB / 0.6198 GB, free: 23.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008448/0.522, allocations: 0.6191 MB / 0.6204 GB, free: 22.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.085e-05/0.5221, allocations: 351.4 kB / 0.6207 GB, free: 22.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.5233, allocations: 0.8876 MB / 0.6216 GB, free: 22.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001997/0.5253, allocations: 2.753 MB / 0.6243 GB, free: 19.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003169/0.5285, allocations: 3.981 MB / 0.6282 GB, free: 15.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.217e-05/0.5286, allocations: 15.84 kB / 0.6282 GB, free: 15.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004815/0.5334, allocations: 3.531 MB / 0.6316 GB, free: 13.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.626e-05/0.5335, allocations: 38.02 kB / 0.6317 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.062e-05/0.5336, allocations: 67.41 kB / 0.6317 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.22e-05/0.5337, allocations: 87.88 kB / 0.6318 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.5354, allocations: 0.6531 MB / 0.6325 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.44e-05/0.5355, allocations: 125.9 kB / 0.6326 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/0.5375, allocations: 426.8 kB / 0.633 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002779/0.5378, allocations: 186 kB / 0.6332 GB, free: 13.1 MB / 446.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 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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.001738/0.5395, allocations: 1.346 MB / 0.6345 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002665/0.5398, allocations: 166.8 kB / 0.6346 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003906/0.5402, allocations: 200.9 kB / 0.6348 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/0.5402, allocations: 11.75 kB / 0.6348 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.5402, allocations: 4 kB / 0.6349 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.5402, allocations: 7.922 kB / 0.6349 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006358/0.5466, allocations: 4.016 MB / 0.6388 GB, free: 7.453 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.5467, allocations: 4.844 kB / 0.6388 GB, free: 7.449 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004146/0.5471, allocations: 108.7 kB / 0.6389 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/0.5471, allocations: 12 kB / 0.6389 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-05/0.5472, allocations: 20 kB / 0.6389 GB, free: 7.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/0.5472, allocations: 11.94 kB / 0.6389 GB, free: 7.301 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.844e-06/0.5472, allocations: 15.88 kB / 0.6389 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.5484, allocations: 1.267 MB / 0.6402 GB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000378/0.5488, allocations: 255.7 kB / 0.6404 GB, free: 5.645 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003141/0.5492, allocations: 19.94 kB / 0.6404 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005788/0.5497, allocations: 35.92 kB / 0.6405 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.613e-05/0.5498, allocations: 63.7 kB / 0.6405 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.661e-05/0.5499, allocations: 28 kB / 0.6406 GB, free: 5.504 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001633/0.5516, allocations: 1.267 MB / 0.6418 GB, free: 4.246 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5516, allocations: 0 / 0.6418 GB, free: 4.246 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002875/0.5545, allocations: 0.6929 MB / 0.6425 GB, free: 3.555 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.001866/0.5564, allocations: 1.873 MB / 0.6443 GB, free: 1.566 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002743/0.5591, allocations: 2.048 MB / 0.6463 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.5592, allocations: 4.125 kB / 0.6463 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006358/0.5598, allocations: 460.4 kB / 0.6468 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.5614, allocations: 234.4 kB / 0.647 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03477/0.5962, allocations: 20.94 MB / 0.6674 GB, free: 7.391 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003094/0.5993, allocations: 2.275 MB / 0.6696 GB, free: 5.086 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002302/0.6016, allocations: 0.9576 MB / 0.6706 GB, free: 4.125 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001806/0.6035, allocations: 1.038 MB / 0.6716 GB, free: 3.086 MB / 478.1 MB Notification: Performance of SimCode: time 1.312e-06/0.6035, allocations: 4 kB / 0.6716 GB, free: 3.082 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06828/0.6718, allocations: 32.61 MB / 0.7035 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.96, allocations: 8.641 kB / 0.7035 GB, free: 2.598 MB / 0.4981 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3_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_CutTorque3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.90397251304239] Failed to read output from testmodel.py, exit status != 0: ['time', 'cutTorque.torque[3]', 'cutTorque.torque[2]', 'cutTorque.torque[1]'] 13.047310521942563 13.064345224 12.889533706 Calling exit ...