Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.001006/0.001006, allocations: 75.77 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001017/0.001017, allocations: 165 kB / 24.56 MB, free: 8 kB / 18.57 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 0.9229/0.9229, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.2397/0.2397, allocations: 34.26 MB / 295.7 MB, free: 0.7539 MB / 266.7 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.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 378 MB, free: 2.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.748e-05, allocations: 2.312 kB / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01113/0.01114, allocations: 9.807 MB / 387.8 MB, free: 8.82 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005954/0.0171, allocations: 3.025 MB / 390.9 MB, free: 5.785 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000643/0.01774, allocations: 59.81 kB / 390.9 MB, free: 5.727 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002825/0.02057, allocations: 2.8 MB / 393.7 MB, free: 2.918 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.02226, allocations: 1.248 MB / 395 MB, free: 1.664 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005249/0.02279, allocations: 383.2 kB / 395.3 MB, free: 1.289 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002529/0.02532, allocations: 2.589 MB / 397.9 MB, free: 14.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002038/0.02736, allocations: 2.312 MB / 400.2 MB, free: 12.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001661/0.02902, allocations: 1.559 MB / 401.8 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.03039, allocations: 1.372 MB / 403.2 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003423/0.03073, allocations: 252 kB / 403.4 MB, free: 9.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007666/0.0315, allocations: 0.7098 MB / 404.1 MB, free: 8.449 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000751/0.03225, allocations: 1.422 MB / 405.5 MB, free: 7.023 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005754/0.03282, allocations: 0.884 MB / 406.4 MB, free: 6.137 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002337/0.03516, allocations: 3.145 MB / 409.6 MB, free: 2.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.03516, allocations: 4 kB / 409.6 MB, free: 2.977 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.03517, allocations: 0 / 409.6 MB, free: 2.977 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.599e-05/0.03519, allocations: 3.938 kB / 409.6 MB, free: 2.973 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.002959/0.03815, allocations: 3.566 MB / 413.1 MB, free: 15.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.749e-05/0.03818, allocations: 8.031 kB / 413.2 MB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002867/0.04105, allocations: 1.957 MB / 415.1 MB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.04242, allocations: 1.412 MB / 416.5 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.07e-05/0.0425, allocations: 180.9 kB / 416.7 MB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/0.04271, allocations: 232.3 kB / 416.9 MB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004146/0.04686, allocations: 3.771 MB / 420.7 MB, free: 7.328 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/0.0469, allocations: 15.86 kB / 420.7 MB, free: 7.312 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/0.04707, allocations: 107.9 kB / 420.8 MB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001183/0.04825, allocations: 1.455 MB / 422.3 MB, free: 5.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003284/0.05153, allocations: 2.033 MB / 424.3 MB, free: 3.695 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1545/0.206, allocations: 22.48 MB / 446.8 MB, free: 78.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/0.2081, allocations: 1.001 MB / 447.8 MB, free: 78.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003093/0.2084, allocations: 247.1 kB / 448 MB, free: 78.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003161/0.2116, allocations: 2.671 MB / 450.7 MB, free: 78.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.2116, allocations: 40.67 kB / 450.7 MB, free: 78.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 2.836e-06/0.2116, allocations: 0 / 450.7 MB, free: 78.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.002969/0.2146, allocations: 1.5 MB / 452.2 MB, free: 77.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.2146, allocations: 57.88 kB / 452.3 MB, free: 77.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/0.2164, allocations: 1.866 MB / 454.2 MB, free: 77.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.2164, allocations: 36.17 kB / 454.2 MB, free: 77.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009655/0.2174, allocations: 2.216 MB / 456.4 MB, free: 76.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.2176, allocations: 373.7 kB / 456.8 MB, free: 76.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005372/0.2181, allocations: 0.7074 MB / 457.5 MB, free: 76.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.647e-05/0.2182, allocations: 0.5285 MB / 458 MB, free: 75.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005325/0.2187, allocations: 307.9 kB / 458.3 MB, free: 75.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.22, allocations: 3.167 MB / 461.5 MB, free: 71.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002227/0.2222, allocations: 3.831 MB / 465.3 MB, free: 68.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.585e-05/0.2222, allocations: 22.34 kB / 465.3 MB, free: 68.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.002867/0.2251, allocations: 2.619 MB / 468 MB, free: 67.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.2251, allocations: 44.56 kB / 468 MB, free: 67.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.483e-05/0.2252, allocations: 69.03 kB / 468.1 MB, free: 67.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.624e-05/0.2253, allocations: 92.03 kB / 468.2 MB, free: 67.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.2264, allocations: 0.6838 MB / 468.8 MB, free: 67.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.19e-05/0.2265, allocations: 135.5 kB / 469 MB, free: 67.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.2277, allocations: 429.4 kB / 469.4 MB, free: 67.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.2278, allocations: 195.4 kB / 469.6 MB, free: 67.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (382): * Single equations (assignments): 377 * Array equations: 5 * 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.0009846/0.2288, allocations: 424.5 kB / 470 MB, free: 66.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.2289, allocations: 192.4 kB / 470.2 MB, free: 66.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.2291, allocations: 174.2 kB / 470.4 MB, free: 66.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.2291, allocations: 12.72 kB / 470.4 MB, free: 66.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.2291, allocations: 0 / 470.4 MB, free: 66.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.2291, allocations: 3.281 kB / 470.4 MB, free: 66.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003604/0.2327, allocations: 3.313 MB / 473.7 MB, free: 64.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.2327, allocations: 6.125 kB / 473.7 MB, free: 64.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.2329, allocations: 125 kB / 473.8 MB, free: 64.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.233, allocations: 9.562 kB / 473.8 MB, free: 64.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.233, allocations: 22.77 kB / 473.8 MB, free: 64.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.233, allocations: 12.84 kB / 473.9 MB, free: 64.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.233, allocations: 14.16 kB / 473.9 MB, free: 64.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005933/0.2336, allocations: 0.9932 MB / 474.9 MB, free: 64.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.2337, allocations: 167.7 kB / 475 MB, free: 63.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.694e-05/0.2338, allocations: 22.81 kB / 475 MB, free: 63.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.234, allocations: 25.7 kB / 475.1 MB, free: 63.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.2341, allocations: 71.77 kB / 475.1 MB, free: 63.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.2341, allocations: 38.67 kB / 475.2 MB, free: 63.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006193/0.2348, allocations: 0.8079 MB / 476 MB, free: 63.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2348, allocations: 0 / 476 MB, free: 63.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00175/0.2365, allocations: 0.8045 MB / 476.8 MB, free: 63.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * Array equations: 3 * 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 Backend phase and start with SimCode phase: time 0.0003047/0.2368, allocations: 153.7 kB / 476.9 MB, free: 63.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.2384, allocations: 1.331 MB / 478.3 MB, free: 62.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2384, allocations: 0 / 478.3 MB, free: 62.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.2386, allocations: 226.9 kB / 478.5 MB, free: 62.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006993/0.2393, allocations: 218.6 kB / 478.7 MB, free: 62.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00591/0.2452, allocations: 5.028 MB / 483.7 MB, free: 59.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006812/0.2459, allocations: 0.8709 MB / 484.6 MB, free: 59.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001208/0.2471, allocations: 0.8555 MB / 485.5 MB, free: 59.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.2473, allocations: 123.6 kB / 485.6 MB, free: 59.45 MB / 410.7 MB Notification: Performance of SimCode: time 2.074e-06/0.2473, allocations: 0 / 485.6 MB, free: 59.45 MB / 410.7 MB Notification: Performance of Templates: time 0.02377/0.2711, allocations: 13.2 MB / 498.8 MB, free: 57.94 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.384058617055416]