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.001584/0.001584, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001188/0.001188, allocations: 166.1 kB / 24.82 MB, free: 9.258 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 1.015/1.015, allocations: 177 MB / 205.1 MB, free: 5.492 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.2934/0.2934, allocations: 34.87 MB / 296.6 MB, free: 0.4922 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 2.444e-06/2.444e-06, allocations: 0 / 379.2 MB, free: 1.855 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.936e-05/4.181e-05, allocations: 4.703 kB / 379.2 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01191/0.01195, allocations: 9.553 MB / 388.8 MB, free: 8.246 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008787/0.02074, allocations: 3.005 MB / 391.8 MB, free: 5.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0034/0.02414, allocations: 59.81 kB / 391.8 MB, free: 5.172 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005315/0.02946, allocations: 2.749 MB / 394.6 MB, free: 2.414 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003821/0.03328, allocations: 1.252 MB / 395.8 MB, free: 1.156 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.03432, allocations: 383.1 kB / 396.2 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003102/0.03742, allocations: 2.589 MB / 398.8 MB, free: 14.19 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002253/0.03968, allocations: 2.324 MB / 401.1 MB, free: 11.83 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00199/0.04167, allocations: 1.555 MB / 402.7 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.04335, allocations: 1.383 MB / 404.1 MB, free: 8.883 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004264/0.04378, allocations: 252 kB / 404.3 MB, free: 8.637 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.04498, allocations: 0.6943 MB / 405 MB, free: 7.941 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001342/0.04632, allocations: 1.43 MB / 406.4 MB, free: 6.508 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.04733, allocations: 0.8801 MB / 407.3 MB, free: 5.625 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003018/0.05035, allocations: 3.153 MB / 410.5 MB, free: 2.461 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.05036, allocations: 4 kB / 410.5 MB, free: 2.457 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.05036, allocations: 0 / 410.5 MB, free: 2.457 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.13e-05/0.05044, allocations: 4 kB / 410.5 MB, free: 2.453 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.004253/0.05469, allocations: 3.547 MB / 414 MB, free: 14.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.05475, allocations: 15.97 kB / 414 MB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002405/0.05715, allocations: 1.068 MB / 415.1 MB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.05918, allocations: 1.275 MB / 416.4 MB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.05928, allocations: 177 kB / 416.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003126/0.0596, allocations: 232.3 kB / 416.8 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005853/0.06545, allocations: 3.434 MB / 420.2 MB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.977e-05/0.0655, allocations: 15.81 kB / 420.2 MB, free: 8.168 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00022/0.06572, allocations: 107.9 kB / 420.3 MB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001211/0.06693, allocations: 1.291 MB / 421.6 MB, free: 6.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003948/0.07088, allocations: 1.625 MB / 423.2 MB, free: 5.113 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2029/0.2737, allocations: 21.58 MB / 444.8 MB, free: 79.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002731/0.2765, allocations: 0.947 MB / 445.8 MB, free: 79.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.2768, allocations: 207.7 kB / 446 MB, free: 79.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004082/0.2809, allocations: 2.549 MB / 448.5 MB, free: 78.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.2809, allocations: 46.92 kB / 448.6 MB, free: 78.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 4.669e-06/0.2809, allocations: 6.078 kB / 448.6 MB, free: 78.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.009686/0.2906, allocations: 1.417 MB / 450 MB, free: 78.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.2906, allocations: 65.09 kB / 450.1 MB, free: 78.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.2927, allocations: 1.859 MB / 451.9 MB, free: 78.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.2927, allocations: 34.36 kB / 452 MB, free: 78.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00388/0.2966, allocations: 2.235 MB / 454.2 MB, free: 76.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.2968, allocations: 371.1 kB / 454.6 MB, free: 76.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006718/0.2975, allocations: 0.7259 MB / 455.3 MB, free: 76.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2976, allocations: 0.5255 MB / 455.8 MB, free: 76.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003858/0.298, allocations: 247.1 kB / 456 MB, free: 76.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.2991, allocations: 3.117 MB / 459.2 MB, free: 72.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008129/0.3073, allocations: 3.759 MB / 462.9 MB, free: 68.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.258e-05/0.3073, allocations: 22 kB / 462.9 MB, free: 68.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.009381/0.3167, allocations: 2.438 MB / 465.4 MB, free: 68.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.284e-05/0.3167, allocations: 37.66 kB / 465.4 MB, free: 68.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.162e-05/0.3168, allocations: 70.53 kB / 465.5 MB, free: 68.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.211e-05/0.3169, allocations: 92.16 kB / 465.6 MB, free: 68.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004401/0.3213, allocations: 0.6807 MB / 466.3 MB, free: 68.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.19e-05/0.3214, allocations: 133.9 kB / 466.4 MB, free: 68.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.323, allocations: 414.2 kB / 466.8 MB, free: 67.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/0.3232, allocations: 170.7 kB / 467 MB, free: 67.97 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 (world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],cutForceAndTorque.forceColor[1],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[3],cutForceAndTorque.torqueColor[1],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[3],fixedRotation.color[1],fixedRotation.color[2],fixedRotation.color[3],frame_b.color_x[1],frame_b.color_x[2],frame_b.color_x[3],forceAndTorque.forceColor[1],forceAndTorque.forceColor[2],forceAndTorque.forceColor[3],forceAndTorque.torqueColor[1],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[3],cutForceAndTorque.forceArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.torqueArrow.twoHeadedArrow) * 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.004144/0.3273, allocations: 429.1 kB / 467.4 MB, free: 67.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.3275, allocations: 183.5 kB / 467.6 MB, free: 67.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.3277, allocations: 170 kB / 467.7 MB, free: 67.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.3277, allocations: 13.78 kB / 467.7 MB, free: 67.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.3278, allocations: 5.188 kB / 467.7 MB, free: 67.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.3278, allocations: 3.328 kB / 467.7 MB, free: 67.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007126/0.3349, allocations: 2.496 MB / 470.2 MB, free: 66.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.3349, allocations: 9.625 kB / 470.2 MB, free: 66.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.3352, allocations: 113.7 kB / 470.4 MB, free: 66.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/0.3352, allocations: 9.594 kB / 470.4 MB, free: 66.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.3352, allocations: 16.78 kB / 470.4 MB, free: 66.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/0.3352, allocations: 15.92 kB / 470.4 MB, free: 66.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.3353, allocations: 16.69 kB / 470.4 MB, free: 66.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003892/0.3391, allocations: 0.9744 MB / 471.4 MB, free: 66.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/0.3394, allocations: 164.1 kB / 471.6 MB, free: 65.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.3395, allocations: 23.25 kB / 471.6 MB, free: 65.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003319/0.3399, allocations: 17.41 kB / 471.6 MB, free: 65.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.993e-05/0.34, allocations: 72.09 kB / 471.7 MB, free: 65.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.482e-05/0.34, allocations: 28.84 kB / 471.7 MB, free: 65.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007373/0.3407, allocations: 0.7615 MB / 472.5 MB, free: 65.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3407, allocations: 4 kB / 472.5 MB, free: 65.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005396/0.3461, allocations: 0.8008 MB / 473.3 MB, free: 65.38 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.0002579/0.3464, allocations: 157.1 kB / 473.4 MB, free: 65.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.348, allocations: 1.25 MB / 474.7 MB, free: 64.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.348, allocations: 192 / 474.7 MB, free: 64.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.3482, allocations: 217.3 kB / 474.9 MB, free: 64.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007473/0.3489, allocations: 208.6 kB / 475.1 MB, free: 64.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006617/0.3555, allocations: 5.025 MB / 480.1 MB, free: 61.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008958/0.3564, allocations: 0.872 MB / 481 MB, free: 61.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00073/0.3571, allocations: 250.6 kB / 481.2 MB, free: 61.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004241/0.3576, allocations: 315.2 kB / 481.5 MB, free: 61.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.863e-06/0.3576, allocations: 1.469 kB / 481.5 MB, free: 61.48 MB / 410.7 MB Notification: Performance of Templates: time 0.02882/0.3864, allocations: 13.66 MB / 495.2 MB, free: 59.79 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.7864033081568778]