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.001317/0.001317, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.0009845/0.0009845, allocations: 166.8 kB / 25.61 MB, free: 8.582 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.9478/0.9478, allocations: 177 MB / 205.9 MB, free: 4.469 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.153/0.153, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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.134e-06/2.134e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.52e-05, allocations: 6.828 kB / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01469/0.01472, allocations: 9.545 MB / 389.5 MB, free: 13.17 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008083/0.0228, allocations: 2.996 MB / 392.5 MB, free: 10.17 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006479/0.02345, allocations: 59.81 kB / 392.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00264/0.02609, allocations: 2.753 MB / 395.4 MB, free: 7.348 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001604/0.02769, allocations: 1.252 MB / 396.6 MB, free: 6.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005255/0.02822, allocations: 391.1 kB / 397 MB, free: 5.707 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002055/0.03028, allocations: 2.582 MB / 399.6 MB, free: 3.117 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.03189, allocations: 2.32 MB / 401.9 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.0331, allocations: 1.559 MB / 403.4 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.03465, allocations: 1.376 MB / 404.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003527/0.035, allocations: 252 kB / 405.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009554/0.03596, allocations: 0.6982 MB / 405.8 MB, free: 12.87 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001245/0.0372, allocations: 1.426 MB / 407.2 MB, free: 11.44 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000773/0.03798, allocations: 0.8839 MB / 408.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003035/0.04101, allocations: 3.16 MB / 411.2 MB, free: 7.379 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.04102, allocations: 0 / 411.2 MB, free: 7.379 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.04102, allocations: 4 kB / 411.2 MB, free: 7.375 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.942e-05/0.04105, allocations: 0 / 411.2 MB, free: 7.375 MB / 330.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.004258/0.04531, allocations: 3.551 MB / 414.8 MB, free: 3.762 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.04536, allocations: 12.03 kB / 414.8 MB, free: 3.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002924/0.04828, allocations: 1.064 MB / 415.9 MB, free: 2.684 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.04981, allocations: 1.279 MB / 417.1 MB, free: 1.363 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.04992, allocations: 176.9 kB / 417.3 MB, free: 1.188 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003007/0.05022, allocations: 240.2 kB / 417.6 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004542/0.05476, allocations: 3.43 MB / 421 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.576e-05/0.05481, allocations: 11.88 kB / 421 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002191/0.05503, allocations: 111.9 kB / 421.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001381/0.05641, allocations: 1.299 MB / 422.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003162/0.05957, allocations: 1.609 MB / 424 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01765/0.07722, allocations: 21.59 MB / 445.6 MB, free: 3.785 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.07921, allocations: 0.9483 MB / 446.6 MB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/0.07948, allocations: 210.2 kB / 446.8 MB, free: 2.602 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003061/0.08254, allocations: 2.535 MB / 449.3 MB, free: 40 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.08258, allocations: 42.05 kB / 449.3 MB, free: 15.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 2.354e-06/0.08258, allocations: 4 kB / 449.3 MB, free: 15.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.002993/0.08557, allocations: 1.429 MB / 450.8 MB, free: 14.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.08562, allocations: 60.06 kB / 450.8 MB, free: 14.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.08704, allocations: 1.861 MB / 452.7 MB, free: 12.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.08708, allocations: 41.7 kB / 452.7 MB, free: 12.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00104/0.08812, allocations: 2.233 MB / 455 MB, free: 10.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.08833, allocations: 373.2 kB / 455.3 MB, free: 9.926 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005624/0.08889, allocations: 0.7207 MB / 456 MB, free: 9.191 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.08907, allocations: 0.5315 MB / 456.6 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.08935, allocations: 246 kB / 456.8 MB, free: 8.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002018/0.09137, allocations: 3.124 MB / 459.9 MB, free: 3.965 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002764/0.09413, allocations: 3.757 MB / 463.7 MB, free: 14.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.246e-05/0.09416, allocations: 20 kB / 463.7 MB, free: 14.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.0023/0.09646, allocations: 2.432 MB / 466.1 MB, free: 12.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.0965, allocations: 44 kB / 466.2 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.411e-05/0.09654, allocations: 68 kB / 466.3 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.938e-05/0.0966, allocations: 92 kB / 466.3 MB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.09762, allocations: 0.6783 MB / 467 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.594e-05/0.09769, allocations: 139.5 kB / 467.2 MB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009359/0.09862, allocations: 408.9 kB / 467.6 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/0.09878, allocations: 172 kB / 467.7 MB, free: 10.85 MB / 394.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.0007306/0.09951, allocations: 430.8 kB / 468.1 MB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.09964, allocations: 186.9 kB / 468.3 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.09981, allocations: 176.9 kB / 468.5 MB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.09983, allocations: 8 kB / 468.5 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.09984, allocations: 4 kB / 468.5 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.09984, allocations: 3.984 kB / 468.5 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/0.103, allocations: 2.499 MB / 471 MB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.103, allocations: 8 kB / 471 MB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.1033, allocations: 107.8 kB / 471.1 MB, free: 7.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.1033, allocations: 12 kB / 471.1 MB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.1033, allocations: 23.98 kB / 471.2 MB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/0.1033, allocations: 16.53 kB / 471.2 MB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.1033, allocations: 11.94 kB / 471.2 MB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006622/0.104, allocations: 0.9726 MB / 472.2 MB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.1041, allocations: 162.7 kB / 472.3 MB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.479e-05/0.1042, allocations: 19.98 kB / 472.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.1044, allocations: 16 kB / 472.4 MB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/0.1045, allocations: 71.67 kB / 472.4 MB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/0.1045, allocations: 43.97 kB / 472.5 MB, free: 5.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005535/0.105, allocations: 0.7563 MB / 473.2 MB, free: 5 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.105, allocations: 0 / 473.2 MB, free: 5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001597/0.1066, allocations: 0.8055 MB / 474 MB, free: 4.191 MB / 394.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.0002489/0.1069, allocations: 150.9 kB / 474.2 MB, free: 4.035 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.108, allocations: 1.263 MB / 475.4 MB, free: 2.773 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.108, allocations: 0 / 475.4 MB, free: 2.773 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.1082, allocations: 216.5 kB / 475.7 MB, free: 2.559 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.1092, allocations: 227.7 kB / 475.9 MB, free: 2.348 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004691/0.1139, allocations: 5.009 MB / 480.9 MB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006662/0.1146, allocations: 0.872 MB / 481.8 MB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005103/0.1151, allocations: 259.4 kB / 482 MB, free: 11.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000329/0.1154, allocations: 318.1 kB / 482.3 MB, free: 11.68 MB / 410.7 MB Notification: Performance of SimCode: time 8.12e-07/0.1154, allocations: 0 / 482.3 MB, free: 11.68 MB / 410.7 MB Notification: Performance of Templates: time 0.17/0.2854, allocations: 13.89 MB / 496.2 MB, free: 109.7 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.939183295238763]