Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001423/0.001423, allocations: 108.7 kB / 16.64 MB, free: 6.82 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.0013/0.0013, allocations: 190.5 kB / 17.56 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2021/0.2021, allocations: 43.52 MB / 314.3 MB, free: 0.6953 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 74.09 kB / 382.9 MB, free: 56.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1039, allocations: 57.8 MB / 440.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.04601/0.1499, allocations: 54.55 MB / 495.2 MB, free: 0.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02168/0.1716, allocations: 10.33 MB / 0.4937 GB, free: 6.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009572/0.1813, allocations: 223.5 kB / 0.4939 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004928/0.1863, allocations: 2.56 MB / 0.4964 GB, free: 3.426 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003528/0.1898, allocations: 1.269 MB / 0.4976 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000964/0.1908, allocations: 331.5 kB / 0.498 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003854/0.1947, allocations: 2.898 MB / 0.5008 GB, free: 14.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003886/0.1986, allocations: 3.316 MB / 0.504 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.2004, allocations: 1.223 MB / 0.5052 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/0.2027, allocations: 1.76 MB / 0.5069 GB, free: 8.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005814/0.2033, allocations: 296 kB / 0.5072 GB, free: 8.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.2047, allocations: 0.7919 MB / 0.508 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001389/0.2061, allocations: 1.574 MB / 0.5095 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001646/0.2078, allocations: 1.849 MB / 0.5113 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004473/0.2122, allocations: 4.806 MB / 0.516 GB, free: 15.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2123, allocations: 0 / 0.516 GB, free: 15.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.2123, allocations: 0 / 0.516 GB, free: 15.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001614/0.2125, allocations: 0 / 0.516 GB, free: 15.23 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: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.006734/0.2192, allocations: 3.744 MB / 0.5197 GB, free: 11.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.2193, allocations: 11.89 kB / 0.5197 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005632/0.2249, allocations: 1.712 MB / 0.5214 GB, free: 9.691 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003216/0.2281, allocations: 1.637 MB / 0.523 GB, free: 8.008 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/0.2283, allocations: 213.1 kB / 0.5232 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006398/0.229, allocations: 263.9 kB / 0.5234 GB, free: 7.539 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2007/0.4297, allocations: 8.364 MB / 0.5316 GB, free: 91.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.871e-05/0.4299, allocations: 16.62 kB / 0.5316 GB, free: 91.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004244/0.4303, allocations: 124.2 kB / 0.5317 GB, free: 91.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002853/0.4332, allocations: 1.764 MB / 0.5335 GB, free: 91.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01484/0.448, allocations: 7.039 MB / 0.5403 GB, free: 89.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03231/0.4804, allocations: 25.91 MB / 0.5656 GB, free: 69.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004696/0.4851, allocations: 2.537 MB / 0.5681 GB, free: 66.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.4863, allocations: 0.9747 MB / 0.5691 GB, free: 65.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006181/0.4925, allocations: 4.45 MB / 0.5734 GB, free: 61.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.4926, allocations: 47.55 kB / 0.5735 GB, free: 61.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.436e-06/0.4926, allocations: 0 / 0.5735 GB, free: 61.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.006149/0.4988, allocations: 2.727 MB / 0.5761 GB, free: 58.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.4988, allocations: 60.41 kB / 0.5762 GB, free: 58.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/0.5012, allocations: 2.261 MB / 0.5784 GB, free: 56.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.5013, allocations: 41.7 kB / 0.5784 GB, free: 56.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008827/0.5022, allocations: 2.321 MB / 0.5807 GB, free: 53.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/0.5025, allocations: 458 kB / 0.5811 GB, free: 53.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007475/0.5033, allocations: 0.7491 MB / 0.5819 GB, free: 52.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.906e-05/0.5033, allocations: 317 kB / 0.5822 GB, free: 52.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.5046, allocations: 1.12 MB / 0.5833 GB, free: 51.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/0.5067, allocations: 3.28 MB / 0.5865 GB, free: 46.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003931/0.5106, allocations: 4.825 MB / 0.5912 GB, free: 40.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.605e-05/0.5107, allocations: 20 kB / 0.5912 GB, free: 40.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.006218/0.5169, allocations: 4.317 MB / 0.5954 GB, free: 36.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.091e-05/0.517, allocations: 44.25 kB / 0.5954 GB, free: 36.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-05/0.5171, allocations: 76 kB / 0.5955 GB, free: 36.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.361e-05/0.5172, allocations: 100 kB / 0.5956 GB, free: 36.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002231/0.5194, allocations: 0.811 MB / 0.5964 GB, free: 35.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.476e-05/0.5195, allocations: 151.4 kB / 0.5966 GB, free: 35.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002393/0.5219, allocations: 0.4907 MB / 0.597 GB, free: 34.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003264/0.5223, allocations: 227.4 kB / 0.5972 GB, free: 34.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (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 (450): * Single equations (assignments): 445 * 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.002248/0.5245, allocations: 1.721 MB / 0.5989 GB, free: 32.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/0.5248, allocations: 193.5 kB / 0.5991 GB, free: 32.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.5268, allocations: 1.51 MB / 0.6006 GB, free: 31.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/0.5269, allocations: 16 kB / 0.6006 GB, free: 31.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5269, allocations: 0 / 0.6006 GB, free: 31.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.5269, allocations: 10.12 kB / 0.6006 GB, free: 31.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/0.537, allocations: 7.366 MB / 0.6078 GB, free: 23.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/0.537, allocations: 16 kB / 0.6078 GB, free: 23.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006945/0.5377, allocations: 195.6 kB / 0.608 GB, free: 23.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-05/0.5377, allocations: 20 kB / 0.608 GB, free: 23.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.04e-05/0.5378, allocations: 39.98 kB / 0.6081 GB, free: 23.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.487e-05/0.5378, allocations: 27.88 kB / 0.6081 GB, free: 23.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.119e-05/0.5379, allocations: 23.88 kB / 0.6081 GB, free: 23.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.5398, allocations: 2.007 MB / 0.6101 GB, free: 20.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004767/0.5403, allocations: 329.9 kB / 0.6104 GB, free: 20.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002581/0.5405, allocations: 43.92 kB / 0.6104 GB, free: 20.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007719/0.5413, allocations: 47.88 kB / 0.6105 GB, free: 20.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.5415, allocations: 119.3 kB / 0.6106 GB, free: 20.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.831e-05/0.5415, allocations: 55.98 kB / 0.6106 GB, free: 20.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001876/0.5434, allocations: 1.574 MB / 0.6122 GB, free: 18.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5434, allocations: 0 / 0.6122 GB, free: 18.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003156/0.5466, allocations: 0.9163 MB / 0.6131 GB, free: 17.8 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.0003716/0.547, allocations: 180 kB / 0.6132 GB, free: 17.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003874/0.5509, allocations: 2.901 MB / 0.6161 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/0.5509, allocations: 4 kB / 0.6161 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008389/0.5518, allocations: 0.6898 MB / 0.6168 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001931/0.5537, allocations: 321.6 kB / 0.6171 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.5649, allocations: 9.163 MB / 0.626 GB, free: 4.355 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002517/0.5675, allocations: 2.832 MB / 0.6288 GB, free: 1.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006913/0.5682, allocations: 195.4 kB / 0.629 GB, free: 1.309 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5682, allocations: 0 / 0.629 GB, free: 1.309 MB / 414.1 MB Notification: Performance of Templates: time 0.06336/0.6316, allocations: 39.52 MB / 0.6676 GB, free: 9.793 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches