Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009893/0.0009893, allocations: 95.31 kB / 20.43 MB, free: 4.145 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 165.3 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9238/0.9238, allocations: 158.6 MB / 185.7 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1366/0.1366, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.782e-05, allocations: 8.219 kB / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.008413/0.008441, allocations: 12.16 MB / 359.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007943/0.01638, allocations: 3.299 MB / 363.1 MB, free: 9.926 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002991/0.01938, allocations: 71.81 kB / 363.2 MB, free: 9.855 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003428/0.0228, allocations: 2.839 MB / 366 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003603/0.02641, allocations: 1.458 MB / 367.5 MB, free: 5.543 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009452/0.02735, allocations: 395 kB / 367.9 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003982/0.03133, allocations: 2.921 MB / 370.8 MB, free: 2.227 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002919/0.03425, allocations: 2.523 MB / 373.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002701/0.03695, allocations: 1.797 MB / 375.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002462/0.03942, allocations: 1.621 MB / 376.7 MB, free: 12.23 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009031/0.04032, allocations: 300 kB / 377 MB, free: 11.94 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.0417, allocations: 0.7411 MB / 377.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001445/0.04314, allocations: 1.664 MB / 379.4 MB, free: 9.527 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001876/0.04502, allocations: 1.04 MB / 380.5 MB, free: 8.484 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004905/0.04992, allocations: 3.689 MB / 384.2 MB, free: 4.781 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.04993, allocations: 4 kB / 384.2 MB, free: 4.777 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.04993, allocations: 3.938 kB / 384.2 MB, free: 4.773 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002151/0.05015, allocations: 0 / 384.2 MB, free: 4.773 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.00601/0.05616, allocations: 4.082 MB / 388.3 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.0562, allocations: 8.031 kB / 388.3 MB, free: 0.625 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003766/0.05997, allocations: 2.131 MB / 390.4 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.06231, allocations: 1.583 MB / 392 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.06244, allocations: 201.6 kB / 392.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003798/0.06282, allocations: 265.5 kB / 392.4 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007477/0.07029, allocations: 4.36 MB / 396.8 MB, free: 7.598 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.49e-05/0.07034, allocations: 11.88 kB / 396.8 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002244/0.07056, allocations: 127.8 kB / 396.9 MB, free: 7.461 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00155/0.07211, allocations: 1.764 MB / 398.7 MB, free: 5.691 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007202/0.07932, allocations: 2.397 MB / 401.1 MB, free: 3.285 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02857/0.1079, allocations: 25.73 MB / 426.8 MB, free: 8.785 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00362/0.1115, allocations: 1.176 MB / 428 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00068/0.1122, allocations: 334.8 kB / 428.3 MB, free: 7.246 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005633/0.1178, allocations: 3.053 MB / 431.4 MB, free: 4.164 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.1179, allocations: 42.39 kB / 431.4 MB, free: 4.113 MB / 362.7 MB Notification: Performance of pre-optimization done (n=120): time 4.428e-06/0.1179, allocations: 0 / 431.4 MB, free: 4.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=120): time 0.004668/0.1225, allocations: 1.74 MB / 433.2 MB, free: 2.363 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.1226, allocations: 60.41 kB / 433.2 MB, free: 2.293 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/0.1248, allocations: 2.008 MB / 435.2 MB, free: 284 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/0.1248, allocations: 41.7 kB / 435.3 MB, free: 236 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001727/0.1265, allocations: 2.526 MB / 437.8 MB, free: 13.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003347/0.1269, allocations: 492.2 kB / 438.3 MB, free: 13.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006859/0.1276, allocations: 0.8092 MB / 439.1 MB, free: 12.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1277, allocations: 0.5316 MB / 439.6 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005565/0.1283, allocations: 379 kB / 440 MB, free: 11.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002561/0.1308, allocations: 3.57 MB / 443.6 MB, free: 6.434 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003517/0.1344, allocations: 4.363 MB / 447.9 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-05/0.1344, allocations: 24 kB / 447.9 MB, free: 0.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.1605/0.2949, allocations: 3.022 MB / 451 MB, free: 81.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.295, allocations: 36.28 kB / 451 MB, free: 81.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.303e-05/0.295, allocations: 83.12 kB / 451.1 MB, free: 81.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.838e-05/0.2951, allocations: 100.7 kB / 451.2 MB, free: 81.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.2965, allocations: 0.8146 MB / 452 MB, free: 81.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.418e-05/0.2966, allocations: 152 kB / 452.1 MB, free: 81.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.298, allocations: 490.9 kB / 452.6 MB, free: 81.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002295/0.2982, allocations: 227 kB / 452.8 MB, free: 81.81 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (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 (450): * Single equations (assignments): 445 * 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.001014/0.2992, allocations: 463.9 kB / 453.3 MB, free: 81.65 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.2995, allocations: 222.1 kB / 453.5 MB, free: 81.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.3005, allocations: 0.7609 MB / 454.3 MB, free: 81.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/0.3005, allocations: 14 kB / 454.3 MB, free: 81.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3005, allocations: 0 / 454.3 MB, free: 81.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.3006, allocations: 16.25 kB / 454.3 MB, free: 81.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006835/0.3074, allocations: 4.321 MB / 458.6 MB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.3074, allocations: 16.34 kB / 458.6 MB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/0.3079, allocations: 186.2 kB / 458.8 MB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.736e-05/0.3079, allocations: 17.19 kB / 458.8 MB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.017e-05/0.3079, allocations: 45.14 kB / 458.9 MB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.002e-05/0.308, allocations: 28.91 kB / 458.9 MB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/0.308, allocations: 25.62 kB / 458.9 MB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.3094, allocations: 1.492 MB / 460.4 MB, free: 79.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003413/0.3097, allocations: 199.8 kB / 460.6 MB, free: 79.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.3099, allocations: 40.06 kB / 460.7 MB, free: 79.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000419/0.3103, allocations: 43.12 kB / 460.7 MB, free: 79.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.3105, allocations: 119.4 kB / 460.8 MB, free: 79.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.716e-05/0.3105, allocations: 53.42 kB / 460.9 MB, free: 79.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001134/0.3117, allocations: 0.8666 MB / 461.7 MB, free: 79.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3117, allocations: 0 / 461.7 MB, free: 79.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002892/0.3145, allocations: 0.9753 MB / 462.7 MB, free: 78.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.0005362/0.3151, allocations: 174.8 kB / 462.9 MB, free: 78.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002827/0.3179, allocations: 1.599 MB / 464.5 MB, free: 78.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/0.3179, allocations: 3.781 kB / 464.5 MB, free: 78.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004554/0.3184, allocations: 334.5 kB / 464.8 MB, free: 78.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.3196, allocations: 248.1 kB / 465.1 MB, free: 78.69 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008746/0.3283, allocations: 6.163 MB / 471.2 MB, free: 75.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.3293, allocations: 1.017 MB / 472.2 MB, free: 75.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001436/0.3308, allocations: 0.9811 MB / 473.2 MB, free: 74.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.331, allocations: 148 kB / 473.4 MB, free: 74.42 MB / 378.7 MB Notification: Performance of SimCode: time 3.426e-06/0.331, allocations: 4 kB / 473.4 MB, free: 74.42 MB / 378.7 MB Notification: Performance of Templates: time 0.02484/0.3559, allocations: 15.46 MB / 488.8 MB, free: 60.8 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6450548809953034]