Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001687/0.001687, allocations: 103.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001937/0.001937, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.226/0.226, allocations: 46.12 MB / 344.2 MB, free: 11.54 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.002276/0.002276, allocations: 80.52 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1153, allocations: 62.45 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01244/0.1278, allocations: 9.526 MB / 489.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006329/0.1342, allocations: 2.924 MB / 492.7 MB, free: 8.613 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009957/0.1352, allocations: 47.94 kB / 492.7 MB, free: 8.566 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004262/0.1395, allocations: 2.002 MB / 494.7 MB, free: 6.559 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002807/0.1423, allocations: 1.105 MB / 495.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000726/0.1431, allocations: 291.4 kB / 496.1 MB, free: 5.164 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00298/0.1461, allocations: 2.326 MB / 498.4 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003062/0.1491, allocations: 2.301 MB / 0.489 GB, free: 500 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00171/0.1509, allocations: 0.8839 MB / 0.4898 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002008/0.1529, allocations: 1.156 MB / 0.491 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004656/0.1534, allocations: 192 kB / 0.4912 GB, free: 14.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.1548, allocations: 0.6904 MB / 0.4918 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00119/0.156, allocations: 1.11 MB / 0.4929 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00189/0.1579, allocations: 1.305 MB / 0.4942 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005533/0.1635, allocations: 4.163 MB / 0.4983 GB, free: 6.961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.1636, allocations: 0 / 0.4983 GB, free: 6.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1636, allocations: 0 / 0.4983 GB, free: 6.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001272/0.1637, allocations: 0 / 0.4983 GB, free: 6.961 MB / 382.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.006154/0.1699, allocations: 2.861 MB / 0.501 GB, free: 4.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.1699, allocations: 11.97 kB / 0.5011 GB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006886/0.1706, allocations: 483.1 kB / 0.5015 GB, free: 3.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005301/0.1759, allocations: 1.557 MB / 0.503 GB, free: 1.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/0.179, allocations: 1.32 MB / 0.5043 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/0.1792, allocations: 147.8 kB / 0.5045 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004402/0.1796, allocations: 183.9 kB / 0.5046 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1816/0.3613, allocations: 6.244 MB / 0.5107 GB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.498e-05/0.3614, allocations: 13.38 kB / 0.5108 GB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002288/0.3616, allocations: 87.22 kB / 0.5108 GB, free: 38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001882/0.3635, allocations: 1.343 MB / 0.5122 GB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01063/0.3741, allocations: 5.333 MB / 0.5174 GB, free: 36.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02307/0.3972, allocations: 20.12 MB / 0.537 GB, free: 21.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003661/0.4009, allocations: 2.093 MB / 0.5391 GB, free: 19.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007927/0.4018, allocations: 0.69 MB / 0.5397 GB, free: 18.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004783/0.4066, allocations: 3.483 MB / 0.5431 GB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.4066, allocations: 43 kB / 0.5432 GB, free: 15.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.156e-06/0.4066, allocations: 0 / 0.5432 GB, free: 15.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004416/0.4111, allocations: 1.97 MB / 0.5451 GB, free: 13.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.4111, allocations: 62.58 kB / 0.5452 GB, free: 12.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/0.4129, allocations: 1.948 MB / 0.5471 GB, free: 11.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.4129, allocations: 34.88 kB / 0.5471 GB, free: 10.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005839/0.4135, allocations: 1.833 MB / 0.5489 GB, free: 9.109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.4137, allocations: 316 kB / 0.5492 GB, free: 8.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005363/0.4142, allocations: 0.619 MB / 0.5498 GB, free: 8.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.574e-05/0.4143, allocations: 357.9 kB / 0.5501 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008941/0.4152, allocations: 0.8842 MB / 0.551 GB, free: 6.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/0.4166, allocations: 2.751 MB / 0.5537 GB, free: 3.242 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003299/0.4199, allocations: 3.97 MB / 0.5576 GB, free: 14.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.042e-05/0.42, allocations: 20 kB / 0.5576 GB, free: 14.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006613/0.4266, allocations: 3.516 MB / 0.561 GB, free: 10.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.97e-05/0.4267, allocations: 36 kB / 0.561 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/0.4268, allocations: 67.94 kB / 0.5611 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002046/0.427, allocations: 88 kB / 0.5612 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003045/0.4301, allocations: 0.6589 MB / 0.5618 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001694/0.4303, allocations: 127.5 kB / 0.562 GB, free: 9.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003019/0.4333, allocations: 419.8 kB / 0.5624 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003712/0.4337, allocations: 192 kB / 0.5625 GB, free: 9.227 MB / 398.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.002258/0.436, allocations: 1.338 MB / 0.5638 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000291/0.4363, allocations: 153.9 kB / 0.564 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004495/0.4367, allocations: 200.9 kB / 0.5642 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.432e-05/0.4368, allocations: 8 kB / 0.5642 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.4368, allocations: 4 kB / 0.5642 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.4368, allocations: 7.922 kB / 0.5642 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007421/0.4442, allocations: 4.069 MB / 0.5682 GB, free: 3.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.4443, allocations: 4 kB / 0.5682 GB, free: 3.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/0.4447, allocations: 100.6 kB / 0.5683 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-05/0.4447, allocations: 11.94 kB / 0.5683 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.854e-05/0.4448, allocations: 27.98 kB / 0.5683 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.344e-05/0.4448, allocations: 11.98 kB / 0.5683 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/0.4448, allocations: 11.94 kB / 0.5683 GB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.4466, allocations: 1.228 MB / 0.5695 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004017/0.447, allocations: 250.7 kB / 0.5698 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.4472, allocations: 19.94 kB / 0.5698 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004673/0.4477, allocations: 35.91 kB / 0.5698 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.4478, allocations: 47.83 kB / 0.5699 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.628e-05/0.4478, allocations: 31.94 kB / 0.5699 GB, free: 1.418 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002081/0.4499, allocations: 1.267 MB / 0.5711 GB, free: 164 kB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4499, allocations: 4 kB / 0.5711 GB, free: 160 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.002943/0.4529, allocations: 0.6755 MB / 0.5718 GB, free: 15.48 MB / 414.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.002384/0.4553, allocations: 1.85 MB / 0.5736 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005807/0.4611, allocations: 2.256 MB / 0.5758 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-05/0.4612, allocations: 0 / 0.5758 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.4622, allocations: 453.7 kB / 0.5762 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/0.4644, allocations: 247.2 kB / 0.5765 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05401/0.5185, allocations: 22.01 MB / 0.598 GB, free: 1.648 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004393/0.5229, allocations: 2.271 MB / 0.6002 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002444/0.5254, allocations: 0.9548 MB / 0.6011 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001814/0.5272, allocations: 1.034 MB / 0.6021 GB, free: 13.36 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5273, allocations: 0 / 0.6021 GB, free: 13.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07261/0.5999, allocations: 31.96 MB / 0.6333 GB, free: 13.52 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.797/9.397, allocations: 20.34 kB / 0.6334 GB, free: 13.5 MB / 478.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3_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_CutForce3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1)