Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001592/0.001592, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001813/0.001813, allocations: 171.3 kB / 24.91 MB, free: 9.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.069/1.069, allocations: 177.1 MB / 205.3 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2556/0.2556, allocations: 32.8 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 323.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.051e-05, allocations: 2.312 kB / 323.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.007807/0.007827, allocations: 9.591 MB / 332.9 MB, free: 28 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005657/0.01348, allocations: 3.136 MB / 336 MB, free: 12.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.01455, allocations: 59.81 kB / 336 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003002/0.01755, allocations: 2.753 MB / 338.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.01994, allocations: 1.237 MB / 340 MB, free: 8.82 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006829/0.02062, allocations: 375.1 kB / 340.4 MB, free: 8.453 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002571/0.02319, allocations: 2.435 MB / 342.8 MB, free: 6.012 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002302/0.0255, allocations: 2.371 MB / 345.2 MB, free: 3.586 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.02724, allocations: 1.555 MB / 346.8 MB, free: 2.027 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.02879, allocations: 1.317 MB / 348.1 MB, free: 0.707 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004068/0.0292, allocations: 252 kB / 348.3 MB, free: 472 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000943/0.03014, allocations: 0.7099 MB / 349 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008145/0.03096, allocations: 1.426 MB / 350.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008626/0.03182, allocations: 0.8801 MB / 351.3 MB, free: 13.44 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002677/0.0345, allocations: 3.157 MB / 354.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.0345, allocations: 8 kB / 354.5 MB, free: 10.26 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.03451, allocations: 0 / 354.5 MB, free: 10.26 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.858e-05/0.03457, allocations: 0 / 354.5 MB, free: 10.26 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.003079/0.03765, allocations: 3.074 MB / 357.6 MB, free: 7.141 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.0377, allocations: 12.02 kB / 357.6 MB, free: 7.129 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00188/0.03958, allocations: 0.8124 MB / 358.4 MB, free: 6.316 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.04093, allocations: 1.186 MB / 359.6 MB, free: 5.094 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.951e-05/0.04102, allocations: 180.9 kB / 359.8 MB, free: 4.914 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002316/0.04125, allocations: 232.3 kB / 360 MB, free: 4.688 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003479/0.04473, allocations: 3.244 MB / 363.2 MB, free: 1.121 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.298e-05/0.04478, allocations: 11.88 kB / 363.3 MB, free: 1.109 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/0.04494, allocations: 111.9 kB / 363.4 MB, free: 1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001032/0.04597, allocations: 1.299 MB / 364.7 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002754/0.04873, allocations: 1.687 MB / 366.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01407/0.0628, allocations: 16.35 MB / 382.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/0.06484, allocations: 0.9935 MB / 383.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.06507, allocations: 164.6 kB / 383.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002919/0.06799, allocations: 2.237 MB / 386.1 MB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.06802, allocations: 51.22 kB / 386.1 MB, free: 9.574 MB / 362.7 MB Notification: Performance of pre-optimization done (n=87): time 3.977e-06/0.06803, allocations: 0 / 386.1 MB, free: 9.574 MB / 362.7 MB Notification: Performance of matching and sorting (n=87): time 0.002739/0.07077, allocations: 1.265 MB / 387.4 MB, free: 8.305 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.0708, allocations: 64 kB / 387.5 MB, free: 8.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.07194, allocations: 1.489 MB / 389 MB, free: 6.734 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.07197, allocations: 33.7 kB / 389 MB, free: 6.695 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007946/0.07277, allocations: 2.037 MB / 391 MB, free: 4.637 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.07294, allocations: 353.2 kB / 391.4 MB, free: 4.289 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004463/0.07339, allocations: 0.6041 MB / 392 MB, free: 3.676 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.07348, allocations: 353.8 kB / 392.3 MB, free: 3.324 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.07384, allocations: 322.7 kB / 392.6 MB, free: 3.004 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.07497, allocations: 2.173 MB / 394.8 MB, free: 15.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002005/0.07697, allocations: 2.865 MB / 397.7 MB, free: 12.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.378e-05/0.07699, allocations: 20 kB / 397.7 MB, free: 12.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.002187/0.07918, allocations: 2.053 MB / 399.7 MB, free: 9.965 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.07922, allocations: 36 kB / 399.8 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.784e-05/0.07927, allocations: 75.92 kB / 399.9 MB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.859e-05/0.07933, allocations: 88 kB / 399.9 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.08051, allocations: 0.7057 MB / 400.6 MB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.619e-05/0.08057, allocations: 139.4 kB / 400.8 MB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.08169, allocations: 420.8 kB / 401.2 MB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/0.08186, allocations: 172 kB / 401.4 MB, free: 8.344 MB / 378.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.000961/0.08282, allocations: 383.1 kB / 401.7 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.08294, allocations: 103.9 kB / 401.8 MB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.0831, allocations: 172.9 kB / 402 MB, free: 7.684 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.08312, allocations: 8 kB / 402 MB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.08312, allocations: 0 / 402 MB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.08313, allocations: 4 kB / 402 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00297/0.0861, allocations: 2.219 MB / 404.2 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.08611, allocations: 4 kB / 404.2 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.08637, allocations: 120.6 kB / 404.4 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/0.08638, allocations: 12 kB / 404.4 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.08641, allocations: 24 kB / 404.4 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/0.08642, allocations: 15.92 kB / 404.4 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.08643, allocations: 11.94 kB / 404.4 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005955/0.08702, allocations: 0.7171 MB / 405.1 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.0872, allocations: 154.7 kB / 405.3 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.632e-05/0.0873, allocations: 23.98 kB / 405.3 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.08756, allocations: 24 kB / 405.3 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.431e-05/0.08764, allocations: 67.72 kB / 405.4 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.556e-05/0.08769, allocations: 28 kB / 405.4 MB, free: 4.016 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005132/0.0882, allocations: 0.5704 MB / 406 MB, free: 3.449 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0882, allocations: 0 / 406 MB, free: 3.449 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002094/0.09029, allocations: 0.8133 MB / 406.8 MB, free: 2.633 MB / 378.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.000279/0.09057, allocations: 140 kB / 406.9 MB, free: 2.484 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.09195, allocations: 1.161 MB / 408.1 MB, free: 1.324 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.168e-05/0.09203, allocations: 47.94 kB / 408.2 MB, free: 1.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.09222, allocations: 182.8 kB / 408.3 MB, free: 1.098 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006858/0.09291, allocations: 225.9 kB / 408.6 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006278/0.09918, allocations: 5.146 MB / 413.7 MB, free: 11.58 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007573/0.09994, allocations: 0.8603 MB / 414.6 MB, free: 10.7 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006623/0.1006, allocations: 255.5 kB / 414.8 MB, free: 10.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003653/0.101, allocations: 287.3 kB / 415.1 MB, free: 10.16 MB / 394.7 MB Notification: Performance of SimCode: time 1.684e-06/0.101, allocations: 0 / 415.1 MB, free: 10.16 MB / 394.7 MB Notification: Performance of Templates: time 0.02632/0.1273, allocations: 13.63 MB / 428.7 MB, free: 12.7 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.2847305587492883]