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.001316/0.001316, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.00145/0.00145, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.464/1.464, allocations: 230.4 MB / 254.7 MB, free: 15.19 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.2268/0.2268, allocations: 46.93 MB / 357.7 MB, free: 10.21 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.002336/0.002336, allocations: 75.88 kB / 0.4917 GB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1161, allocations: 66.04 MB / 0.5561 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01145/0.1276, allocations: 9.567 MB / 0.5655 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006155/0.1337, allocations: 2.944 MB / 0.5684 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.1349, allocations: 55.81 kB / 0.5684 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003945/0.1388, allocations: 2.021 MB / 0.5704 GB, free: 6.922 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002896/0.1417, allocations: 1.125 MB / 0.5715 GB, free: 5.793 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007958/0.1425, allocations: 287.4 kB / 0.5718 GB, free: 5.512 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003519/0.146, allocations: 2.332 MB / 0.574 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002435/0.1485, allocations: 1.91 MB / 0.5759 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.1498, allocations: 0.8956 MB / 0.5768 GB, free: 332 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/0.1515, allocations: 1.254 MB / 0.578 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000386/0.1519, allocations: 192 kB / 0.5782 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.1532, allocations: 0.7255 MB / 0.5789 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001217/0.1544, allocations: 1.137 MB / 0.58 GB, free: 13.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00145/0.1559, allocations: 1.305 MB / 0.5813 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0051/0.161, allocations: 4.338 MB / 0.5855 GB, free: 7.344 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.161, allocations: 0 / 0.5855 GB, free: 7.344 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.161, allocations: 0 / 0.5855 GB, free: 7.344 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.571e-05/0.1611, allocations: 0 / 0.5855 GB, free: 7.344 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.005531/0.1666, allocations: 2.942 MB / 0.5884 GB, free: 4.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1666, allocations: 8.031 kB / 0.5884 GB, free: 4.332 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007448/0.1674, allocations: 487.1 kB / 0.5889 GB, free: 3.848 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005486/0.1729, allocations: 1.582 MB / 0.5904 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002777/0.1756, allocations: 1.34 MB / 0.5917 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.1758, allocations: 147.8 kB / 0.5919 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005442/0.1763, allocations: 187.9 kB / 0.592 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2401/0.4164, allocations: 6.244 MB / 0.5981 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.257e-05/0.4165, allocations: 13.31 kB / 0.5982 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000287/0.4167, allocations: 94.08 kB / 0.5982 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002337/0.4191, allocations: 1.34 MB / 0.5995 GB, free: 31.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01057/0.4297, allocations: 5.334 MB / 0.6048 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02378/0.4534, allocations: 20.07 MB / 0.6244 GB, free: 16.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003638/0.4571, allocations: 1.945 MB / 0.6263 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000743/0.4578, allocations: 0.6331 MB / 0.6269 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005411/0.4632, allocations: 3.633 MB / 0.6304 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.87e-05/0.4632, allocations: 39 kB / 0.6305 GB, free: 12.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.645e-06/0.4632, allocations: 0 / 0.6305 GB, free: 12.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004848/0.4681, allocations: 1.99 MB / 0.6324 GB, free: 10.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.4681, allocations: 55.84 kB / 0.6325 GB, free: 10.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002349/0.4705, allocations: 1.944 MB / 0.6344 GB, free: 8.496 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.715e-05/0.4705, allocations: 37.7 kB / 0.6344 GB, free: 8.453 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007682/0.4713, allocations: 1.91 MB / 0.6363 GB, free: 6.668 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.4715, allocations: 325.9 kB / 0.6366 GB, free: 6.355 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006557/0.4722, allocations: 0.6219 MB / 0.6372 GB, free: 5.727 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.563e-05/0.4723, allocations: 357.9 kB / 0.6375 GB, free: 5.371 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.4733, allocations: 0.8881 MB / 0.6384 GB, free: 4.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/0.4748, allocations: 2.747 MB / 0.6411 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004334/0.4792, allocations: 3.971 MB / 0.6449 GB, free: 11.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.763e-05/0.4792, allocations: 20 kB / 0.645 GB, free: 11.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005987/0.4852, allocations: 3.534 MB / 0.6484 GB, free: 8.348 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.229e-05/0.4853, allocations: 32 kB / 0.6484 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.782e-05/0.4853, allocations: 68 kB / 0.6485 GB, free: 8.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.761e-05/0.4854, allocations: 91.94 kB / 0.6486 GB, free: 8.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/0.4874, allocations: 0.6518 MB / 0.6492 GB, free: 7.508 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001098/0.4875, allocations: 131.5 kB / 0.6494 GB, free: 7.379 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/0.4894, allocations: 431.1 kB / 0.6498 GB, free: 6.957 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002685/0.4897, allocations: 188 kB / 0.6499 GB, free: 6.773 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.001999/0.4917, allocations: 1.336 MB / 0.6513 GB, free: 5.426 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002536/0.492, allocations: 166.9 kB / 0.6514 GB, free: 5.262 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004108/0.4924, allocations: 204.8 kB / 0.6516 GB, free: 5.055 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/0.4924, allocations: 8 kB / 0.6516 GB, free: 5.047 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.4924, allocations: 4 kB / 0.6516 GB, free: 5.043 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.4924, allocations: 3.984 kB / 0.6516 GB, free: 5.039 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006573/0.499, allocations: 4.026 MB / 0.6556 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/0.499, allocations: 8 kB / 0.6556 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004278/0.4994, allocations: 103.8 kB / 0.6557 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/0.4994, allocations: 8 kB / 0.6557 GB, free: 0.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/0.4995, allocations: 23.94 kB / 0.6557 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-05/0.4995, allocations: 11.94 kB / 0.6557 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/0.4995, allocations: 11.98 kB / 0.6557 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.5012, allocations: 1.271 MB / 0.657 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004088/0.5016, allocations: 259.7 kB / 0.6572 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.5018, allocations: 20 kB / 0.6572 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004952/0.5022, allocations: 31.92 kB / 0.6573 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.5024, allocations: 55.77 kB / 0.6573 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.884e-05/0.5024, allocations: 33.12 kB / 0.6573 GB, free: 14.91 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001879/0.5043, allocations: 1.275 MB / 0.6586 GB, free: 13.65 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5043, allocations: 0 / 0.6586 GB, free: 13.65 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002577/0.5069, allocations: 0.6852 MB / 0.6592 GB, free: 12.96 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.002116/0.509, allocations: 1.87 MB / 0.6611 GB, free: 10.98 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003177/0.5122, allocations: 1.966 MB / 0.663 GB, free: 9.039 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.5122, allocations: 0 / 0.663 GB, free: 9.039 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006043/0.5128, allocations: 431 kB / 0.6634 GB, free: 8.621 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.5141, allocations: 242.7 kB / 0.6636 GB, free: 8.395 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03227/0.5463, allocations: 20.94 MB / 0.6841 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003178/0.5495, allocations: 2.279 MB / 0.6863 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002229/0.5518, allocations: 0.9575 MB / 0.6873 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001586/0.5533, allocations: 1.046 MB / 0.6883 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of SimCode: time 8.52e-07/0.5533, allocations: 0 / 0.6883 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07242/0.6258, allocations: 32.81 MB / 0.7203 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.19, allocations: 19.83 kB / 0.7203 GB, free: 11.9 MB / 0.5294 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: 16.19567270204425] Failed to read output from testmodel.py, exit status != 0: ['time', 'cutTorque.torque[3]', 'cutTorque.torque[2]', 'cutTorque.torque[1]'] 13.283635084982961 13.307544108 13.141995474 Calling exit ...