Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.CutForceAndTorque2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001328/0.001328, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2288/0.2288, allocations: 46.12 MB / 344.2 MB, free: 11.57 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.002235/0.002235, allocations: 84.47 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1244, allocations: 62.45 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.01862/0.1431, allocations: 16.29 MB / 496.5 MB, free: 4.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01269/0.1558, allocations: 5.365 MB / 0.4901 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004423/0.1603, allocations: 131.6 kB / 0.4902 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01498/0.1754, allocations: 7.462 MB / 0.4975 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008717/0.1842, allocations: 2.914 MB / 0.5004 GB, free: 4.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004547/0.1887, allocations: 1.708 MB / 0.502 GB, free: 3.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2674/0.4562, allocations: 8.398 MB / 0.5102 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01378/0.47, allocations: 8.93 MB / 0.5189 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007226/0.4773, allocations: 3.396 MB / 0.5223 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007254/0.4846, allocations: 4.349 MB / 0.5265 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002633/0.4873, allocations: 0.7099 MB / 0.5272 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004109/0.4914, allocations: 1.518 MB / 0.5287 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004826/0.4963, allocations: 4.017 MB / 0.5326 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008902/0.5052, allocations: 4.479 MB / 0.537 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01749/0.5227, allocations: 13.21 MB / 0.5499 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.808e-06/0.5228, allocations: 0 / 0.5499 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5228, allocations: 0 / 0.5499 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006244/0.5234, allocations: 0 / 0.5499 GB, free: 10.96 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2873 * Number of variables: 2873 Notification: Performance of Generate backend data structure: time 0.02511/0.5485, allocations: 9.611 MB / 0.5593 GB, free: 1.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.5486, allocations: 12.03 kB / 0.5593 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004036/0.5527, allocations: 1.361 MB / 0.5606 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/0.5646, allocations: 2.637 MB / 0.5632 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01221/0.5769, allocations: 5.705 MB / 0.5688 GB, free: 8.039 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005309/0.5775, allocations: 0.4983 MB / 0.5692 GB, free: 7.602 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003293/0.5808, allocations: 0.6497 MB / 0.5699 GB, free: 7.012 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0417/0.6225, allocations: 19.59 MB / 0.589 GB, free: 2.562 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003082/0.6228, allocations: 76.7 kB / 0.5891 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002017/0.6249, allocations: 310 kB / 0.5894 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005428/0.6303, allocations: 3.301 MB / 0.5926 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03501/0.6654, allocations: 14.99 MB / 0.6072 GB, free: 320 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1094/0.7748, allocations: 71.54 MB / 0.6771 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01992/0.7948, allocations: 6.45 MB / 0.6834 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00393/0.7988, allocations: 2.357 MB / 0.6857 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02155/0.8203, allocations: 10.81 MB / 0.6963 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.783e-05/0.8205, allocations: 51.88 kB / 0.6963 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=212): time 5.361e-06/0.8205, allocations: 0 / 0.6963 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of matching and sorting (n=236): time 0.05279/0.8733, allocations: 16.47 MB / 0.7124 GB, free: 3.152 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.8735, allocations: 158.5 kB / 0.7125 GB, free: 2.965 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4241/1.298, allocations: 6.65 MB / 0.719 GB, free: 186.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004237/1.298, allocations: 57.95 kB / 0.7191 GB, free: 186.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004457/1.303, allocations: 5.659 MB / 0.7246 GB, free: 182.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00111/1.304, allocations: 0.9294 MB / 0.7255 GB, free: 182.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002741/1.306, allocations: 1.797 MB / 0.7273 GB, free: 181.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.499e-05/1.306, allocations: 304.1 kB / 0.7276 GB, free: 180.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004642/1.311, allocations: 2.504 MB / 0.73 GB, free: 180.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008295/1.319, allocations: 8.2 MB / 0.738 GB, free: 171.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01213/1.332, allocations: 11.67 MB / 0.7494 GB, free: 161.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003219/1.332, allocations: 58.91 kB / 0.7495 GB, free: 161.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=1177) (initialization): time 0.01924/1.351, allocations: 10.34 MB / 0.7596 GB, free: 157.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000288/1.352, allocations: 93.53 kB / 0.7597 GB, free: 157.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003618/1.352, allocations: 203.2 kB / 0.7599 GB, free: 157.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002788/1.352, allocations: 269.4 kB / 0.7601 GB, free: 157.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006922/1.359, allocations: 2.051 MB / 0.7621 GB, free: 157 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003633/1.36, allocations: 398.5 kB / 0.7625 GB, free: 156.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006771/1.366, allocations: 432.8 kB / 0.7629 GB, free: 156.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001193/1.368, allocations: 0.5453 MB / 0.7634 GB, free: 156.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 88 (cutForce2b.torqueArrow.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.torqueArrow.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.torqueArrow.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.torqueArrow.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1113): * Single equations (assignments): 1102 * Array equations: 11 * 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.006708/1.374, allocations: 3.732 MB / 0.7671 GB, free: 155 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001322/1.376, allocations: 0.562 MB / 0.7676 GB, free: 154.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/1.377, allocations: 0.6827 MB / 0.7683 GB, free: 154.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-05/1.377, allocations: 24 kB / 0.7683 GB, free: 154.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/1.377, allocations: 7 kB / 0.7683 GB, free: 154.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.99e-05/1.377, allocations: 7.594 kB / 0.7683 GB, free: 154.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02897/1.406, allocations: 19.23 MB / 0.7871 GB, free: 137.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-05/1.406, allocations: 61.11 kB / 0.7872 GB, free: 137.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/1.408, allocations: 0.5263 MB / 0.7877 GB, free: 136.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.95e-05/1.408, allocations: 72 kB / 0.7878 GB, free: 136.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/1.408, allocations: 120 kB / 0.7879 GB, free: 136.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.255e-05/1.408, allocations: 111.5 kB / 0.788 GB, free: 136.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.002e-05/1.408, allocations: 87.62 kB / 0.7881 GB, free: 136.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003805/1.412, allocations: 5.018 MB / 0.793 GB, free: 130.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/1.413, allocations: 0.6768 MB / 0.7936 GB, free: 129.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007232/1.414, allocations: 128 kB / 0.7937 GB, free: 129.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002382/1.416, allocations: 139.9 kB / 0.7939 GB, free: 129.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003045/1.417, allocations: 374.2 kB / 0.7942 GB, free: 129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/1.417, allocations: 152 kB / 0.7944 GB, free: 128.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005478/1.422, allocations: 4.144 MB / 0.7984 GB, free: 124.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.11e-07/1.422, allocations: 3.938 kB / 0.7984 GB, free: 124.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008557/1.431, allocations: 1.468 MB / 0.7999 GB, free: 123.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 256 * 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 (283): * Single equations (assignments): 280 * 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.005026/1.436, allocations: 5.762 MB / 0.8055 GB, free: 116.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008534/1.444, allocations: 6.025 MB / 0.8114 GB, free: 110.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.371e-05/1.445, allocations: 9.812 kB / 0.8114 GB, free: 110.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001936/1.447, allocations: 1.391 MB / 0.8127 GB, free: 109.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006926/1.453, allocations: 1 MB / 0.8137 GB, free: 108.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0938/1.547, allocations: 87.46 MB / 0.8991 GB, free: 6.676 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01211/1.559, allocations: 5.733 MB / 0.9047 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0082/1.568, allocations: 2.717 MB / 0.9074 GB, free: 14.18 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007586/1.575, allocations: 3.784 MB / 0.9111 GB, free: 10.39 MB / 0.5607 GB Notification: Performance of SimCode: time 1.462e-06/1.575, allocations: 0 / 0.9111 GB, free: 10.39 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4223/1.998, allocations: 106.6 MB / 1.015 GB, free: 121.6 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/13.67, allocations: 4.688 kB / 1.015 GB, free: 121.6 MB / 0.5607 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_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_CutForceAndTorque2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1)