Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001845/0.001845, allocations: 114.8 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00232/0.00232, allocations: 204 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.787/1.787, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2141/0.2141, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 76.06 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.334, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.01665/0.3507, allocations: 16.28 MB / 0.5476 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01162/0.3623, allocations: 5.379 MB / 0.5528 GB, free: 12.01 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003478/0.3658, allocations: 135.6 kB / 0.5529 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01289/0.3788, allocations: 7.446 MB / 0.5602 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00855/0.3874, allocations: 3.007 MB / 0.5632 GB, free: 1.395 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004217/0.3916, allocations: 1.716 MB / 0.5648 GB, free: 15.67 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01301/0.4047, allocations: 8.405 MB / 0.573 GB, free: 7.254 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01311/0.4178, allocations: 8.909 MB / 0.5817 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005844/0.4237, allocations: 3.358 MB / 0.585 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006787/0.4305, allocations: 4.37 MB / 0.5893 GB, free: 6.496 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002694/0.4333, allocations: 0.7031 MB / 0.59 GB, free: 5.793 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004547/0.4378, allocations: 1.53 MB / 0.5915 GB, free: 4.262 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005758/0.4436, allocations: 4.088 MB / 0.5955 GB, free: 168 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008292/0.4519, allocations: 4.467 MB / 0.5998 GB, free: 11.67 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01694/0.4689, allocations: 13.64 MB / 0.6131 GB, free: 13.97 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4689, allocations: 0 / 0.6131 GB, free: 13.97 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.469, allocations: 4 kB / 0.6131 GB, free: 13.96 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005189/0.4695, allocations: 0 / 0.6131 GB, free: 13.96 MB / 478.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.02307/0.4926, allocations: 9.818 MB / 0.6227 GB, free: 4.047 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.4926, allocations: 8.031 kB / 0.6227 GB, free: 4.039 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.5034, allocations: 2.647 MB / 0.6253 GB, free: 1.383 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009825/0.5132, allocations: 4.951 MB / 0.6302 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004786/0.5138, allocations: 0.4968 MB / 0.6306 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002156/0.5159, allocations: 0.6442 MB / 0.6313 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03785/0.5538, allocations: 19.6 MB / 0.6504 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003935/0.5542, allocations: 71.39 kB / 0.6505 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002121/0.5564, allocations: 307.8 kB / 0.6508 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004922/0.5613, allocations: 3.305 MB / 0.654 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03313/0.5944, allocations: 15 MB / 0.6687 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6042/1.199, allocations: 71.28 MB / 0.7383 GB, free: 115 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01731/1.216, allocations: 6.452 MB / 0.7446 GB, free: 114.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00296/1.219, allocations: 2.36 MB / 0.7469 GB, free: 113.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01655/1.236, allocations: 10.83 MB / 0.7574 GB, free: 107.9 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/1.236, allocations: 69.64 kB / 0.7575 GB, free: 107.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=212): time 6.512e-06/1.236, allocations: 0 / 0.7575 GB, free: 107.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=236): time 0.04364/1.279, allocations: 16.88 MB / 0.774 GB, free: 97.09 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/1.279, allocations: 154.7 kB / 0.7741 GB, free: 96.92 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006964/1.286, allocations: 6.65 MB / 0.7806 GB, free: 90.4 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003216/1.287, allocations: 68.02 kB / 0.7807 GB, free: 90.34 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002337/1.289, allocations: 5.861 MB / 0.7864 GB, free: 84.93 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006251/1.29, allocations: 0.9622 MB / 0.7874 GB, free: 83.98 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001666/1.291, allocations: 1.829 MB / 0.7892 GB, free: 82.14 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.441e-05/1.292, allocations: 303.5 kB / 0.7894 GB, free: 81.85 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003226/1.295, allocations: 2.532 MB / 0.7919 GB, free: 79.31 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004896/1.3, allocations: 8.245 MB / 0.8 GB, free: 68.38 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009401/1.309, allocations: 11.73 MB / 0.8114 GB, free: 54.02 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001255/1.309, allocations: 56 kB / 0.8115 GB, free: 53.96 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1193) (initialization): time 0.01629/1.326, allocations: 10.45 MB / 0.8217 GB, free: 43.5 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002304/1.326, allocations: 88 kB / 0.8218 GB, free: 43.42 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002882/1.326, allocations: 204 kB / 0.822 GB, free: 43.22 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002894/1.326, allocations: 268 kB / 0.8222 GB, free: 42.96 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00598/1.332, allocations: 2.071 MB / 0.8242 GB, free: 40.88 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000256/1.333, allocations: 398.4 kB / 0.8246 GB, free: 40.49 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005937/1.339, allocations: 443.5 kB / 0.825 GB, free: 40.06 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001025/1.34, allocations: 0.5547 MB / 0.8256 GB, free: 39.51 MB / 0.5607 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 (1129): * Single equations (assignments): 1118 * 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.005198/1.345, allocations: 3.737 MB / 0.8292 GB, free: 35.75 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009943/1.346, allocations: 0.5898 MB / 0.8298 GB, free: 35.16 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/1.347, allocations: 0.6823 MB / 0.8305 GB, free: 34.46 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/1.347, allocations: 7.969 kB / 0.8305 GB, free: 34.46 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/1.347, allocations: 0 / 0.8305 GB, free: 34.46 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/1.348, allocations: 0.6101 MB / 0.8311 GB, free: 33.82 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000868/1.349, allocations: 32 kB / 0.8311 GB, free: 33.79 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001929/1.351, allocations: 111.9 kB / 0.8312 GB, free: 33.68 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/1.351, allocations: 117.8 kB / 0.8313 GB, free: 33.57 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003981/1.355, allocations: 2.849 MB / 0.8341 GB, free: 30.75 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003233/1.359, allocations: 3.288 MB / 0.8373 GB, free: 27.44 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001106/1.36, allocations: 1.128 MB / 0.8384 GB, free: 26.31 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006227/1.366, allocations: 4.123 MB / 0.8425 GB, free: 22.21 MB / 0.5607 GB Notification: Performance of Backend: time 7.31e-07/1.366, allocations: 0 / 0.8425 GB, free: 22.21 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.009147/1.375, allocations: 5.102 MB / 0.8474 GB, free: 17.16 MB / 0.5607 GB Notification: Performance of SimCode: time 0.03266/1.408, allocations: 16.28 MB / 0.8633 GB, free: 0.8203 MB / 0.5607 GB Notification: Performance of Templates: time 0.1214/1.529, allocations: 57.66 MB / 0.9196 GB, free: 7.43 MB / 0.6232 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque2/CutForceAndTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches