Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001144/0.001144, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.001312/0.001312, allocations: 166 kB / 24.82 MB, free: 9.309 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.151/1.151, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.339/0.339, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 0 / 378.5 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.078e-05/4.396e-05, allocations: 6.312 kB / 378.5 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01023/0.01027, allocations: 9.548 MB / 388 MB, free: 8.801 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005889/0.01616, allocations: 3.009 MB / 391.1 MB, free: 5.781 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008547/0.01702, allocations: 59.81 kB / 391.1 MB, free: 5.723 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002929/0.01994, allocations: 2.753 MB / 393.9 MB, free: 2.961 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001988/0.02193, allocations: 1.248 MB / 395.1 MB, free: 1.707 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006431/0.02258, allocations: 383.1 kB / 395.5 MB, free: 1.332 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001976/0.02455, allocations: 2.593 MB / 398.1 MB, free: 14.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001689/0.02624, allocations: 2.316 MB / 400.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.0274, allocations: 1.555 MB / 402 MB, free: 10.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.02851, allocations: 1.383 MB / 403.3 MB, free: 9.438 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002418/0.02876, allocations: 252 kB / 403.6 MB, free: 9.191 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007871/0.02954, allocations: 0.6943 MB / 404.3 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008611/0.0304, allocations: 1.43 MB / 405.7 MB, free: 7.062 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006184/0.03102, allocations: 0.8762 MB / 406.6 MB, free: 6.184 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00244/0.03346, allocations: 3.16 MB / 409.7 MB, free: 3.012 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.03347, allocations: 0 / 409.7 MB, free: 3.012 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.03347, allocations: 0 / 409.7 MB, free: 3.012 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.725e-05/0.0335, allocations: 0 / 409.7 MB, free: 3.012 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.003489/0.03699, allocations: 3.547 MB / 413.3 MB, free: 15.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.03704, allocations: 8.031 kB / 413.3 MB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/0.03912, allocations: 1.076 MB / 414.4 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.0405, allocations: 1.279 MB / 415.6 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.04061, allocations: 180.9 kB / 415.8 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000244/0.04085, allocations: 228.3 kB / 416 MB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003698/0.04455, allocations: 3.438 MB / 419.5 MB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.418e-05/0.04459, allocations: 11.88 kB / 419.5 MB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001859/0.04478, allocations: 111.9 kB / 419.6 MB, free: 8.617 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001142/0.04592, allocations: 1.299 MB / 420.9 MB, free: 7.316 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002537/0.04846, allocations: 1.613 MB / 422.5 MB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2705/0.319, allocations: 21.58 MB / 444.1 MB, free: 89.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002457/0.3214, allocations: 0.9459 MB / 445 MB, free: 89.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003416/0.3218, allocations: 214.4 kB / 445.3 MB, free: 89.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004385/0.3261, allocations: 2.54 MB / 447.8 MB, free: 89.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/0.3262, allocations: 47.84 kB / 447.8 MB, free: 89.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 5.089e-06/0.3262, allocations: 0 / 447.8 MB, free: 89.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.003427/0.3296, allocations: 1.424 MB / 449.3 MB, free: 88.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.3297, allocations: 60.69 kB / 449.3 MB, free: 88.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/0.332, allocations: 1.864 MB / 451.2 MB, free: 88.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.459e-05/0.332, allocations: 33.27 kB / 451.2 MB, free: 88.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001478/0.3335, allocations: 2.231 MB / 453.5 MB, free: 87.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002926/0.3338, allocations: 373.8 kB / 453.8 MB, free: 87.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007907/0.3346, allocations: 0.7268 MB / 454.5 MB, free: 87.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.3348, allocations: 0.5332 MB / 455.1 MB, free: 86.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/0.3352, allocations: 243.6 kB / 455.3 MB, free: 86.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/0.3369, allocations: 3.116 MB / 458.4 MB, free: 82.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003581/0.3404, allocations: 3.762 MB / 462.2 MB, free: 79.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.608e-05/0.3405, allocations: 19.94 kB / 462.2 MB, free: 79.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.004511/0.345, allocations: 2.441 MB / 464.7 MB, free: 78.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.82e-05/0.3451, allocations: 34.91 kB / 464.7 MB, free: 78.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-05/0.3452, allocations: 69.5 kB / 464.8 MB, free: 78.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.857e-05/0.3453, allocations: 90.5 kB / 464.8 MB, free: 78.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.3466, allocations: 0.6701 MB / 465.5 MB, free: 78.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001089/0.3467, allocations: 138 kB / 465.7 MB, free: 78.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/0.3487, allocations: 423 kB / 466.1 MB, free: 78.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002114/0.3489, allocations: 170.2 kB / 466.2 MB, free: 78.39 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.00153/0.3505, allocations: 431.8 kB / 466.7 MB, free: 78.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/0.3507, allocations: 188.1 kB / 466.8 MB, free: 78.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.351, allocations: 172 kB / 467 MB, free: 78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/0.351, allocations: 10.19 kB / 467 MB, free: 78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.351, allocations: 3.5 kB / 467 MB, free: 78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.351, allocations: 2.766 kB / 467 MB, free: 78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004759/0.3558, allocations: 2.499 MB / 469.5 MB, free: 77.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.3558, allocations: 6.469 kB / 469.5 MB, free: 77.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.3561, allocations: 111.4 kB / 469.6 MB, free: 77.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/0.3561, allocations: 9.125 kB / 469.6 MB, free: 77.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-05/0.3561, allocations: 21.91 kB / 469.7 MB, free: 77.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.445e-05/0.3561, allocations: 15.45 kB / 469.7 MB, free: 77.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/0.3561, allocations: 17.28 kB / 469.7 MB, free: 77.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009783/0.3571, allocations: 0.9693 MB / 470.7 MB, free: 76.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/0.3574, allocations: 164 kB / 470.8 MB, free: 76.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.829e-05/0.3575, allocations: 24.52 kB / 470.8 MB, free: 76.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.3578, allocations: 17.5 kB / 470.9 MB, free: 76.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/0.3579, allocations: 73.53 kB / 470.9 MB, free: 76.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.857e-05/0.3579, allocations: 30 kB / 471 MB, free: 76.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007993/0.3587, allocations: 0.7568 MB / 471.7 MB, free: 76.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3587, allocations: 0 / 471.7 MB, free: 76.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003551/0.3623, allocations: 0.8073 MB / 472.5 MB, free: 75.89 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.0004121/0.3627, allocations: 148.9 kB / 472.7 MB, free: 75.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002408/0.3651, allocations: 1.259 MB / 473.9 MB, free: 75.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.3651, allocations: 2.875 kB / 473.9 MB, free: 75.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002546/0.3653, allocations: 211.3 kB / 474.1 MB, free: 75.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000972/0.3663, allocations: 223.3 kB / 474.4 MB, free: 75.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00879/0.3751, allocations: 5.01 MB / 479.4 MB, free: 72.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/0.3764, allocations: 0.8692 MB / 480.2 MB, free: 72.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009579/0.3773, allocations: 254.1 kB / 480.5 MB, free: 72.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000493/0.3778, allocations: 315.8 kB / 480.8 MB, free: 71.98 MB / 410.7 MB Notification: Performance of SimCode: time 2.805e-06/0.3778, allocations: 0 / 480.8 MB, free: 71.98 MB / 410.7 MB Notification: Performance of Templates: time 0.03815/0.416, allocations: 13.65 MB / 494.4 MB, free: 70.27 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 4.182048702146858]