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.001404/0.001404, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.00163/0.00163, allocations: 161 kB / 24.99 MB, free: 8.801 MB / 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.97/0.97, allocations: 177 MB / 205.2 MB, free: 5.602 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.3382/0.3382, allocations: 34.86 MB / 296.6 MB, free: 0.5547 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 3.386e-06/3.386e-06, allocations: 7.922 kB / 378.7 MB, free: 2.434 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.916e-05, allocations: 2.312 kB / 378.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.009139/0.009168, allocations: 9.774 MB / 388.5 MB, free: 8.605 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006472/0.01564, allocations: 3.013 MB / 391.5 MB, free: 5.582 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009989/0.01664, allocations: 63.81 kB / 391.6 MB, free: 5.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003037/0.01968, allocations: 2.785 MB / 394.4 MB, free: 2.727 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.02174, allocations: 1.252 MB / 395.6 MB, free: 1.469 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000589/0.02233, allocations: 383.1 kB / 396 MB, free: 1.094 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002732/0.02506, allocations: 2.589 MB / 398.6 MB, free: 14.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.02686, allocations: 2.316 MB / 400.9 MB, free: 12.15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.02805, allocations: 1.555 MB / 402.5 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.02956, allocations: 1.376 MB / 403.8 MB, free: 9.211 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002582/0.02982, allocations: 252 kB / 404.1 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000811/0.03063, allocations: 0.7021 MB / 404.8 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008156/0.03145, allocations: 1.422 MB / 406.2 MB, free: 6.836 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000642/0.03209, allocations: 0.8801 MB / 407.1 MB, free: 5.953 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00236/0.03445, allocations: 3.16 MB / 410.2 MB, free: 2.781 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.03445, allocations: 0 / 410.2 MB, free: 2.781 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.03446, allocations: 0 / 410.2 MB, free: 2.781 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.482e-05/0.03449, allocations: 0 / 410.2 MB, free: 2.781 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.003667/0.03816, allocations: 3.567 MB / 413.8 MB, free: 15.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.03821, allocations: 12.03 kB / 413.8 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003117/0.04132, allocations: 1.957 MB / 415.8 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.04288, allocations: 1.383 MB / 417.2 MB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.773e-05/0.04298, allocations: 177 kB / 417.3 MB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002423/0.04322, allocations: 232.3 kB / 417.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005035/0.04826, allocations: 3.782 MB / 421.3 MB, free: 7.148 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.119e-05/0.0483, allocations: 11.88 kB / 421.4 MB, free: 7.137 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/0.04849, allocations: 107.9 kB / 421.5 MB, free: 7.031 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001316/0.0498, allocations: 1.439 MB / 422.9 MB, free: 5.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003941/0.05375, allocations: 2.036 MB / 424.9 MB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2375/0.2913, allocations: 22.49 MB / 447.4 MB, free: 83.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/0.2943, allocations: 0.9951 MB / 448.4 MB, free: 83.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004221/0.2947, allocations: 243.1 kB / 448.7 MB, free: 83.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004079/0.2988, allocations: 2.676 MB / 451.3 MB, free: 83.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.2988, allocations: 44.67 kB / 451.4 MB, free: 83.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 3.236e-06/0.2988, allocations: 3.062 kB / 451.4 MB, free: 83.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.004195/0.303, allocations: 1.49 MB / 452.9 MB, free: 82.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.3031, allocations: 57.72 kB / 452.9 MB, free: 82.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.3046, allocations: 1.865 MB / 454.8 MB, free: 82.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.3046, allocations: 40.36 kB / 454.8 MB, free: 82.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007865/0.3054, allocations: 2.212 MB / 457 MB, free: 81.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.3056, allocations: 375 kB / 457.4 MB, free: 81.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005191/0.3061, allocations: 0.7085 MB / 458.1 MB, free: 80.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.3062, allocations: 0.5252 MB / 458.6 MB, free: 80.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004455/0.3066, allocations: 312.2 kB / 458.9 MB, free: 80.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.3078, allocations: 3.169 MB / 462.1 MB, free: 76.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00232/0.3101, allocations: 3.832 MB / 465.9 MB, free: 72.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-05/0.3102, allocations: 18.75 kB / 466 MB, free: 72.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.002641/0.3128, allocations: 2.616 MB / 468.6 MB, free: 71.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.3128, allocations: 39.34 kB / 468.6 MB, free: 71.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.689e-05/0.3129, allocations: 67.66 kB / 468.7 MB, free: 71.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.195e-05/0.313, allocations: 91.44 kB / 468.8 MB, free: 71.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.3141, allocations: 0.6858 MB / 469.5 MB, free: 71.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.047e-05/0.3141, allocations: 138.9 kB / 469.6 MB, free: 71.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.3152, allocations: 431.9 kB / 470 MB, free: 70.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/0.3153, allocations: 200.4 kB / 470.2 MB, free: 70.82 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.0005911/0.3159, allocations: 425.8 kB / 470.6 MB, free: 70.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.3161, allocations: 188.5 kB / 470.8 MB, free: 70.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.3162, allocations: 173.9 kB / 471 MB, free: 70.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.3162, allocations: 9.688 kB / 471 MB, free: 70.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.3162, allocations: 0 / 471 MB, free: 70.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.3162, allocations: 3.141 kB / 471 MB, free: 70.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003389/0.3196, allocations: 3.309 MB / 474.3 MB, free: 68.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.3196, allocations: 6.344 kB / 474.3 MB, free: 68.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.3199, allocations: 114.7 kB / 474.4 MB, free: 68.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/0.3199, allocations: 10.22 kB / 474.4 MB, free: 68.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.3199, allocations: 24.67 kB / 474.5 MB, free: 68.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.3199, allocations: 17.53 kB / 474.5 MB, free: 68.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.3199, allocations: 20.72 kB / 474.5 MB, free: 68.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007387/0.3207, allocations: 0.9959 MB / 475.5 MB, free: 67.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.3208, allocations: 165 kB / 475.6 MB, free: 67.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.643e-05/0.3209, allocations: 23.53 kB / 475.7 MB, free: 67.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.3211, allocations: 27.11 kB / 475.7 MB, free: 67.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.888e-05/0.3212, allocations: 74.19 kB / 475.8 MB, free: 67.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/0.3212, allocations: 34.33 kB / 475.8 MB, free: 67.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007341/0.322, allocations: 0.8056 MB / 476.6 MB, free: 67.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.322, allocations: 0 / 476.6 MB, free: 67.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001823/0.3238, allocations: 0.8115 MB / 477.4 MB, free: 66.95 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.0002889/0.3241, allocations: 144 kB / 477.6 MB, free: 66.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.3255, allocations: 1.333 MB / 478.9 MB, free: 66.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.3255, allocations: 3.219 kB / 478.9 MB, free: 66.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.3257, allocations: 223.2 kB / 479.1 MB, free: 66.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008237/0.3265, allocations: 228 kB / 479.3 MB, free: 66.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007179/0.3337, allocations: 5.02 MB / 484.4 MB, free: 63.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009199/0.3346, allocations: 0.874 MB / 485.2 MB, free: 63.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001508/0.3361, allocations: 0.85 MB / 486.1 MB, free: 63.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.3364, allocations: 123.9 kB / 486.2 MB, free: 63.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.633e-06/0.3364, allocations: 0 / 486.2 MB, free: 63.05 MB / 410.7 MB Notification: Performance of Templates: time 0.02414/0.3605, allocations: 12.65 MB / 498.9 MB, free: 61.56 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.906531252199784]