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.002389/0.002389, allocations: 87.67 kB / 20.21 MB, free: 4.211 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.002741/0.002741, allocations: 165.2 kB / 23.52 MB, free: 0.8984 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 1.39/1.39, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.2058/0.2058, allocations: 32.38 MB / 270 MB, free: 14.75 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.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",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.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.157e-05/3.386e-05, allocations: 2.312 kB / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01887/0.0189, allocations: 12.08 MB / 359 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.03038, allocations: 3.295 MB / 362.3 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00308/0.03346, allocations: 67.81 kB / 362.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009022/0.04248, allocations: 2.839 MB / 365.2 MB, free: 7.461 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005823/0.04831, allocations: 1.45 MB / 366.7 MB, free: 6.004 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.04996, allocations: 383.1 kB / 367 MB, free: 5.629 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007223/0.05718, allocations: 2.93 MB / 370 MB, free: 2.688 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006205/0.06339, allocations: 2.519 MB / 372.5 MB, free: 124 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00539/0.06878, allocations: 1.789 MB / 374.3 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005027/0.0738, allocations: 1.633 MB / 375.9 MB, free: 12.69 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001408/0.07521, allocations: 296 kB / 376.2 MB, free: 12.4 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003241/0.07845, allocations: 0.7373 MB / 376.9 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003667/0.08212, allocations: 1.671 MB / 378.6 MB, free: 9.988 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003203/0.08532, allocations: 1.036 MB / 379.6 MB, free: 8.949 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01302/0.09834, allocations: 5.992 MB / 385.6 MB, free: 2.938 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.09835, allocations: 0 / 385.6 MB, free: 2.938 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.09835, allocations: 0 / 385.6 MB, free: 2.938 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000231/0.09858, allocations: 0 / 385.6 MB, free: 2.938 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.01312/0.1117, allocations: 4.476 MB / 390.1 MB, free: 14.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1117, allocations: 8.031 kB / 390.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007248/0.119, allocations: 2.136 MB / 392.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004941/0.1239, allocations: 1.534 MB / 393.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/0.1242, allocations: 209.5 kB / 394 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007962/0.1249, allocations: 264.2 kB / 394.2 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01411/0.1391, allocations: 4.774 MB / 399 MB, free: 4.996 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-05/0.1391, allocations: 19.81 kB / 399 MB, free: 4.977 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003899/0.1395, allocations: 123.9 kB / 399.2 MB, free: 4.855 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003173/0.1427, allocations: 1.752 MB / 400.9 MB, free: 3.098 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01097/0.1537, allocations: 2.731 MB / 403.6 MB, free: 364 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05068/0.2043, allocations: 31.45 MB / 435.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004822/0.2092, allocations: 1.243 MB / 436.3 MB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.2102, allocations: 394.9 kB / 436.7 MB, free: 14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008806/0.219, allocations: 3.234 MB / 440 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.186e-05/0.219, allocations: 50.38 kB / 440 MB, free: 10.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=120): time 4.549e-06/0.219, allocations: 0 / 440 MB, free: 10.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=120): time 0.006793/0.2258, allocations: 1.826 MB / 441.8 MB, free: 8.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/0.2259, allocations: 64.39 kB / 441.9 MB, free: 8.762 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004137/0.2301, allocations: 2.55 MB / 444.4 MB, free: 6.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.815e-05/0.2301, allocations: 49.69 kB / 444.5 MB, free: 6.148 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002472/0.2326, allocations: 2.635 MB / 447.1 MB, free: 3.488 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006177/0.2332, allocations: 0.5081 MB / 447.6 MB, free: 2.977 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001442/0.2347, allocations: 0.9577 MB / 448.6 MB, free: 2.008 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0006752/0.2354, allocations: 0.5551 MB / 449.2 MB, free: 1.445 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.2364, allocations: 431 kB / 449.6 MB, free: 1.023 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1506/0.387, allocations: 3.745 MB / 453.3 MB, free: 95.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003954/0.391, allocations: 4.576 MB / 457.9 MB, free: 90.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.176e-05/0.3911, allocations: 21.84 kB / 457.9 MB, free: 90.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.005966/0.397, allocations: 3.121 MB / 461 MB, free: 90.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.492e-05/0.3971, allocations: 38.66 kB / 461.1 MB, free: 90.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.549e-05/0.3972, allocations: 79.28 kB / 461.2 MB, free: 90.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.832e-05/0.3973, allocations: 104 kB / 461.3 MB, free: 90.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/0.3995, allocations: 0.8107 MB / 462.1 MB, free: 90.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001332/0.3996, allocations: 162.1 kB / 462.2 MB, free: 90.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/0.4017, allocations: 498 kB / 462.7 MB, free: 90.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002763/0.402, allocations: 222.9 kB / 462.9 MB, free: 90.09 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.001431/0.4034, allocations: 0.523 MB / 463.4 MB, free: 89.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/0.4037, allocations: 226.6 kB / 463.7 MB, free: 89.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.4053, allocations: 0.8256 MB / 464.5 MB, free: 89.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.4053, allocations: 11.22 kB / 464.5 MB, free: 89.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4053, allocations: 0 / 464.5 MB, free: 89.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.4053, allocations: 7.906 kB / 464.5 MB, free: 89.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/0.4156, allocations: 6.275 MB / 470.8 MB, free: 87.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/0.4156, allocations: 14.5 kB / 470.8 MB, free: 87.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007097/0.4163, allocations: 193.5 kB / 471 MB, free: 87.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.838e-05/0.4163, allocations: 18.81 kB / 471 MB, free: 87.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.298e-05/0.4164, allocations: 42.58 kB / 471.1 MB, free: 87.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.865e-05/0.4164, allocations: 25.75 kB / 471.1 MB, free: 87.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/0.4164, allocations: 25.91 kB / 471.1 MB, free: 87.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/0.4183, allocations: 1.656 MB / 472.8 MB, free: 86.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003363/0.4186, allocations: 195.5 kB / 473 MB, free: 86.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.4188, allocations: 41.42 kB / 473 MB, free: 86.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006714/0.4195, allocations: 42.89 kB / 473 MB, free: 86.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.4196, allocations: 117.1 kB / 473.1 MB, free: 86.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.01e-05/0.4197, allocations: 58.53 kB / 473.2 MB, free: 86.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001317/0.421, allocations: 1.048 MB / 474.3 MB, free: 85.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.421, allocations: 7.938 kB / 474.3 MB, free: 85.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003067/0.4241, allocations: 0.9691 MB / 475.2 MB, free: 84.93 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.0003549/0.4244, allocations: 168 kB / 475.4 MB, free: 84.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003101/0.4275, allocations: 1.863 MB / 477.3 MB, free: 83.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/0.4276, allocations: 4 kB / 477.3 MB, free: 83.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006253/0.4282, allocations: 433.7 kB / 477.7 MB, free: 82.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.4295, allocations: 247.3 kB / 477.9 MB, free: 82.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008026/0.4375, allocations: 6.266 MB / 484.2 MB, free: 76.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001916/0.4394, allocations: 2.037 MB / 486.2 MB, free: 74.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001916/0.4414, allocations: 0.9845 MB / 487.2 MB, free: 73.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/0.4417, allocations: 151.1 kB / 487.4 MB, free: 73.41 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.4417, allocations: 0 / 487.4 MB, free: 73.41 MB / 378.7 MB Notification: Performance of Templates: time 0.0261/0.4678, allocations: 14.87 MB / 0.4905 GB, free: 58.68 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.7847879430046305]