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.001476/0.001476, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.00163/0.00163, allocations: 221.3 kB / 22.92 MB, free: 5.559 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.329/1.329, allocations: 230.2 MB / 256.1 MB, free: 8.602 MB / 206.1 MB " [Timeout remaining time 179] 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.203/0.203, allocations: 46.89 MB / 359.3 MB, free: 4.961 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.0022/0.0022, allocations: 79.86 kB / 0.494 GB, free: 9.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2573, allocations: 65.98 MB / 0.5584 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01071/0.268, allocations: 9.585 MB / 0.5678 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005423/0.2734, allocations: 2.959 MB / 0.5707 GB, free: 8.598 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009686/0.2744, allocations: 55.88 kB / 0.5707 GB, free: 8.543 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003653/0.2781, allocations: 2.021 MB / 0.5727 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002476/0.2805, allocations: 1.125 MB / 0.5738 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006995/0.2812, allocations: 295.4 kB / 0.5741 GB, free: 5.098 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002915/0.2842, allocations: 2.326 MB / 0.5763 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002006/0.2862, allocations: 1.621 MB / 0.5779 GB, free: 1.102 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.2873, allocations: 0.8761 MB / 0.5788 GB, free: 228 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.289, allocations: 1.254 MB / 0.58 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004505/0.2894, allocations: 199.9 kB / 0.5802 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.2907, allocations: 0.7215 MB / 0.5809 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001132/0.2918, allocations: 1.133 MB / 0.582 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00149/0.2933, allocations: 1.305 MB / 0.5833 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004547/0.2979, allocations: 4.338 MB / 0.5875 GB, free: 7.242 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2979, allocations: 4 kB / 0.5875 GB, free: 7.238 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2979, allocations: 4 kB / 0.5875 GB, free: 7.234 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001044/0.298, allocations: 3.938 kB / 0.5875 GB, free: 7.23 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.005048/0.303, allocations: 2.93 MB / 0.5904 GB, free: 4.238 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3031, allocations: 12.03 kB / 0.5904 GB, free: 4.227 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006778/0.3037, allocations: 487.1 kB / 0.5909 GB, free: 3.742 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004877/0.3086, allocations: 1.578 MB / 0.5924 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/0.3109, allocations: 1.34 MB / 0.5937 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.311, allocations: 151.8 kB / 0.5938 GB, free: 0.625 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000375/0.3114, allocations: 183.9 kB / 0.594 GB, free: 456 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008908/0.3203, allocations: 6.246 MB / 0.6001 GB, free: 9.926 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.931e-05/0.3203, allocations: 15.88 kB / 0.6001 GB, free: 9.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002544/0.3206, allocations: 87.91 kB / 0.6002 GB, free: 9.824 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001973/0.3225, allocations: 1.34 MB / 0.6015 GB, free: 8.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008655/0.3312, allocations: 5.338 MB / 0.6067 GB, free: 3.117 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0241/0.3553, allocations: 20.08 MB / 0.6264 GB, free: 14.47 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003865/0.3592, allocations: 1.951 MB / 0.6283 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008875/0.3601, allocations: 0.639 MB / 0.6289 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005735/0.3658, allocations: 3.617 MB / 0.6324 GB, free: 7.996 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.3658, allocations: 39 kB / 0.6325 GB, free: 7.949 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.565e-06/0.3658, allocations: 0 / 0.6325 GB, free: 7.949 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005032/0.3709, allocations: 1.99 MB / 0.6344 GB, free: 5.949 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.3709, allocations: 59.84 kB / 0.6345 GB, free: 5.879 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/0.3733, allocations: 1.942 MB / 0.6363 GB, free: 3.934 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/0.3734, allocations: 37.69 kB / 0.6364 GB, free: 3.891 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.3747, allocations: 1.903 MB / 0.6382 GB, free: 1.965 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002812/0.3749, allocations: 341.4 kB / 0.6386 GB, free: 1.629 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007324/0.3757, allocations: 0.6156 MB / 0.6392 GB, free: 1.004 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3758, allocations: 353.9 kB / 0.6395 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/0.3771, allocations: 0.8919 MB / 0.6404 GB, free: 15.76 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002566/0.3796, allocations: 2.751 MB / 0.6431 GB, free: 12.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004152/0.3838, allocations: 3.965 MB / 0.6469 GB, free: 7.191 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.495e-05/0.3838, allocations: 20 kB / 0.647 GB, free: 7.172 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005086/0.3889, allocations: 3.535 MB / 0.6504 GB, free: 3.629 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.667e-05/0.389, allocations: 36 kB / 0.6504 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.428e-05/0.389, allocations: 64 kB / 0.6505 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.573e-05/0.3891, allocations: 91.94 kB / 0.6506 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/0.3909, allocations: 0.655 MB / 0.6512 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.901e-05/0.391, allocations: 132.1 kB / 0.6514 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/0.3926, allocations: 432.8 kB / 0.6518 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002406/0.3928, allocations: 180 kB / 0.6519 GB, free: 2.055 MB / 494.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.001756/0.3946, allocations: 1.342 MB / 0.6533 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/0.3948, allocations: 166.9 kB / 0.6534 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003414/0.3952, allocations: 200.9 kB / 0.6536 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.3952, allocations: 15.92 kB / 0.6536 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3952, allocations: 0 / 0.6536 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.3952, allocations: 3.984 kB / 0.6536 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005533/0.4007, allocations: 4.017 MB / 0.6575 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/0.4007, allocations: 12.03 kB / 0.6576 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003793/0.4011, allocations: 103.8 kB / 0.6577 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-05/0.4011, allocations: 12 kB / 0.6577 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/0.4012, allocations: 24 kB / 0.6577 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/0.4012, allocations: 11.98 kB / 0.6577 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.4012, allocations: 15.88 kB / 0.6577 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.4026, allocations: 1.271 MB / 0.659 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/0.4029, allocations: 247.7 kB / 0.6592 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.4031, allocations: 27.97 kB / 0.6592 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004367/0.4035, allocations: 39.88 kB / 0.6593 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/0.4036, allocations: 47.83 kB / 0.6593 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.584e-05/0.4036, allocations: 31.98 kB / 0.6593 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001648/0.4053, allocations: 1.271 MB / 0.6606 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4053, allocations: 0 / 0.6606 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002234/0.4075, allocations: 0.6852 MB / 0.6612 GB, free: 8.242 MB / 0.4981 GB 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.001861/0.4094, allocations: 1.881 MB / 0.6631 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002841/0.4122, allocations: 1.956 MB / 0.665 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.4122, allocations: 0 / 0.665 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005287/0.4127, allocations: 429.4 kB / 0.6654 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.4138, allocations: 249.1 kB / 0.6656 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0261/0.4399, allocations: 20.94 MB / 0.6861 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002268/0.4422, allocations: 2.279 MB / 0.6883 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001881/0.4441, allocations: 0.952 MB / 0.6892 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/0.4453, allocations: 1.042 MB / 0.6903 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of SimCode: time 1.082e-06/0.4453, allocations: 0 / 0.6903 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06255/0.5079, allocations: 32.94 MB / 0.7224 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.79, allocations: 3.938 kB / 0.7224 GB, free: 7.031 MB / 0.5606 GB " [Timeout remaining time 649] (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: 13.533337032000418]