Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.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.001679/0.001679, allocations: 119.5 kB / 18.51 MB, free: 4.555 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.002075/0.002075, allocations: 205.6 kB / 21.45 MB, free: 1.609 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.477/1.477, allocations: 230.4 MB / 254.7 MB, free: 15.05 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.2614/0.2614, allocations: 46.93 MB / 357.7 MB, free: 10.3 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.CutTorque2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutTorque2",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.002326/0.002326, allocations: 79.86 kB / 0.4917 GB, free: 7.828 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1207, allocations: 66.04 MB / 0.5562 GB, free: 5.656 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.0115/0.1323, allocations: 9.567 MB / 0.5655 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005989/0.1382, allocations: 2.936 MB / 0.5684 GB, free: 9.086 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.1392, allocations: 55.81 kB / 0.5684 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003889/0.1431, allocations: 2.021 MB / 0.5704 GB, free: 7.004 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002692/0.1458, allocations: 1.125 MB / 0.5715 GB, free: 5.875 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007451/0.1466, allocations: 291.4 kB / 0.5718 GB, free: 5.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003185/0.1498, allocations: 2.337 MB / 0.574 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002413/0.1522, allocations: 1.91 MB / 0.5759 GB, free: 1.297 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.1535, allocations: 0.8956 MB / 0.5768 GB, free: 408 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.1552, allocations: 1.25 MB / 0.578 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004014/0.1556, allocations: 192 kB / 0.5782 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.1569, allocations: 0.7292 MB / 0.5789 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001179/0.1581, allocations: 1.137 MB / 0.58 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.1595, allocations: 1.305 MB / 0.5813 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005234/0.1647, allocations: 4.338 MB / 0.5855 GB, free: 7.418 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.1647, allocations: 3.984 kB / 0.5855 GB, free: 7.414 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1647, allocations: 0 / 0.5855 GB, free: 7.414 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001117/0.1649, allocations: 0 / 0.5855 GB, free: 7.414 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.005722/0.1706, allocations: 2.938 MB / 0.5884 GB, free: 4.414 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1706, allocations: 15.97 kB / 0.5884 GB, free: 4.398 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007477/0.1714, allocations: 483.1 kB / 0.5889 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00552/0.1769, allocations: 1.578 MB / 0.5904 GB, free: 2.336 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002753/0.1796, allocations: 1.34 MB / 0.5917 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.1798, allocations: 147.8 kB / 0.5919 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005068/0.1803, allocations: 183.9 kB / 0.592 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2295/0.4098, allocations: 6.246 MB / 0.5981 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.971e-05/0.4099, allocations: 15.56 kB / 0.5982 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002748/0.4101, allocations: 91.92 kB / 0.5982 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002343/0.4125, allocations: 1.337 MB / 0.5995 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0107/0.4232, allocations: 5.335 MB / 0.6048 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02437/0.4475, allocations: 20.07 MB / 0.6244 GB, free: 16.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003722/0.4513, allocations: 1.939 MB / 0.6263 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007685/0.452, allocations: 0.6416 MB / 0.6269 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005341/0.4574, allocations: 3.623 MB / 0.6304 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.4574, allocations: 35 kB / 0.6304 GB, free: 12.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.855e-06/0.4574, allocations: 0 / 0.6304 GB, free: 12.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004722/0.4621, allocations: 1.996 MB / 0.6324 GB, free: 10.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.4622, allocations: 59.78 kB / 0.6325 GB, free: 10.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/0.4642, allocations: 1.944 MB / 0.6344 GB, free: 8.586 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.416e-05/0.4643, allocations: 33.7 kB / 0.6344 GB, free: 8.547 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007172/0.465, allocations: 1.911 MB / 0.6363 GB, free: 6.762 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.4652, allocations: 326.7 kB / 0.6366 GB, free: 6.445 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005775/0.4658, allocations: 0.6179 MB / 0.6372 GB, free: 5.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.804e-05/0.4659, allocations: 357.9 kB / 0.6375 GB, free: 5.465 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009418/0.4668, allocations: 0.8881 MB / 0.6384 GB, free: 4.574 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.4683, allocations: 2.755 MB / 0.6411 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004352/0.4727, allocations: 3.969 MB / 0.6449 GB, free: 11.99 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.553e-05/0.4727, allocations: 20 kB / 0.645 GB, free: 11.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005997/0.4787, allocations: 3.526 MB / 0.6484 GB, free: 8.445 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.386e-05/0.4788, allocations: 32 kB / 0.6484 GB, free: 8.414 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-05/0.4788, allocations: 68 kB / 0.6485 GB, free: 8.348 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.415e-05/0.4789, allocations: 88.66 kB / 0.6486 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/0.4809, allocations: 0.6628 MB / 0.6492 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001095/0.481, allocations: 127.5 kB / 0.6494 GB, free: 7.473 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/0.4829, allocations: 428.8 kB / 0.6498 GB, free: 7.051 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003031/0.4832, allocations: 190.5 kB / 0.6499 GB, free: 6.867 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 (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.002092/0.4853, allocations: 1.338 MB / 0.6513 GB, free: 5.516 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002653/0.4855, allocations: 170.9 kB / 0.6514 GB, free: 5.348 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004029/0.4859, allocations: 196.8 kB / 0.6516 GB, free: 5.148 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.039e-05/0.486, allocations: 18 kB / 0.6516 GB, free: 5.137 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.486, allocations: 0 / 0.6516 GB, free: 5.137 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.486, allocations: 0 / 0.6516 GB, free: 5.137 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006774/0.4928, allocations: 4.04 MB / 0.6556 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.4928, allocations: 4 kB / 0.6556 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004226/0.4932, allocations: 99.83 kB / 0.6557 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/0.4932, allocations: 8 kB / 0.6557 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-05/0.4933, allocations: 23.98 kB / 0.6557 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.208e-05/0.4933, allocations: 11.94 kB / 0.6557 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.4933, allocations: 8 kB / 0.6557 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.4949, allocations: 1.271 MB / 0.657 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003901/0.4953, allocations: 255.7 kB / 0.6572 GB, free: 15.15 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/0.4955, allocations: 23.98 kB / 0.6572 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004862/0.496, allocations: 27.94 kB / 0.6572 GB, free: 15.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.4961, allocations: 51.83 kB / 0.6573 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-05/0.4961, allocations: 36.73 kB / 0.6573 GB, free: 15.01 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001897/0.498, allocations: 1.271 MB / 0.6586 GB, free: 13.75 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.498, allocations: 0 / 0.6586 GB, free: 13.75 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002592/0.5006, allocations: 0.6929 MB / 0.6592 GB, free: 13.05 MB / 478.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.002134/0.5027, allocations: 1.87 MB / 0.6611 GB, free: 11.07 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003246/0.506, allocations: 1.954 MB / 0.663 GB, free: 9.145 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.506, allocations: 7.938 kB / 0.663 GB, free: 9.137 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006082/0.5066, allocations: 439 kB / 0.6634 GB, free: 8.711 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.5079, allocations: 235.9 kB / 0.6636 GB, free: 8.492 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03057/0.5385, allocations: 20.94 MB / 0.6841 GB, free: 1.004 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00257/0.5411, allocations: 2.283 MB / 0.6863 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002109/0.5432, allocations: 0.9554 MB / 0.6872 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001424/0.5446, allocations: 1.05 MB / 0.6883 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of SimCode: time 7.62e-07/0.5446, allocations: 0 / 0.6883 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06773/0.6123, allocations: 32.81 MB / 0.7203 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.29, allocations: 15.08 kB / 0.7203 GB, free: 12 MB / 0.5294 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2_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_CutTorque2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.34543276904151] Failed to read output from testmodel.py, exit status != 0: ['time', 'cutTorque.torque[3]', 'cutTorque.torque[2]', 'cutTorque.torque[1]'] 13.382770707830787 13.407879841 13.238404524 Calling exit ...