Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.CutForceAndTorque1,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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 111.7 kB / 18.46 MB, free: 4.594 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.001769/0.001769, allocations: 186.1 kB / 19.38 MB, free: 3.68 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.398/1.398, allocations: 222.9 MB / 243.1 MB, free: 15.13 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.2092/0.2092, allocations: 44.19 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 59.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3189, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.01835/0.3373, allocations: 17.04 MB / 0.5362 GB, free: 7.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01203/0.3494, allocations: 5.522 MB / 0.5416 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003628/0.353, allocations: 132.2 kB / 0.5417 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01365/0.3667, allocations: 7.53 MB / 0.5491 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008548/0.3753, allocations: 3.214 MB / 0.5522 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004324/0.3797, allocations: 1.716 MB / 0.5539 GB, free: 8.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01375/0.3934, allocations: 8.528 MB / 0.5622 GB, free: 288 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01256/0.406, allocations: 9.059 MB / 0.5711 GB, free: 7.125 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005884/0.412, allocations: 3.49 MB / 0.5745 GB, free: 3.625 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006805/0.4188, allocations: 4.529 MB / 0.5789 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002413/0.4212, allocations: 0.7344 MB / 0.5796 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004888/0.4261, allocations: 1.576 MB / 0.5812 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005986/0.4321, allocations: 4.325 MB / 0.5854 GB, free: 8.434 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008081/0.4402, allocations: 4.75 MB / 0.59 GB, free: 3.656 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.019/0.4593, allocations: 14.52 MB / 0.6042 GB, free: 5.086 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4593, allocations: 0 / 0.6042 GB, free: 5.086 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.4593, allocations: 4 kB / 0.6042 GB, free: 5.082 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005629/0.4599, allocations: 0 / 0.6042 GB, free: 5.082 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3105 * Number of variables: 3105 Notification: Performance of Generate backend data structure: time 0.02328/0.4832, allocations: 10.07 MB / 0.614 GB, free: 10.92 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.4833, allocations: 8.031 kB / 0.614 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01211/0.4954, allocations: 2.804 MB / 0.6168 GB, free: 8.094 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01341/0.5088, allocations: 5.214 MB / 0.6219 GB, free: 2.801 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005445/0.5094, allocations: 0.5247 MB / 0.6224 GB, free: 2.273 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002567/0.512, allocations: 0.6676 MB / 0.623 GB, free: 1.605 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04141/0.5534, allocations: 21.11 MB / 0.6437 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000413/0.5539, allocations: 83.23 kB / 0.6437 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002387/0.5563, allocations: 323.7 kB / 0.644 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006488/0.5628, allocations: 3.794 MB / 0.6477 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03874/0.6015, allocations: 16.25 MB / 0.6636 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6601/1.262, allocations: 74.7 MB / 0.7366 GB, free: 118.4 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01954/1.281, allocations: 6.393 MB / 0.7428 GB, free: 117.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003054/1.284, allocations: 2.365 MB / 0.7451 GB, free: 117.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01702/1.301, allocations: 10.96 MB / 0.7558 GB, free: 111.9 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/1.302, allocations: 59.84 kB / 0.7559 GB, free: 111.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=212): time 6.442e-06/1.302, allocations: 0 / 0.7559 GB, free: 111.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=236): time 0.04271/1.344, allocations: 16.89 MB / 0.7724 GB, free: 102.6 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/1.344, allocations: 150.2 kB / 0.7725 GB, free: 102.5 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007947/1.352, allocations: 6.803 MB / 0.7792 GB, free: 97.61 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003362/1.353, allocations: 61.38 kB / 0.7792 GB, free: 97.55 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00239/1.355, allocations: 5.995 MB / 0.7851 GB, free: 91.55 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006139/1.356, allocations: 0.9298 MB / 0.786 GB, free: 90.63 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001658/1.357, allocations: 1.867 MB / 0.7878 GB, free: 88.75 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.229e-05/1.357, allocations: 301.1 kB / 0.7881 GB, free: 88.46 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00303/1.36, allocations: 2.573 MB / 0.7906 GB, free: 85.88 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004865/1.365, allocations: 8.423 MB / 0.7988 GB, free: 74.69 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009167/1.375, allocations: 11.98 MB / 0.8105 GB, free: 60 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001024/1.375, allocations: 60 kB / 0.8106 GB, free: 59.94 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1217) (initialization): time 0.01523/1.39, allocations: 10.62 MB / 0.821 GB, free: 49.31 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001964/1.39, allocations: 99.88 kB / 0.821 GB, free: 49.21 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003118/1.39, allocations: 208 kB / 0.8212 GB, free: 49.01 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000308/1.391, allocations: 276 kB / 0.8215 GB, free: 48.74 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006622/1.397, allocations: 2.117 MB / 0.8236 GB, free: 46.62 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003392/1.398, allocations: 411.9 kB / 0.824 GB, free: 46.22 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007266/1.405, allocations: 439.4 kB / 0.8244 GB, free: 45.79 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00126/1.406, allocations: 0.5625 MB / 0.8249 GB, free: 45.23 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 947 * Number of states: 0 () * Number of discrete variables: 88 (cutForce2b.torqueArrow.arrowLine.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2a.torqueArrow.arrowLine.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1b.torqueArrow.arrowLine.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1a.torqueArrow.arrowLine.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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 (1153): * Single equations (assignments): 1142 * 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.006246/1.413, allocations: 3.965 MB / 0.8288 GB, free: 41.25 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/1.414, allocations: 0.5784 MB / 0.8294 GB, free: 40.66 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/1.415, allocations: 0.6875 MB / 0.83 GB, free: 39.96 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/1.415, allocations: 15.89 kB / 0.8301 GB, free: 39.95 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/1.415, allocations: 0 / 0.8301 GB, free: 39.95 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/1.416, allocations: 0.5833 MB / 0.8306 GB, free: 39.34 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00119/1.418, allocations: 36 kB / 0.8307 GB, free: 39.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/1.42, allocations: 111.9 kB / 0.8308 GB, free: 39.2 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002643/1.42, allocations: 121.8 kB / 0.8309 GB, free: 39.08 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004021/1.424, allocations: 2.848 MB / 0.8337 GB, free: 36.26 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003246/1.427, allocations: 3.262 MB / 0.8369 GB, free: 32.97 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001105/1.429, allocations: 1.136 MB / 0.838 GB, free: 31.84 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006864/1.435, allocations: 4.221 MB / 0.8421 GB, free: 27.64 MB / 0.5607 GB Notification: Performance of Backend: time 1.223e-06/1.435, allocations: 0 / 0.8421 GB, free: 27.64 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01049/1.446, allocations: 5.193 MB / 0.8472 GB, free: 22.51 MB / 0.5607 GB Notification: Performance of SimCode: time 0.03033/1.476, allocations: 16.93 MB / 0.8637 GB, free: 5.547 MB / 0.5607 GB Notification: Performance of Templates: time 0.1164/1.593, allocations: 57.9 MB / 0.9202 GB, free: 11.98 MB / 0.6232 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque1/CutForceAndTorque1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches