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.001003/0.001003, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009717/0.0009717, allocations: 161 kB / 24.56 MB, free: 20 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.9394/0.9394, allocations: 177.2 MB / 205 MB, free: 5.297 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.2708/0.2708, allocations: 34.26 MB / 295.7 MB, free: 0.7148 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.733e-06/1.733e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.515e-05, allocations: 2.312 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.00844/0.008465, allocations: 9.803 MB / 387.8 MB, free: 8.812 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004216/0.01268, allocations: 3.025 MB / 390.9 MB, free: 5.777 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004714/0.01315, allocations: 59.81 kB / 390.9 MB, free: 5.719 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00289/0.01604, allocations: 2.8 MB / 393.7 MB, free: 2.91 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.01753, allocations: 1.248 MB / 395 MB, free: 1.656 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.01803, allocations: 383.1 kB / 395.3 MB, free: 1.281 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001821/0.01985, allocations: 2.59 MB / 397.9 MB, free: 14.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.02159, allocations: 2.312 MB / 400.2 MB, free: 12.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.0226, allocations: 1.559 MB / 401.8 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.02361, allocations: 1.376 MB / 403.2 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002293/0.02384, allocations: 256 kB / 403.4 MB, free: 9.148 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006794/0.02452, allocations: 0.6943 MB / 404.1 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007581/0.02528, allocations: 1.426 MB / 405.5 MB, free: 7.023 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007683/0.02605, allocations: 0.8801 MB / 406.4 MB, free: 6.141 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.02823, allocations: 3.153 MB / 409.6 MB, free: 2.977 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.02824, allocations: 0 / 409.6 MB, free: 2.977 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.02824, allocations: 4 kB / 409.6 MB, free: 2.973 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.43e-05/0.02826, allocations: 0 / 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.00315/0.03141, allocations: 3.563 MB / 413.1 MB, free: 15.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.03145, allocations: 12.03 kB / 413.2 MB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003182/0.03463, allocations: 1.957 MB / 415.1 MB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.03618, allocations: 1.383 MB / 416.5 MB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.446e-05/0.03627, allocations: 180.9 kB / 416.7 MB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002402/0.03651, allocations: 228.3 kB / 416.9 MB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004418/0.04093, allocations: 3.782 MB / 420.7 MB, free: 7.348 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.79e-05/0.04097, allocations: 11.88 kB / 420.7 MB, free: 7.336 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/0.04115, allocations: 111.9 kB / 420.8 MB, free: 7.227 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001199/0.04235, allocations: 1.439 MB / 422.2 MB, free: 5.785 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003472/0.04582, allocations: 2.039 MB / 424.3 MB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1741/0.2199, allocations: 22.49 MB / 446.8 MB, free: 78.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002108/0.2221, allocations: 1.003 MB / 447.8 MB, free: 78.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.2224, allocations: 238.5 kB / 448 MB, free: 78.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003432/0.2258, allocations: 2.668 MB / 450.7 MB, free: 77.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.2258, allocations: 53.03 kB / 450.7 MB, free: 77.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 3.556e-06/0.2258, allocations: 0 / 450.7 MB, free: 77.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.003002/0.2288, allocations: 1.489 MB / 452.2 MB, free: 77.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.2289, allocations: 57.41 kB / 452.3 MB, free: 77.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/0.2304, allocations: 1.872 MB / 454.1 MB, free: 77.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.2305, allocations: 35.8 kB / 454.2 MB, free: 77.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007917/0.2313, allocations: 2.219 MB / 456.4 MB, free: 76.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.2314, allocations: 374.5 kB / 456.8 MB, free: 75.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005198/0.232, allocations: 0.7022 MB / 457.5 MB, free: 75.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.598e-05/0.232, allocations: 0.5272 MB / 458 MB, free: 75.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004649/0.2325, allocations: 307.2 kB / 458.3 MB, free: 75.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.2336, allocations: 3.165 MB / 461.5 MB, free: 71.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/0.2357, allocations: 3.84 MB / 465.3 MB, free: 67.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.592e-05/0.2357, allocations: 18.78 kB / 465.3 MB, free: 67.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.002651/0.2384, allocations: 2.612 MB / 467.9 MB, free: 67.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/0.2384, allocations: 32.94 kB / 468 MB, free: 67.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-05/0.2385, allocations: 70.64 kB / 468 MB, free: 67.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.032e-05/0.2385, allocations: 93.88 kB / 468.1 MB, free: 67.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.2396, allocations: 0.6884 MB / 468.8 MB, free: 67.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-05/0.2397, allocations: 137.4 kB / 468.9 MB, free: 67.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.2407, allocations: 436 kB / 469.4 MB, free: 67.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.2409, allocations: 197.9 kB / 469.6 MB, free: 67.1 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.0007313/0.2416, allocations: 424.6 kB / 470 MB, free: 66.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.2417, allocations: 180.5 kB / 470.1 MB, free: 66.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.2419, allocations: 173.2 kB / 470.3 MB, free: 66.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.2419, allocations: 15.58 kB / 470.3 MB, free: 66.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.2419, allocations: 0 / 470.3 MB, free: 66.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.2419, allocations: 3.328 kB / 470.3 MB, free: 66.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003751/0.2456, allocations: 3.314 MB / 473.6 MB, free: 64.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.2456, allocations: 10.38 kB / 473.7 MB, free: 64.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.2459, allocations: 120.6 kB / 473.8 MB, free: 64.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.2459, allocations: 12 kB / 473.8 MB, free: 64.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.2459, allocations: 22.84 kB / 473.8 MB, free: 64.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.2459, allocations: 15.89 kB / 473.8 MB, free: 64.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.2459, allocations: 13.03 kB / 473.8 MB, free: 64.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006825/0.2466, allocations: 0.9903 MB / 474.8 MB, free: 63.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.2468, allocations: 167.9 kB / 475 MB, free: 63.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.264e-05/0.2468, allocations: 23.03 kB / 475 MB, free: 63.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.2471, allocations: 29.7 kB / 475 MB, free: 63.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/0.2472, allocations: 78.34 kB / 475.1 MB, free: 63.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.2472, allocations: 33.86 kB / 475.2 MB, free: 63.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000691/0.2479, allocations: 0.8067 MB / 476 MB, free: 63.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2479, allocations: 0 / 476 MB, free: 63.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001848/0.2497, allocations: 0.8042 MB / 476.8 MB, free: 63.24 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.0002492/0.25, allocations: 152.4 kB / 476.9 MB, free: 63.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001836/0.2518, allocations: 1.333 MB / 478.2 MB, free: 62.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.2518, allocations: 0 / 478.2 MB, free: 62.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002538/0.2521, allocations: 233.1 kB / 478.5 MB, free: 62.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007649/0.2528, allocations: 213.2 kB / 478.7 MB, free: 62.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006655/0.2595, allocations: 5.024 MB / 483.7 MB, free: 59.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007997/0.2603, allocations: 0.8705 MB / 484.6 MB, free: 59.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001384/0.2617, allocations: 0.8506 MB / 485.4 MB, free: 59.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.2619, allocations: 121 kB / 485.5 MB, free: 59.35 MB / 410.7 MB Notification: Performance of SimCode: time 1.613e-06/0.2619, allocations: 0 / 485.5 MB, free: 59.35 MB / 410.7 MB Notification: Performance of Templates: time 0.02422/0.2862, allocations: 12.65 MB / 498.2 MB, free: 57.87 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.68043872108683]