Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.00139, allocations: 113.9 kB / 18.45 MB, free: 4.617 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.001427/0.001427, allocations: 190 kB / 19.39 MB, free: 3.688 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.05 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.2114/0.2114, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3314, allocations: 60.82 MB / 0.5196 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.01617/0.3476, allocations: 17.04 MB / 0.5362 GB, free: 7.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.3587, allocations: 5.518 MB / 0.5416 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002971/0.3617, allocations: 137 kB / 0.5417 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01336/0.3751, allocations: 7.53 MB / 0.5491 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008635/0.3838, allocations: 3.218 MB / 0.5522 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003991/0.3878, allocations: 1.712 MB / 0.5539 GB, free: 8.812 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01141/0.3992, allocations: 8.532 MB / 0.5622 GB, free: 272 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01154/0.4108, allocations: 9.061 MB / 0.5711 GB, free: 7.109 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005432/0.4162, allocations: 3.494 MB / 0.5745 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006595/0.4228, allocations: 4.526 MB / 0.5789 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002517/0.4254, allocations: 0.7383 MB / 0.5796 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004247/0.4296, allocations: 1.569 MB / 0.5812 GB, free: 12.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005817/0.4355, allocations: 4.329 MB / 0.5854 GB, free: 8.418 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008452/0.444, allocations: 4.75 MB / 0.59 GB, free: 3.641 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01764/0.4616, allocations: 14.58 MB / 0.6043 GB, free: 5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4617, allocations: 0 / 0.6043 GB, free: 5 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4617, allocations: 0 / 0.6043 GB, free: 5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004798/0.4622, allocations: 0 / 0.6043 GB, free: 5 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.02335/0.4855, allocations: 10.34 MB / 0.6144 GB, free: 10.55 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4856, allocations: 8.031 kB / 0.6144 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/0.4966, allocations: 2.861 MB / 0.6172 GB, free: 7.672 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/0.507, allocations: 5.228 MB / 0.6223 GB, free: 2.367 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004526/0.5075, allocations: 0.5325 MB / 0.6228 GB, free: 1.832 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00233/0.5098, allocations: 0.6715 MB / 0.6235 GB, free: 1.16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04097/0.5508, allocations: 21.11 MB / 0.6441 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002414/0.5511, allocations: 75.39 kB / 0.6441 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001358/0.5525, allocations: 319.7 kB / 0.6444 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005548/0.558, allocations: 3.802 MB / 0.6482 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03524/0.5933, allocations: 16.25 MB / 0.664 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5879/1.181, allocations: 74.87 MB / 0.7371 GB, free: 117.7 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01853/1.2, allocations: 6.452 MB / 0.7434 GB, free: 117 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003214/1.203, allocations: 2.353 MB / 0.7457 GB, free: 116.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01692/1.22, allocations: 11 MB / 0.7565 GB, free: 111.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/1.22, allocations: 60.47 kB / 0.7565 GB, free: 111.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=212): time 4.889e-06/1.22, allocations: 0 / 0.7565 GB, free: 111.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=236): time 0.03938/1.259, allocations: 17.35 MB / 0.7735 GB, free: 102.2 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/1.259, allocations: 159.4 kB / 0.7736 GB, free: 102 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0073/1.267, allocations: 6.813 MB / 0.7803 GB, free: 97.45 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002913/1.267, allocations: 63.52 kB / 0.7803 GB, free: 97.38 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002401/1.27, allocations: 6.221 MB / 0.7864 GB, free: 91.66 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.000699/1.27, allocations: 0.9668 MB / 0.7874 GB, free: 90.7 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001629/1.272, allocations: 1.876 MB / 0.7892 GB, free: 88.82 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.59e-05/1.272, allocations: 313 kB / 0.7895 GB, free: 88.51 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002909/1.275, allocations: 2.57 MB / 0.792 GB, free: 85.94 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004501/1.279, allocations: 8.421 MB / 0.8002 GB, free: 74.77 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008505/1.288, allocations: 11.96 MB / 0.8119 GB, free: 60.1 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001045/1.288, allocations: 60 kB / 0.812 GB, free: 60.04 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1217) (initialization): time 0.01441/1.302, allocations: 10.66 MB / 0.8224 GB, free: 49.39 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.641e-05/1.303, allocations: 99.92 kB / 0.8225 GB, free: 49.29 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002057/1.303, allocations: 208 kB / 0.8227 GB, free: 49.09 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/1.303, allocations: 272 kB / 0.8229 GB, free: 48.82 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005753/1.309, allocations: 2.117 MB / 0.825 GB, free: 46.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002044/1.309, allocations: 406.9 kB / 0.8254 GB, free: 46.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006461/1.315, allocations: 435.8 kB / 0.8258 GB, free: 45.88 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009902/1.316, allocations: 0.5697 MB / 0.8264 GB, free: 45.31 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,cutForce1b.torqueArrow.arrowLine.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.torqueArrow.arrowLine.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.torqueArrow.arrowLine.twoHeadedArrow,cutForce1a.torqueArrow.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.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 (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.005939/1.322, allocations: 3.972 MB / 0.8302 GB, free: 41.32 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00126/1.324, allocations: 0.6053 MB / 0.8308 GB, free: 40.71 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/1.325, allocations: 0.6913 MB / 0.8315 GB, free: 40.01 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.139e-05/1.325, allocations: 15.95 kB / 0.8315 GB, free: 39.99 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/1.325, allocations: 0 / 0.8315 GB, free: 39.99 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001557/1.327, allocations: 0.6101 MB / 0.8321 GB, free: 39.36 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007662/1.328, allocations: 39.94 kB / 0.8321 GB, free: 39.32 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/1.329, allocations: 107.9 kB / 0.8322 GB, free: 39.21 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/1.329, allocations: 121.8 kB / 0.8324 GB, free: 39.1 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003419/1.333, allocations: 2.845 MB / 0.8351 GB, free: 36.28 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002876/1.336, allocations: 3.297 MB / 0.8384 GB, free: 32.96 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001067/1.337, allocations: 1.132 MB / 0.8395 GB, free: 31.83 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005644/1.342, allocations: 4.217 MB / 0.8436 GB, free: 27.63 MB / 0.5607 GB Notification: Performance of Backend: time 3.7e-07/1.343, allocations: 4 kB / 0.8436 GB, free: 27.63 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.009477/1.352, allocations: 5.199 MB / 0.8487 GB, free: 22.48 MB / 0.5607 GB Notification: Performance of SimCode: time 0.02461/1.377, allocations: 17.25 MB / 0.8655 GB, free: 5.18 MB / 0.5607 GB Notification: Performance of Templates: time 0.1208/1.498, allocations: 57.87 MB / 0.922 GB, free: 11.63 MB / 0.6232 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches