Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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.CutForce2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00132/0.00132, allocations: 121.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 204.7 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 247 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2204/0.2204, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB 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.002449/0.002449, allocations: 79.86 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2985, allocations: 62.44 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01132/0.3098, allocations: 9.513 MB / 0.5399 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006409/0.3163, allocations: 2.921 MB / 0.5427 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.3177, allocations: 53 kB / 0.5428 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003863/0.3216, allocations: 2.002 MB / 0.5447 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003043/0.3246, allocations: 1.102 MB / 0.5458 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007277/0.3254, allocations: 290.4 kB / 0.5461 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003355/0.3288, allocations: 2.336 MB / 0.5484 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002611/0.3314, allocations: 2.303 MB / 0.5506 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.3326, allocations: 0.8801 MB / 0.5515 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/0.3341, allocations: 1.149 MB / 0.5526 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003554/0.3344, allocations: 200 kB / 0.5528 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.3358, allocations: 0.6943 MB / 0.5535 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.3368, allocations: 1.099 MB / 0.5545 GB, free: 9.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0013/0.3381, allocations: 1.312 MB / 0.5558 GB, free: 7.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004705/0.3428, allocations: 4.327 MB / 0.5601 GB, free: 3.391 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3428, allocations: 4 kB / 0.5601 GB, free: 3.387 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3429, allocations: 0 / 0.5601 GB, free: 3.387 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.824e-05/0.3429, allocations: 0 / 0.5601 GB, free: 3.387 MB / 414.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.004997/0.348, allocations: 2.938 MB / 0.5629 GB, free: 396 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.348, allocations: 12.03 kB / 0.5629 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006068/0.3486, allocations: 483 kB / 0.5634 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004994/0.3536, allocations: 1.578 MB / 0.5649 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002482/0.3561, allocations: 1.336 MB / 0.5662 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.3563, allocations: 147.8 kB / 0.5664 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003408/0.3566, allocations: 183.9 kB / 0.5666 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009522/0.3661, allocations: 6.254 MB / 0.5727 GB, free: 6.078 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.851e-05/0.3662, allocations: 15.88 kB / 0.5727 GB, free: 6.062 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002471/0.3665, allocations: 87.91 kB / 0.5728 GB, free: 5.977 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002404/0.3689, allocations: 1.344 MB / 0.5741 GB, free: 4.629 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01076/0.3797, allocations: 5.334 MB / 0.5793 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02741/0.4071, allocations: 20.03 MB / 0.5988 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004438/0.4116, allocations: 2.09 MB / 0.6009 GB, free: 8.465 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.4127, allocations: 0.6875 MB / 0.6016 GB, free: 7.773 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006282/0.419, allocations: 3.511 MB / 0.605 GB, free: 4.117 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.419, allocations: 39 kB / 0.605 GB, free: 4.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 4.037e-06/0.4191, allocations: 0 / 0.605 GB, free: 4.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005438/0.4245, allocations: 1.982 MB / 0.607 GB, free: 2.078 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.4246, allocations: 59.78 kB / 0.607 GB, free: 2.008 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002763/0.4273, allocations: 1.938 MB / 0.6089 GB, free: 68 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.757e-05/0.4274, allocations: 33.7 kB / 0.6089 GB, free: 28 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001473/0.4289, allocations: 1.911 MB / 0.6108 GB, free: 14.09 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003345/0.4293, allocations: 321.5 kB / 0.6111 GB, free: 13.78 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008134/0.4301, allocations: 0.6273 MB / 0.6117 GB, free: 13.14 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.4303, allocations: 365.9 kB / 0.6121 GB, free: 12.78 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.4316, allocations: 0.8842 MB / 0.6129 GB, free: 11.89 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00277/0.4344, allocations: 2.751 MB / 0.6156 GB, free: 8.207 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004633/0.439, allocations: 3.962 MB / 0.6195 GB, free: 3.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.122e-05/0.4391, allocations: 20 kB / 0.6195 GB, free: 3.301 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005711/0.4448, allocations: 3.526 MB / 0.623 GB, free: 15.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.878e-05/0.4449, allocations: 38.34 kB / 0.623 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-05/0.445, allocations: 64 kB / 0.6231 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-05/0.4451, allocations: 92.75 kB / 0.6231 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/0.4469, allocations: 0.6589 MB / 0.6238 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001114/0.4471, allocations: 127.5 kB / 0.6239 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.4489, allocations: 432.7 kB / 0.6243 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002523/0.4491, allocations: 187.8 kB / 0.6245 GB, free: 14.19 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 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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.001982/0.4511, allocations: 1.354 MB / 0.6258 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002577/0.4514, allocations: 162.9 kB / 0.626 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000403/0.4518, allocations: 196.9 kB / 0.6262 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/0.4518, allocations: 12 kB / 0.6262 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.4518, allocations: 3.938 kB / 0.6262 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4518, allocations: 0 / 0.6262 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006414/0.4583, allocations: 4.073 MB / 0.6302 GB, free: 8.238 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/0.4583, allocations: 8 kB / 0.6302 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.4587, allocations: 99.81 kB / 0.6303 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.421e-05/0.4587, allocations: 8 kB / 0.6303 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-05/0.4588, allocations: 19.94 kB / 0.6303 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-05/0.4588, allocations: 11.98 kB / 0.6303 GB, free: 8.094 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/0.4588, allocations: 11.94 kB / 0.6303 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.4604, allocations: 1.239 MB / 0.6315 GB, free: 6.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003749/0.4608, allocations: 255.7 kB / 0.6318 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.4609, allocations: 23.92 kB / 0.6318 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/0.4614, allocations: 27.98 kB / 0.6318 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.4615, allocations: 55.81 kB / 0.6319 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.492e-05/0.4616, allocations: 28 kB / 0.6319 GB, free: 6.348 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001804/0.4634, allocations: 1.263 MB / 0.6331 GB, free: 5.094 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4634, allocations: 0 / 0.6331 GB, free: 5.094 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002429/0.4658, allocations: 0.6968 MB / 0.6338 GB, free: 4.395 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.002058/0.4679, allocations: 1.853 MB / 0.6356 GB, free: 2.441 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003264/0.4712, allocations: 2.044 MB / 0.6376 GB, free: 424 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.4712, allocations: 1.938 kB / 0.6376 GB, free: 424 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006286/0.4719, allocations: 465.1 kB / 0.6381 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.4731, allocations: 237 kB / 0.6383 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03073/0.5039, allocations: 20.89 MB / 0.6587 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002464/0.5064, allocations: 2.271 MB / 0.6609 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002036/0.5084, allocations: 0.9518 MB / 0.6618 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/0.5098, allocations: 1.038 MB / 0.6628 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of SimCode: time 8.62e-07/0.5098, allocations: 0 / 0.6628 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06734/0.5772, allocations: 32.58 MB / 0.6947 GB, free: 3.586 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.58, allocations: 20.84 kB / 0.6947 GB, free: 3.566 MB / 0.545 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1)