Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.001327/0.001327, allocations: 102.8 kB / 21.19 MB, free: 0.6367 MB / 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.001474/0.001474, allocations: 220.4 kB / 24.5 MB, free: 3.922 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.594/1.594, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2434/0.2434, allocations: 46.97 MB / 361.6 MB, free: 4.02 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.CutForceAndTorque2,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.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,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.CutForceAndTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 67.91 kB / 0.4973 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3157, allocations: 66.03 MB / 0.5618 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.01795/0.3336, allocations: 14.12 MB / 0.5756 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01125/0.3449, allocations: 5.187 MB / 0.5807 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002487/0.3474, allocations: 151.3 kB / 0.5808 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01416/0.3615, allocations: 7.228 MB / 0.5879 GB, free: 9.359 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008087/0.3696, allocations: 3.039 MB / 0.5908 GB, free: 6.312 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003832/0.3735, allocations: 1.712 MB / 0.5925 GB, free: 4.598 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01257/0.386, allocations: 8.413 MB / 0.6007 GB, free: 12.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01021/0.3962, allocations: 6.575 MB / 0.6072 GB, free: 5.492 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006922/0.4032, allocations: 3.424 MB / 0.6105 GB, free: 2.059 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008505/0.4117, allocations: 4.697 MB / 0.6151 GB, free: 13.34 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002855/0.4145, allocations: 0.707 MB / 0.6158 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004169/0.4187, allocations: 1.44 MB / 0.6172 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005596/0.4243, allocations: 4.18 MB / 0.6213 GB, free: 7.004 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006319/0.4306, allocations: 3.356 MB / 0.6245 GB, free: 3.629 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01686/0.4475, allocations: 13.73 MB / 0.6379 GB, free: 5.84 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.4475, allocations: 0 / 0.6379 GB, free: 5.84 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4475, allocations: 0 / 0.6379 GB, free: 5.84 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005459/0.448, allocations: 0 / 0.6379 GB, free: 5.84 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.02286/0.4709, allocations: 9.731 MB / 0.6475 GB, free: 12.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.4709, allocations: 8.031 kB / 0.6475 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01102/0.4819, allocations: 2.651 MB / 0.65 GB, free: 9.355 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01241/0.4944, allocations: 4.867 MB / 0.6548 GB, free: 4.402 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005288/0.4949, allocations: 0.5007 MB / 0.6553 GB, free: 3.898 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002226/0.4971, allocations: 0.6403 MB / 0.6559 GB, free: 3.258 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03926/0.5364, allocations: 19.75 MB / 0.6752 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002163/0.5366, allocations: 75.38 kB / 0.6753 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000949/0.5375, allocations: 307.8 kB / 0.6756 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004998/0.5425, allocations: 3.305 MB / 0.6788 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0359/0.5784, allocations: 14.97 MB / 0.6934 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.618/1.196, allocations: 66.39 MB / 0.7582 GB, free: 106.8 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01789/1.214, allocations: 5.812 MB / 0.7639 GB, free: 106.3 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002841/1.217, allocations: 2.235 MB / 0.7661 GB, free: 105.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01684/1.234, allocations: 8.458 MB / 0.7744 GB, free: 102.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/1.234, allocations: 55.44 kB / 0.7744 GB, free: 102.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=212): time 6.583e-06/1.234, allocations: 0 / 0.7744 GB, free: 102.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=236): time 0.05049/1.284, allocations: 16.85 MB / 0.7909 GB, free: 89.27 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/1.285, allocations: 157.9 kB / 0.791 GB, free: 89.09 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006597/1.291, allocations: 6.331 MB / 0.7972 GB, free: 82.98 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003854/1.292, allocations: 61.7 kB / 0.7973 GB, free: 82.91 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002455/1.294, allocations: 5.9 MB / 0.803 GB, free: 77.4 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008074/1.295, allocations: 0.9634 MB / 0.804 GB, free: 76.45 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001692/1.296, allocations: 1.836 MB / 0.8058 GB, free: 74.61 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.836e-05/1.297, allocations: 305.1 kB / 0.806 GB, free: 74.3 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003098/1.3, allocations: 2.532 MB / 0.8085 GB, free: 71.77 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005202/1.305, allocations: 8.238 MB / 0.8166 GB, free: 60.78 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01038/1.315, allocations: 11.72 MB / 0.828 GB, free: 46.4 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003242/1.316, allocations: 56 kB / 0.8281 GB, free: 46.34 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1193) (initialization): time 0.0175/1.333, allocations: 10.4 MB / 0.8382 GB, free: 35.94 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002422/1.333, allocations: 92.97 kB / 0.8383 GB, free: 35.85 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002778/1.334, allocations: 200 kB / 0.8385 GB, free: 35.66 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002514/1.334, allocations: 268 kB / 0.8388 GB, free: 35.39 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00672/1.341, allocations: 2.074 MB / 0.8408 GB, free: 33.32 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003065/1.341, allocations: 398.5 kB / 0.8412 GB, free: 32.93 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006661/1.347, allocations: 431.7 kB / 0.8416 GB, free: 32.5 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001469/1.349, allocations: 0.5622 MB / 0.8421 GB, free: 31.95 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.005915/1.355, allocations: 3.731 MB / 0.8458 GB, free: 28.19 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001066/1.356, allocations: 0.5393 MB / 0.8463 GB, free: 27.65 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/1.357, allocations: 0.6343 MB / 0.8469 GB, free: 27.01 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.987e-05/1.357, allocations: 11.95 kB / 0.8469 GB, free: 27 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/1.357, allocations: 4 kB / 0.8469 GB, free: 26.99 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/1.359, allocations: 480.1 kB / 0.8474 GB, free: 26.52 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001048/1.36, allocations: 43.88 kB / 0.8474 GB, free: 26.48 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/1.362, allocations: 103.9 kB / 0.8475 GB, free: 26.38 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002828/1.362, allocations: 125 kB / 0.8477 GB, free: 26.26 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003947/1.366, allocations: 2.833 MB / 0.8504 GB, free: 23.45 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0035/1.369, allocations: 3.236 MB / 0.8536 GB, free: 20.2 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001131/1.37, allocations: 1.05 MB / 0.8546 GB, free: 19.15 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.00611/1.377, allocations: 3.674 MB / 0.8582 GB, free: 15.48 MB / 0.5607 GB Notification: Performance of Backend: time 3.21e-07/1.377, allocations: 0 / 0.8582 GB, free: 15.48 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01155/1.388, allocations: 4.861 MB / 0.8629 GB, free: 10.67 MB / 0.5607 GB Notification: Performance of SimCode: time 0.03346/1.422, allocations: 16.07 MB / 0.8786 GB, free: 10.52 MB / 0.5763 GB Notification: Performance of Templates: time 0.1308/1.552, allocations: 60.25 MB / 0.9375 GB, free: 15.09 MB / 0.6388 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque2/CutForceAndTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.196314060995064]