Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009505/0.0009505, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000913/0.000913, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9572/0.9572, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2768/0.2768, allocations: 34.87 MB / 296.3 MB, free: 0.5352 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.953e-05, allocations: 6.312 kB / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01117/0.01119, allocations: 9.802 MB / 388.6 MB, free: 8.254 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005471/0.01666, allocations: 3.033 MB / 391.6 MB, free: 5.211 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008092/0.01747, allocations: 59.81 kB / 391.6 MB, free: 5.152 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003764/0.02123, allocations: 2.8 MB / 394.4 MB, free: 2.344 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002197/0.02343, allocations: 1.244 MB / 395.7 MB, free: 1.094 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007154/0.02415, allocations: 391 kB / 396.1 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0025/0.02665, allocations: 2.585 MB / 398.7 MB, free: 14.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002303/0.02895, allocations: 2.316 MB / 401 MB, free: 11.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.03056, allocations: 1.563 MB / 402.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.03205, allocations: 1.376 MB / 403.9 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003642/0.03241, allocations: 248 kB / 404.2 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009749/0.03339, allocations: 0.7059 MB / 404.9 MB, free: 7.875 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001274/0.03466, allocations: 1.418 MB / 406.3 MB, free: 6.453 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008584/0.03552, allocations: 0.8917 MB / 407.2 MB, free: 5.559 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00303/0.03855, allocations: 3.157 MB / 410.3 MB, free: 2.391 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.03856, allocations: 0 / 410.3 MB, free: 2.391 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.03856, allocations: 4 kB / 410.3 MB, free: 2.387 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.085e-05/0.03862, allocations: 0 / 410.3 MB, free: 2.387 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.004807/0.04342, allocations: 3.559 MB / 413.9 MB, free: 14.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.04347, allocations: 16.02 kB / 413.9 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003996/0.04746, allocations: 1.957 MB / 415.9 MB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/0.04951, allocations: 1.412 MB / 417.3 MB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.04963, allocations: 173 kB / 417.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004309/0.05006, allocations: 236.3 kB / 417.7 MB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00549/0.05555, allocations: 3.774 MB / 421.4 MB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.86e-05/0.05559, allocations: 11.88 kB / 421.5 MB, free: 6.727 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.05577, allocations: 107.9 kB / 421.6 MB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001253/0.05703, allocations: 1.451 MB / 423 MB, free: 5.168 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00479/0.06182, allocations: 2.033 MB / 425 MB, free: 3.117 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1831/0.2449, allocations: 22.47 MB / 447.5 MB, free: 78.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002439/0.2473, allocations: 0.9995 MB / 448.5 MB, free: 78.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003897/0.2477, allocations: 242.3 kB / 448.8 MB, free: 78.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004028/0.2517, allocations: 2.679 MB / 451.4 MB, free: 77.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.2518, allocations: 44.2 kB / 451.5 MB, free: 77.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 4.148e-06/0.2518, allocations: 0 / 451.5 MB, free: 77.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.003244/0.255, allocations: 1.488 MB / 453 MB, free: 77.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.255, allocations: 57.72 kB / 453 MB, free: 77.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.2568, allocations: 1.876 MB / 454.9 MB, free: 77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.2568, allocations: 39.58 kB / 454.9 MB, free: 76.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008299/0.2577, allocations: 2.211 MB / 457.1 MB, free: 75.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.2579, allocations: 369.5 kB / 457.5 MB, free: 75.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000535/0.2584, allocations: 0.7117 MB / 458.2 MB, free: 75.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.92e-05/0.2585, allocations: 0.5241 MB / 458.7 MB, free: 75.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006863/0.2592, allocations: 311.6 kB / 459 MB, free: 75.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.2604, allocations: 3.167 MB / 462.2 MB, free: 71.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002231/0.2626, allocations: 3.832 MB / 466 MB, free: 67.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.212e-05/0.2626, allocations: 21.31 kB / 466.1 MB, free: 67.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.002947/0.2656, allocations: 2.613 MB / 468.7 MB, free: 66.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.141e-05/0.2656, allocations: 37.12 kB / 468.7 MB, free: 66.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.092e-05/0.2657, allocations: 68.06 kB / 468.8 MB, free: 66.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.355e-05/0.2658, allocations: 96.59 kB / 468.9 MB, free: 66.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.2669, allocations: 0.6864 MB / 469.6 MB, free: 66.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.244e-05/0.267, allocations: 132.1 kB / 469.7 MB, free: 66.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.2682, allocations: 435.2 kB / 470.1 MB, free: 66.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.2684, allocations: 196.8 kB / 470.3 MB, free: 66.52 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.0009228/0.2693, allocations: 423.8 kB / 470.7 MB, free: 66.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.2695, allocations: 189.1 kB / 470.9 MB, free: 66.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.2696, allocations: 173 kB / 471.1 MB, free: 65.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.2696, allocations: 17.08 kB / 471.1 MB, free: 65.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.2696, allocations: 3.422 kB / 471.1 MB, free: 65.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.2696, allocations: 0 / 471.1 MB, free: 65.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003936/0.2736, allocations: 3.304 MB / 474.4 MB, free: 64.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.2736, allocations: 9.25 kB / 474.4 MB, free: 64.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.2738, allocations: 119.7 kB / 474.5 MB, free: 64.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.2739, allocations: 15.44 kB / 474.5 MB, free: 64.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.2739, allocations: 19.19 kB / 474.6 MB, free: 64.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/0.2739, allocations: 18.72 kB / 474.6 MB, free: 64.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.2739, allocations: 9.625 kB / 474.6 MB, free: 64.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006927/0.2746, allocations: 1.002 MB / 475.6 MB, free: 63.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.2747, allocations: 172.7 kB / 475.8 MB, free: 63.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.064e-05/0.2748, allocations: 23.73 kB / 475.8 MB, free: 63.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.2751, allocations: 22.8 kB / 475.8 MB, free: 63.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/0.2751, allocations: 68.09 kB / 475.9 MB, free: 63.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.752e-05/0.2752, allocations: 39.59 kB / 475.9 MB, free: 63.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007062/0.2759, allocations: 0.8083 MB / 476.7 MB, free: 62.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2759, allocations: 0 / 476.7 MB, free: 62.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002172/0.2781, allocations: 0.8014 MB / 477.5 MB, free: 62.66 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.000281/0.2783, allocations: 151.5 kB / 477.7 MB, free: 62.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001763/0.2801, allocations: 1.33 MB / 479 MB, free: 62.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.2801, allocations: 1.859 kB / 479 MB, free: 62.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.2803, allocations: 226.2 kB / 479.2 MB, free: 62.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007977/0.2811, allocations: 222.4 kB / 479.4 MB, free: 61.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00723/0.2884, allocations: 5.019 MB / 484.5 MB, free: 59.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009711/0.2893, allocations: 0.8748 MB / 485.3 MB, free: 58.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001618/0.291, allocations: 0.8475 MB / 486.2 MB, free: 58.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/0.2912, allocations: 123.8 kB / 486.3 MB, free: 58.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/0.2912, allocations: 1.438 kB / 486.3 MB, free: 58.77 MB / 410.7 MB Notification: Performance of Templates: time 0.0248/0.316, allocations: 13.21 MB / 499.5 MB, free: 57.25 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.5194492391310632]