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.001023/0.001023, allocations: 87.67 kB / 21.19 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.001169/0.001169, allocations: 156.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.9942/0.9942, allocations: 177 MB / 204.8 MB, free: 5.582 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.2865/0.2865, allocations: 34.86 MB / 296.3 MB, free: 476 kB / 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 2.004e-06/2.004e-06, allocations: 0 / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.618e-05/3.818e-05, allocations: 4.984 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01314/0.01318, allocations: 9.788 MB / 388.6 MB, free: 8.211 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007901/0.02108, allocations: 3.033 MB / 391.6 MB, free: 5.168 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.02255, allocations: 59.81 kB / 391.6 MB, free: 5.109 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003153/0.0257, allocations: 2.8 MB / 394.4 MB, free: 2.301 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002249/0.02795, allocations: 1.248 MB / 395.7 MB, free: 1.047 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006496/0.0286, allocations: 383.1 kB / 396.1 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002764/0.03137, allocations: 2.59 MB / 398.7 MB, free: 14.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002359/0.03373, allocations: 2.312 MB / 401 MB, free: 11.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.03547, allocations: 1.563 MB / 402.5 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.03693, allocations: 1.372 MB / 403.9 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003752/0.0373, allocations: 252 kB / 404.1 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008758/0.03818, allocations: 0.6943 MB / 404.8 MB, free: 7.844 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009738/0.03915, allocations: 1.434 MB / 406.3 MB, free: 6.406 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007849/0.03994, allocations: 0.8801 MB / 407.2 MB, free: 5.523 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.04237, allocations: 3.157 MB / 410.3 MB, free: 2.355 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.04238, allocations: 0 / 410.3 MB, free: 2.355 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.04238, allocations: 0 / 410.3 MB, free: 2.355 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.886e-05/0.04243, allocations: 4 kB / 410.3 MB, free: 2.352 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.003506/0.04593, allocations: 3.563 MB / 413.9 MB, free: 14.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.04598, allocations: 16.03 kB / 413.9 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003002/0.04898, allocations: 1.949 MB / 415.8 MB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/0.05053, allocations: 1.383 MB / 417.2 MB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.781e-05/0.05062, allocations: 180.9 kB / 417.4 MB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002521/0.05088, allocations: 228.3 kB / 417.6 MB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004478/0.05536, allocations: 3.778 MB / 421.4 MB, free: 6.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.827e-05/0.05539, allocations: 11.88 kB / 421.4 MB, free: 6.719 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/0.05557, allocations: 115.9 kB / 421.5 MB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001233/0.05681, allocations: 1.447 MB / 423 MB, free: 5.156 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003591/0.0604, allocations: 2.029 MB / 425 MB, free: 3.109 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1892/0.2496, allocations: 22.48 MB / 447.5 MB, free: 78.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/0.2517, allocations: 0.999 MB / 448.5 MB, free: 78.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.252, allocations: 247.1 kB / 448.7 MB, free: 78.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002929/0.2549, allocations: 2.67 MB / 451.4 MB, free: 77.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.2549, allocations: 43.81 kB / 451.4 MB, free: 77.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 2.284e-06/0.2549, allocations: 0 / 451.4 MB, free: 77.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.002839/0.2578, allocations: 1.493 MB / 452.9 MB, free: 77.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.2578, allocations: 63.34 kB / 453 MB, free: 77.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.2592, allocations: 1.867 MB / 454.9 MB, free: 77.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.2592, allocations: 35.8 kB / 454.9 MB, free: 77.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007858/0.26, allocations: 2.22 MB / 457.1 MB, free: 75.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.2602, allocations: 373.8 kB / 457.5 MB, free: 75.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005058/0.2607, allocations: 0.7069 MB / 458.2 MB, free: 75.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.848e-05/0.2608, allocations: 0.5221 MB / 458.7 MB, free: 75.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00043/0.2612, allocations: 311.7 kB / 459 MB, free: 75.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.2624, allocations: 3.171 MB / 462.2 MB, free: 71.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002063/0.2644, allocations: 3.829 MB / 466 MB, free: 67.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-05/0.2644, allocations: 18.88 kB / 466 MB, free: 67.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.002473/0.2669, allocations: 2.613 MB / 468.6 MB, free: 66.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.2669, allocations: 35.28 kB / 468.7 MB, free: 66.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.5e-05/0.267, allocations: 69.75 kB / 468.7 MB, free: 66.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.742e-05/0.267, allocations: 93.88 kB / 468.8 MB, free: 66.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000984/0.268, allocations: 0.6909 MB / 469.5 MB, free: 66.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.407e-05/0.2681, allocations: 131.5 kB / 469.7 MB, free: 66.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009173/0.269, allocations: 434 kB / 470.1 MB, free: 66.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.2691, allocations: 195.9 kB / 470.3 MB, free: 66.57 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.0004931/0.2696, allocations: 436.3 kB / 470.7 MB, free: 66.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.2697, allocations: 182.9 kB / 470.9 MB, free: 66.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.2699, allocations: 175.6 kB / 471 MB, free: 66.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.2699, allocations: 13.59 kB / 471.1 MB, free: 66.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2699, allocations: 0 / 471.1 MB, free: 66.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2699, allocations: 3.422 kB / 471.1 MB, free: 66.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00325/0.2732, allocations: 3.305 MB / 474.4 MB, free: 64.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.2732, allocations: 9.844 kB / 474.4 MB, free: 64.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.2734, allocations: 118.9 kB / 474.5 MB, free: 64.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.2734, allocations: 9.156 kB / 474.5 MB, free: 64.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.2734, allocations: 21.5 kB / 474.5 MB, free: 64.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.2734, allocations: 26.73 kB / 474.5 MB, free: 64.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.2734, allocations: 13.47 kB / 474.6 MB, free: 64.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006807/0.2741, allocations: 0.9941 MB / 475.6 MB, free: 63.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.2742, allocations: 160.7 kB / 475.7 MB, free: 63.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.467e-05/0.2743, allocations: 23.88 kB / 475.7 MB, free: 63.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.2745, allocations: 33.67 kB / 475.8 MB, free: 63.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.2746, allocations: 67.66 kB / 475.8 MB, free: 63.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.2746, allocations: 40 kB / 475.9 MB, free: 63.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006596/0.2753, allocations: 0.8023 MB / 476.7 MB, free: 62.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2753, allocations: 0 / 476.7 MB, free: 62.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001509/0.2768, allocations: 0.8078 MB / 477.5 MB, free: 62.7 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.0002231/0.277, allocations: 153.4 kB / 477.6 MB, free: 62.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.2782, allocations: 1.331 MB / 479 MB, free: 62.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2782, allocations: 0 / 479 MB, free: 62.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.2784, allocations: 227.9 kB / 479.2 MB, free: 62.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006833/0.2791, allocations: 228 kB / 479.4 MB, free: 61.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005364/0.2845, allocations: 5.015 MB / 484.4 MB, free: 59.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006958/0.2851, allocations: 0.8741 MB / 485.3 MB, free: 58.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001144/0.2863, allocations: 0.8496 MB / 486.1 MB, free: 58.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.2865, allocations: 125.1 kB / 486.3 MB, free: 58.82 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2865, allocations: 0 / 486.3 MB, free: 58.82 MB / 410.7 MB Notification: Performance of Templates: time 0.02157/0.3081, allocations: 12.65 MB / 498.9 MB, free: 57.35 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.810839865822345]