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: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001257/0.001257, allocations: 187 kB / 19.34 MB, free: 3.641 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.376/1.376, allocations: 222.9 MB / 243 MB, free: 15.14 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.2079/0.2079, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 61.38 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1315, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01192/0.1435, allocations: 10.5 MB / 481.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006848/0.1504, allocations: 3.111 MB / 484.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.1519, allocations: 55.94 kB / 484.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004541/0.1564, allocations: 2.617 MB / 487 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003156/0.1597, allocations: 1.222 MB / 488.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008644/0.1606, allocations: 355.4 kB / 488.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003624/0.1642, allocations: 2.582 MB / 491.1 MB, free: 9.137 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00339/0.1676, allocations: 3.023 MB / 494.2 MB, free: 6.078 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.1691, allocations: 1.098 MB / 495.3 MB, free: 4.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001682/0.1708, allocations: 1.421 MB / 496.7 MB, free: 3.551 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004158/0.1712, allocations: 256 kB / 496.9 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.1726, allocations: 0.7607 MB / 497.7 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001175/0.1738, allocations: 1.399 MB / 499.1 MB, free: 1.137 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001513/0.1753, allocations: 1.627 MB / 0.489 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005016/0.1803, allocations: 5.353 MB / 0.4942 GB, free: 10.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1803, allocations: 0 / 0.4942 GB, free: 10.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1803, allocations: 0 / 0.4942 GB, free: 10.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001156/0.1805, allocations: 0 / 0.4942 GB, free: 10.13 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.005827/0.1863, allocations: 3.399 MB / 0.4975 GB, free: 6.664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.1864, allocations: 16.02 kB / 0.4975 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005021/0.1914, allocations: 1.654 MB / 0.4992 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003901/0.1953, allocations: 1.535 MB / 0.5007 GB, free: 3.402 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.1955, allocations: 185.1 kB / 0.5008 GB, free: 3.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007235/0.1962, allocations: 243.8 kB / 0.5011 GB, free: 2.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2478/0.444, allocations: 7.494 MB / 0.5084 GB, free: 45.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.898e-05/0.4441, allocations: 14.39 kB / 0.5084 GB, free: 45.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003094/0.4444, allocations: 110.1 kB / 0.5085 GB, free: 44.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002563/0.447, allocations: 1.572 MB / 0.51 GB, free: 44.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01308/0.4601, allocations: 6.257 MB / 0.5162 GB, free: 42.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02727/0.4874, allocations: 23.14 MB / 0.5388 GB, free: 24.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003623/0.4911, allocations: 2.203 MB / 0.5409 GB, free: 22.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007385/0.4918, allocations: 0.769 MB / 0.5417 GB, free: 21.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005461/0.4973, allocations: 3.886 MB / 0.5454 GB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.4973, allocations: 35.12 kB / 0.5455 GB, free: 17.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 3.997e-06/0.4974, allocations: 3.938 kB / 0.5455 GB, free: 17.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=87): time 0.005025/0.5024, allocations: 2.251 MB / 0.5477 GB, free: 15.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.5024, allocations: 59.97 kB / 0.5477 GB, free: 15.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002192/0.5046, allocations: 2.097 MB / 0.5498 GB, free: 13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.5047, allocations: 37.7 kB / 0.5498 GB, free: 12.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008026/0.5055, allocations: 2.112 MB / 0.5519 GB, free: 10.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.5057, allocations: 355.5 kB / 0.5522 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006384/0.5064, allocations: 0.6664 MB / 0.5529 GB, free: 9.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.882e-05/0.5064, allocations: 307.8 kB / 0.5532 GB, free: 9.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009931/0.5074, allocations: 0.9467 MB / 0.5541 GB, free: 8.535 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/0.5091, allocations: 2.909 MB / 0.5569 GB, free: 4.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003055/0.5122, allocations: 4.221 MB / 0.5611 GB, free: 15.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.132e-05/0.5122, allocations: 20 kB / 0.5611 GB, free: 15.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.005033/0.5173, allocations: 3.747 MB / 0.5647 GB, free: 11.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.47e-05/0.5173, allocations: 35.94 kB / 0.5648 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.905e-05/0.5174, allocations: 72 kB / 0.5648 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.315e-05/0.5175, allocations: 92 kB / 0.5649 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/0.5193, allocations: 0.694 MB / 0.5656 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.141e-05/0.5194, allocations: 139.4 kB / 0.5657 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.5211, allocations: 439.3 kB / 0.5662 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/0.5213, allocations: 200 kB / 0.5663 GB, free: 10.02 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.001962/0.5233, allocations: 1.573 MB / 0.5679 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.5235, allocations: 173.7 kB / 0.568 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.5238, allocations: 218.7 kB / 0.5683 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/0.5238, allocations: 8 kB / 0.5683 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.5238, allocations: 0 / 0.5683 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.5238, allocations: 7.922 kB / 0.5683 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00719/0.531, allocations: 5.077 MB / 0.5732 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.5311, allocations: 8 kB / 0.5732 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/0.5315, allocations: 107.8 kB / 0.5733 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.537e-05/0.5315, allocations: 15.94 kB / 0.5734 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.616e-05/0.5316, allocations: 27.98 kB / 0.5734 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.249e-05/0.5316, allocations: 11.94 kB / 0.5734 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/0.5316, allocations: 13.91 kB / 0.5734 GB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.5334, allocations: 1.406 MB / 0.5748 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005738/0.5339, allocations: 286.3 kB / 0.5751 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/0.5341, allocations: 31.92 kB / 0.5751 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000551/0.5347, allocations: 43.86 kB / 0.5751 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.5348, allocations: 59.77 kB / 0.5752 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.387e-05/0.5349, allocations: 35.98 kB / 0.5752 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001897/0.5368, allocations: 1.48 MB / 0.5767 GB, free: 15.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5368, allocations: 0 / 0.5767 GB, free: 15.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002639/0.5394, allocations: 0.811 MB / 0.5775 GB, free: 14.29 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.0003143/0.5398, allocations: 148.3 kB / 0.5776 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002897/0.5427, allocations: 2.198 MB / 0.5797 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.5427, allocations: 3.938 kB / 0.5797 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000574/0.5433, allocations: 0.5028 MB / 0.5802 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.5445, allocations: 294 kB / 0.5805 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009716/0.5542, allocations: 5.912 MB / 0.5863 GB, free: 5.121 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002587/0.5568, allocations: 2.6 MB / 0.5888 GB, free: 2.484 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002092/0.5589, allocations: 1.036 MB / 0.5898 GB, free: 1.449 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/0.5592, allocations: 139.4 kB / 0.59 GB, free: 1.316 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5592, allocations: 4 kB / 0.59 GB, free: 1.312 MB / 414.1 MB Notification: Performance of Templates: time 0.03424/0.5935, allocations: 16.69 MB / 0.6063 GB, free: 0.6641 MB / 430.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/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