Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 104.1 kB / 17.64 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 192 kB / 18.55 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2036/0.2036, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.77 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1227, allocations: 60.83 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01202/0.1348, allocations: 10.51 MB / 479.9 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007267/0.1421, allocations: 3.111 MB / 483 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0022/0.1443, allocations: 55.94 kB / 483 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005143/0.1495, allocations: 2.617 MB / 485.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003095/0.1527, allocations: 1.226 MB / 486.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009854/0.1537, allocations: 355.3 kB / 487.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003653/0.1574, allocations: 2.586 MB / 489.8 MB, free: 9.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003715/0.1611, allocations: 3.027 MB / 492.8 MB, free: 6.688 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001708/0.1628, allocations: 1.094 MB / 493.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002157/0.165, allocations: 1.417 MB / 495.3 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008314/0.1659, allocations: 260 kB / 495.6 MB, free: 3.914 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.1675, allocations: 0.7568 MB / 496.4 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001676/0.1692, allocations: 1.391 MB / 497.7 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003048/0.1723, allocations: 1.631 MB / 499.4 MB, free: 124 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006166/0.1785, allocations: 5.164 MB / 0.4927 GB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.1785, allocations: 0 / 0.4927 GB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1785, allocations: 0 / 0.4927 GB, free: 10.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002024/0.1787, allocations: 0 / 0.4927 GB, free: 10.94 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: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.007605/0.1863, allocations: 3.406 MB / 0.496 GB, free: 7.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.1864, allocations: 8.031 kB / 0.4961 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001368/0.1878, allocations: 0.5707 MB / 0.4966 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005702/0.1935, allocations: 1.654 MB / 0.4982 GB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003333/0.1969, allocations: 1.527 MB / 0.4997 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/0.1971, allocations: 196.8 kB / 0.4999 GB, free: 3.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009624/0.1981, allocations: 235.9 kB / 0.5001 GB, free: 3.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2194/0.4175, allocations: 7.488 MB / 0.5074 GB, free: 44.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-05/0.4176, allocations: 15.83 kB / 0.5075 GB, free: 44.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002818/0.4179, allocations: 114.6 kB / 0.5076 GB, free: 44.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002595/0.4205, allocations: 1.561 MB / 0.5091 GB, free: 44.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01333/0.4338, allocations: 6.267 MB / 0.5152 GB, free: 42.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02897/0.4628, allocations: 23.31 MB / 0.538 GB, free: 24.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003902/0.4668, allocations: 2.2 MB / 0.5401 GB, free: 22.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008832/0.4677, allocations: 0.7736 MB / 0.5409 GB, free: 21.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005665/0.4734, allocations: 3.889 MB / 0.5447 GB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.4734, allocations: 39.12 kB / 0.5447 GB, free: 17.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 3.767e-06/0.4734, allocations: 0 / 0.5447 GB, free: 17.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=87): time 0.005278/0.4787, allocations: 2.255 MB / 0.5469 GB, free: 15.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.4787, allocations: 59.97 kB / 0.547 GB, free: 15.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/0.481, allocations: 2.101 MB / 0.549 GB, free: 12.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/0.481, allocations: 37.64 kB / 0.5491 GB, free: 12.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008031/0.4819, allocations: 2.112 MB / 0.5511 GB, free: 10.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.4821, allocations: 347.5 kB / 0.5515 GB, free: 10.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006192/0.4827, allocations: 0.6653 MB / 0.5521 GB, free: 9.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.866e-05/0.4827, allocations: 305.1 kB / 0.5524 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.4838, allocations: 0.947 MB / 0.5533 GB, free: 8.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/0.4856, allocations: 2.913 MB / 0.5562 GB, free: 4.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003294/0.4889, allocations: 4.212 MB / 0.5603 GB, free: 15.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.75e-05/0.4889, allocations: 24 kB / 0.5603 GB, free: 15.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006391/0.4953, allocations: 3.748 MB / 0.564 GB, free: 11.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.364e-05/0.4954, allocations: 36 kB / 0.564 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-05/0.4955, allocations: 72 kB / 0.5641 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001266/0.4957, allocations: 92 kB / 0.5642 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002328/0.498, allocations: 0.6979 MB / 0.5648 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001898/0.4982, allocations: 136 kB / 0.565 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002514/0.5007, allocations: 443.2 kB / 0.5654 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003397/0.5011, allocations: 204 kB / 0.5656 GB, free: 9.941 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 318 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (388): * Single equations (assignments): 383 * 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.002428/0.5035, allocations: 1.566 MB / 0.5671 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002959/0.5038, allocations: 165.8 kB / 0.5673 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000406/0.5042, allocations: 214.7 kB / 0.5675 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/0.5043, allocations: 15.94 kB / 0.5675 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/0.5043, allocations: 0 / 0.5675 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.5043, allocations: 3.984 kB / 0.5675 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009767/0.5141, allocations: 5.077 MB / 0.5725 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-05/0.5141, allocations: 8 kB / 0.5725 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005162/0.5147, allocations: 119.7 kB / 0.5726 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.132e-05/0.5147, allocations: 16.72 kB / 0.5726 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-05/0.5148, allocations: 23.98 kB / 0.5726 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-05/0.5148, allocations: 19.98 kB / 0.5726 GB, free: 2.531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.15e-05/0.5148, allocations: 11.94 kB / 0.5726 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.5167, allocations: 1.406 MB / 0.574 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005743/0.5173, allocations: 286.3 kB / 0.5743 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003664/0.5177, allocations: 23.98 kB / 0.5743 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007279/0.5184, allocations: 35.83 kB / 0.5743 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.5186, allocations: 67.75 kB / 0.5744 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.219e-05/0.5186, allocations: 43.92 kB / 0.5745 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002631/0.5213, allocations: 1.473 MB / 0.5759 GB, free: 15.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5213, allocations: 0 / 0.5759 GB, free: 15.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003155/0.5244, allocations: 0.8138 MB / 0.5767 GB, free: 14.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.002283/0.5267, allocations: 2.025 MB / 0.5787 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003906/0.5307, allocations: 2.407 MB / 0.581 GB, free: 9.676 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.5307, allocations: 0 / 0.581 GB, free: 9.676 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007116/0.5314, allocations: 0.5009 MB / 0.5815 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002064/0.5335, allocations: 286.7 kB / 0.5818 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06111/0.5946, allocations: 25.35 MB / 0.6065 GB, free: 12.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006243/0.6009, allocations: 2.592 MB / 0.6091 GB, free: 9.504 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004806/0.6058, allocations: 1.041 MB / 0.6101 GB, free: 8.461 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003287/0.6091, allocations: 1.261 MB / 0.6113 GB, free: 7.203 MB / 446.1 MB Notification: Performance of SimCode: time 1.353e-06/0.6091, allocations: 0 / 0.6113 GB, free: 7.203 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09605/0.7052, allocations: 37 MB / 0.6474 GB, free: 2.383 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.635/9.341, allocations: 7.531 kB / 0.6475 GB, free: 2.379 MB / 478.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_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_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches