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.0015/0.0015, allocations: 107.1 kB / 16.41 MB, free: 6.504 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.001618/0.001618, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.574/1.574, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2103/0.2103, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 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.001616/0.001616, allocations: 69.47 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1301, allocations: 57.78 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01513/0.1452, allocations: 12.6 MB / 0.5002 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008302/0.1536, allocations: 3.368 MB / 0.5035 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002543/0.1562, allocations: 63.94 kB / 0.5035 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005278/0.1615, allocations: 2.64 MB / 0.5061 GB, free: 9.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004195/0.1658, allocations: 1.397 MB / 0.5075 GB, free: 7.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.1671, allocations: 343.3 kB / 0.5078 GB, free: 7.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004878/0.172, allocations: 2.882 MB / 0.5106 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004808/0.1768, allocations: 3.16 MB / 0.5137 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002594/0.1794, allocations: 1.199 MB / 0.5149 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002873/0.1823, allocations: 1.628 MB / 0.5165 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009898/0.1834, allocations: 296 kB / 0.5167 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002092/0.1855, allocations: 0.7803 MB / 0.5175 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002273/0.1878, allocations: 1.566 MB / 0.519 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003668/0.1914, allocations: 1.833 MB / 0.5208 GB, free: 9.875 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00812/0.1996, allocations: 5.995 MB / 0.5267 GB, free: 3.859 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1996, allocations: 7.938 kB / 0.5267 GB, free: 3.852 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1996, allocations: 4 kB / 0.5267 GB, free: 3.848 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001836/0.1998, allocations: 0 / 0.5267 GB, free: 3.848 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.007363/0.2072, allocations: 3.744 MB / 0.5303 GB, free: 40 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.2073, allocations: 15.89 kB / 0.5304 GB, free: 24 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3117/0.5189, allocations: 1.706 MB / 0.532 GB, free: 38.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004046/0.523, allocations: 1.657 MB / 0.5336 GB, free: 37.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000218/0.5233, allocations: 206.3 kB / 0.5338 GB, free: 37.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007439/0.524, allocations: 261.9 kB / 0.5341 GB, free: 37.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01726/0.5413, allocations: 8.37 MB / 0.5423 GB, free: 35.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-05/0.5415, allocations: 21.34 kB / 0.5423 GB, free: 35.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000364/0.5418, allocations: 121.3 kB / 0.5424 GB, free: 35.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004016/0.5459, allocations: 1.761 MB / 0.5441 GB, free: 34.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01936/0.5652, allocations: 7.038 MB / 0.551 GB, free: 32.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03229/0.5976, allocations: 25.71 MB / 0.5761 GB, free: 8.578 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004767/0.6024, allocations: 2.546 MB / 0.5786 GB, free: 5.902 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.6037, allocations: 0.9734 MB / 0.5795 GB, free: 4.926 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006602/0.6103, allocations: 4.45 MB / 0.5839 GB, free: 344 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.6104, allocations: 43.55 kB / 0.5839 GB, free: 288 kB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.617e-06/0.6104, allocations: 0 / 0.5839 GB, free: 288 kB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.007165/0.6176, allocations: 2.73 MB / 0.5866 GB, free: 13.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.6176, allocations: 60.41 kB / 0.5866 GB, free: 13.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004697/0.6223, allocations: 2.257 MB / 0.5889 GB, free: 11.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.31e-05/0.6224, allocations: 41.7 kB / 0.5889 GB, free: 11.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001802/0.6243, allocations: 2.314 MB / 0.5912 GB, free: 8.781 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005122/0.6248, allocations: 466 kB / 0.5916 GB, free: 8.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001186/0.626, allocations: 0.746 MB / 0.5923 GB, free: 7.566 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.6261, allocations: 305.1 kB / 0.5926 GB, free: 7.266 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002042/0.6282, allocations: 1.124 MB / 0.5937 GB, free: 6.141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003739/0.6319, allocations: 3.276 MB / 0.5969 GB, free: 1.801 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005827/0.6378, allocations: 4.828 MB / 0.6016 GB, free: 11.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.973e-05/0.6379, allocations: 20 kB / 0.6016 GB, free: 11.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.007832/0.6457, allocations: 4.332 MB / 0.6059 GB, free: 7.547 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.219e-05/0.6458, allocations: 40 kB / 0.6059 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001489/0.646, allocations: 76 kB / 0.606 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001173/0.6461, allocations: 100 kB / 0.6061 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00257/0.6487, allocations: 0.811 MB / 0.6069 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001424/0.6488, allocations: 151.4 kB / 0.607 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002598/0.6514, allocations: 0.4947 MB / 0.6075 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003896/0.6518, allocations: 224 kB / 0.6077 GB, free: 5.656 MB / 446.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.00295/0.6548, allocations: 1.718 MB / 0.6094 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004191/0.6552, allocations: 193.5 kB / 0.6096 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002683/0.6579, allocations: 1.515 MB / 0.6111 GB, free: 2.211 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.317e-05/0.658, allocations: 16 kB / 0.6111 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.658, allocations: 0 / 0.6111 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.658, allocations: 3.984 kB / 0.6111 GB, free: 2.191 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/0.6722, allocations: 7.37 MB / 0.6183 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.745e-05/0.6723, allocations: 16.03 kB / 0.6183 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000823/0.6732, allocations: 195.6 kB / 0.6185 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.518e-05/0.6732, allocations: 20 kB / 0.6185 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.6733, allocations: 39.98 kB / 0.6185 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.668e-05/0.6733, allocations: 34.59 kB / 0.6186 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.5e-05/0.6734, allocations: 19.94 kB / 0.6186 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002933/0.6763, allocations: 2.005 MB / 0.6205 GB, free: 8.023 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000812/0.6771, allocations: 318 kB / 0.6208 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005163/0.6777, allocations: 43.97 kB / 0.6209 GB, free: 7.648 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.6788, allocations: 47.88 kB / 0.6209 GB, free: 7.602 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/0.679, allocations: 111.5 kB / 0.621 GB, free: 7.492 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.6791, allocations: 59.92 kB / 0.6211 GB, free: 7.434 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002988/0.6821, allocations: 1.574 MB / 0.6226 GB, free: 5.844 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6821, allocations: 0 / 0.6226 GB, free: 5.844 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004102/0.6862, allocations: 0.9239 MB / 0.6235 GB, free: 4.918 MB / 462.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.0005195/0.6868, allocations: 169.4 kB / 0.6237 GB, free: 4.742 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004675/0.6915, allocations: 2.66 MB / 0.6263 GB, free: 2.105 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/0.6915, allocations: 3.938 kB / 0.6263 GB, free: 2.102 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.6926, allocations: 0.6975 MB / 0.627 GB, free: 1.402 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/0.6948, allocations: 327.1 kB / 0.6273 GB, free: 1.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/0.7097, allocations: 6.922 MB / 0.6341 GB, free: 9.953 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004656/0.7144, allocations: 2.832 MB / 0.6368 GB, free: 7.094 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003198/0.7176, allocations: 1.17 MB / 0.638 GB, free: 5.922 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000691/0.7183, allocations: 167.4 kB / 0.6381 GB, free: 5.758 MB / 478.1 MB Notification: Performance of SimCode: time 1.753e-06/0.7183, allocations: 0 / 0.6381 GB, free: 5.758 MB / 478.1 MB Notification: Performance of Templates: time 0.04385/0.7622, allocations: 19.03 MB / 0.6567 GB, free: 2.742 MB / 494.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches