Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 109.9 kB / 18.46 MB, free: 4.613 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.001882/0.001882, allocations: 182 kB / 19.39 MB, free: 3.691 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.363/1.363, allocations: 222.9 MB / 243.1 MB, free: 15.16 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.2054/0.2054, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 71.89 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3424, allocations: 60.81 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01557/0.358, allocations: 15.4 MB / 0.5346 GB, free: 8.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01096/0.369, allocations: 5.1 MB / 0.5396 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003173/0.3722, allocations: 124.4 kB / 0.5397 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01146/0.3837, allocations: 6.03 MB / 0.5456 GB, free: 372 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009548/0.3933, allocations: 2.932 MB / 0.5485 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00436/0.3977, allocations: 1.583 MB / 0.55 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01275/0.4105, allocations: 7.741 MB / 0.5576 GB, free: 5.055 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01069/0.4212, allocations: 7.45 MB / 0.5648 GB, free: 13.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005354/0.4266, allocations: 3.011 MB / 0.5678 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005848/0.4325, allocations: 3.879 MB / 0.5716 GB, free: 6.598 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002039/0.4345, allocations: 0.5859 MB / 0.5721 GB, free: 6.012 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00376/0.4383, allocations: 1.428 MB / 0.5735 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004813/0.4431, allocations: 3.663 MB / 0.5771 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008059/0.4512, allocations: 3.992 MB / 0.581 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01823/0.4695, allocations: 12.15 MB / 0.5929 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.4695, allocations: 0 / 0.5929 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4696, allocations: 0 / 0.5929 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006036/0.4702, allocations: 0 / 0.5929 GB, free: 0.6953 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02189/0.4921, allocations: 8.963 MB / 0.6016 GB, free: 7.625 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.4921, allocations: 8.031 kB / 0.6016 GB, free: 7.617 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/0.5025, allocations: 2.636 MB / 0.6042 GB, free: 4.973 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/0.5132, allocations: 4.726 MB / 0.6088 GB, free: 176 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005695/0.5138, allocations: 446.8 kB / 0.6092 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002228/0.516, allocations: 0.5505 MB / 0.6098 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03733/0.5534, allocations: 17.45 MB / 0.6268 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000251/0.5536, allocations: 67.44 kB / 0.6269 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00146/0.5551, allocations: 271.8 kB / 0.6271 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004665/0.5598, allocations: 3.17 MB / 0.6302 GB, free: 9.098 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02739/0.5872, allocations: 13.42 MB / 0.6433 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08287/0.6701, allocations: 65.88 MB / 0.7077 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01575/0.6859, allocations: 5.51 MB / 0.7131 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003426/0.6894, allocations: 2.119 MB / 0.7151 GB, free: 152 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4878/1.177, allocations: 10.02 MB / 0.7249 GB, free: 162.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/1.177, allocations: 58.41 kB / 0.725 GB, free: 162.1 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 5.511e-06/1.177, allocations: 0 / 0.725 GB, free: 162.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03771/1.215, allocations: 14.67 MB / 0.7393 GB, free: 156.5 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/1.215, allocations: 149.1 kB / 0.7394 GB, free: 156.4 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008457/1.224, allocations: 6.402 MB / 0.7457 GB, free: 154.3 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003424/1.224, allocations: 60.91 kB / 0.7457 GB, free: 154.2 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002908/1.227, allocations: 5.435 MB / 0.7511 GB, free: 150.4 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008418/1.228, allocations: 0.8588 MB / 0.7519 GB, free: 149.7 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001971/1.23, allocations: 1.719 MB / 0.7536 GB, free: 148.7 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.771e-05/1.23, allocations: 301.1 kB / 0.7539 GB, free: 148.4 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002868/1.233, allocations: 2.346 MB / 0.7561 GB, free: 147.3 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004572/1.237, allocations: 7.766 MB / 0.7637 GB, free: 137.5 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008753/1.246, allocations: 10.99 MB / 0.7745 GB, free: 123.8 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002238/1.246, allocations: 56 kB / 0.7745 GB, free: 123.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.0173/1.264, allocations: 9.773 MB / 0.7841 GB, free: 114 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/1.264, allocations: 92.22 kB / 0.7841 GB, free: 113.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001842/1.264, allocations: 192 kB / 0.7843 GB, free: 113.7 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001684/1.264, allocations: 252 kB / 0.7846 GB, free: 113.5 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005394/1.269, allocations: 1.945 MB / 0.7865 GB, free: 111.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002035/1.27, allocations: 385.3 kB / 0.7868 GB, free: 111.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006482/1.276, allocations: 420.6 kB / 0.7872 GB, free: 110.7 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000896/1.277, allocations: 0.5227 MB / 0.7877 GB, free: 110.2 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.arrowLine.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.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.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.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.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 (1055): * Single equations (assignments): 1044 * 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.005728/1.283, allocations: 3.409 MB / 0.7911 GB, free: 106.8 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/1.284, allocations: 0.5548 MB / 0.7916 GB, free: 106.2 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/1.286, allocations: 0.6326 MB / 0.7922 GB, free: 105.6 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.039e-05/1.286, allocations: 7.969 kB / 0.7922 GB, free: 105.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/1.286, allocations: 4.453 kB / 0.7922 GB, free: 105.6 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/1.287, allocations: 0.583 MB / 0.7928 GB, free: 105 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006395/1.288, allocations: 32 kB / 0.7928 GB, free: 104.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/1.289, allocations: 83.91 kB / 0.7929 GB, free: 104.9 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/1.289, allocations: 101.1 kB / 0.793 GB, free: 104.8 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003394/1.293, allocations: 2.498 MB / 0.7955 GB, free: 102.3 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002623/1.295, allocations: 2.924 MB / 0.7983 GB, free: 99.34 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000906/1.296, allocations: 0.9836 MB / 0.7993 GB, free: 98.36 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005764/1.302, allocations: 3.976 MB / 0.8032 GB, free: 94.39 MB / 0.5607 GB Notification: Performance of Backend: time 6.61e-07/1.302, allocations: 0 / 0.8032 GB, free: 94.39 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.00945/1.312, allocations: 4.771 MB / 0.8078 GB, free: 89.68 MB / 0.5607 GB Notification: Performance of SimCode: time 0.02298/1.335, allocations: 14.97 MB / 0.8224 GB, free: 74.66 MB / 0.5607 GB Notification: Performance of Templates: time 0.09293/1.428, allocations: 53.93 MB / 0.8751 GB, free: 21.03 MB / 0.5607 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches