Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 110.5 kB / 21.2 MB, free: 488 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 208.6 kB / 24.49 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2348/0.2348, allocations: 46.95 MB / 361.6 MB, free: 4.008 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 63.89 kB / 0.4973 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3072, allocations: 66.03 MB / 0.5618 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.01773/0.3249, allocations: 14.12 MB / 0.5756 GB, free: 5.945 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.3369, allocations: 5.175 MB / 0.5807 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00339/0.3402, allocations: 151.3 kB / 0.5808 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01462/0.3549, allocations: 7.236 MB / 0.5879 GB, free: 9.348 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009524/0.3644, allocations: 3.027 MB / 0.5908 GB, free: 6.309 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004484/0.3689, allocations: 1.712 MB / 0.5925 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01318/0.382, allocations: 8.416 MB / 0.6007 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01007/0.3921, allocations: 6.575 MB / 0.6071 GB, free: 5.488 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007139/0.3993, allocations: 3.432 MB / 0.6105 GB, free: 2.047 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007812/0.4071, allocations: 4.693 MB / 0.6151 GB, free: 13.34 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002417/0.4095, allocations: 0.7031 MB / 0.6158 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003885/0.4134, allocations: 1.436 MB / 0.6172 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005446/0.4188, allocations: 4.184 MB / 0.6213 GB, free: 7 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006428/0.4252, allocations: 3.363 MB / 0.6245 GB, free: 3.617 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01757/0.4428, allocations: 13.73 MB / 0.6379 GB, free: 5.836 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.4428, allocations: 0 / 0.6379 GB, free: 5.836 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4428, allocations: 0 / 0.6379 GB, free: 5.836 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003799/0.4432, allocations: 0 / 0.6379 GB, free: 5.836 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.02181/0.465, allocations: 9.724 MB / 0.6474 GB, free: 12.03 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/0.4651, allocations: 8.031 kB / 0.6475 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/0.476, allocations: 2.659 MB / 0.65 GB, free: 9.352 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01265/0.4886, allocations: 4.863 MB / 0.6548 GB, free: 4.402 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005788/0.4892, allocations: 0.5007 MB / 0.6553 GB, free: 3.898 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002561/0.4918, allocations: 0.6404 MB / 0.6559 GB, free: 3.258 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04093/0.5327, allocations: 19.76 MB / 0.6752 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002886/0.533, allocations: 75.39 kB / 0.6753 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001426/0.5344, allocations: 307.8 kB / 0.6756 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005178/0.5396, allocations: 3.309 MB / 0.6788 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03469/0.5743, allocations: 14.97 MB / 0.6934 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5804/1.155, allocations: 66.38 MB / 0.7582 GB, free: 107 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01772/1.172, allocations: 5.75 MB / 0.7639 GB, free: 106.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002704/1.175, allocations: 2.234 MB / 0.766 GB, free: 105.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01658/1.192, allocations: 8.453 MB / 0.7743 GB, free: 102.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/1.192, allocations: 59.44 kB / 0.7744 GB, free: 102.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=212): time 5.571e-06/1.192, allocations: 0 / 0.7744 GB, free: 102.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=236): time 0.04028/1.232, allocations: 16.84 MB / 0.7908 GB, free: 89.3 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/1.232, allocations: 161.7 kB / 0.791 GB, free: 89.11 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006442/1.239, allocations: 6.341 MB / 0.7971 GB, free: 82.99 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003939/1.239, allocations: 65.38 kB / 0.7972 GB, free: 82.93 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00234/1.241, allocations: 5.889 MB / 0.803 GB, free: 77.41 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007735/1.242, allocations: 0.9628 MB / 0.8039 GB, free: 76.46 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001749/1.244, allocations: 1.833 MB / 0.8057 GB, free: 74.62 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.384e-05/1.244, allocations: 309 kB / 0.806 GB, free: 74.31 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003107/1.247, allocations: 2.535 MB / 0.8085 GB, free: 71.77 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004828/1.252, allocations: 8.235 MB / 0.8165 GB, free: 60.79 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009452/1.261, allocations: 11.74 MB / 0.828 GB, free: 46.37 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001856/1.261, allocations: 60 kB / 0.828 GB, free: 46.31 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1193) (initialization): time 0.01571/1.277, allocations: 10.41 MB / 0.8382 GB, free: 35.9 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.966e-05/1.277, allocations: 92 kB / 0.8383 GB, free: 35.81 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001807/1.277, allocations: 200 kB / 0.8385 GB, free: 35.62 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001832/1.278, allocations: 272 kB / 0.8387 GB, free: 35.35 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006195/1.284, allocations: 2.079 MB / 0.8408 GB, free: 33.27 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000194/1.284, allocations: 398.5 kB / 0.8411 GB, free: 32.88 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005981/1.29, allocations: 423.7 kB / 0.8415 GB, free: 32.46 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001103/1.291, allocations: 0.5501 MB / 0.8421 GB, free: 31.92 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,cutForce2a.torqueArrow.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1b.torqueArrow.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1a.torqueArrow.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.forceArrow.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 (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.005134/1.296, allocations: 3.734 MB / 0.8457 GB, free: 28.16 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001024/1.297, allocations: 0.5394 MB / 0.8463 GB, free: 27.62 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/1.299, allocations: 0.6304 MB / 0.8469 GB, free: 26.98 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.376e-05/1.299, allocations: 11.97 kB / 0.8469 GB, free: 26.97 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.299, allocations: 0 / 0.8469 GB, free: 26.97 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00137/1.3, allocations: 480.1 kB / 0.8473 GB, free: 26.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001117/1.301, allocations: 40 kB / 0.8474 GB, free: 26.46 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002044/1.303, allocations: 107.9 kB / 0.8475 GB, free: 26.35 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002805/1.303, allocations: 129.1 kB / 0.8476 GB, free: 26.23 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003999/1.307, allocations: 2.831 MB / 0.8504 GB, free: 23.42 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003457/1.311, allocations: 3.234 MB / 0.8535 GB, free: 20.16 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001094/1.312, allocations: 1.043 MB / 0.8545 GB, free: 19.12 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005623/1.318, allocations: 3.685 MB / 0.8581 GB, free: 15.44 MB / 0.5607 GB Notification: Performance of Backend: time 5.51e-07/1.318, allocations: 3.938 kB / 0.8581 GB, free: 15.44 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.009933/1.327, allocations: 4.864 MB / 0.8629 GB, free: 10.62 MB / 0.5607 GB Notification: Performance of SimCode: time 0.03047/1.358, allocations: 16.05 MB / 0.8786 GB, free: 10.52 MB / 0.5763 GB Notification: Performance of Templates: time 0.1234/1.481, allocations: 60.29 MB / 0.9374 GB, free: 15.05 MB / 0.6388 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque1/CutForceAndTorque1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.038190730003407]