Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.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.001373/0.001373, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001652/0.001652, allocations: 170.6 kB / 24.91 MB, free: 8.723 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 0.9566/0.9566, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.2541/0.2541, allocations: 32.81 MB / 294.6 MB, free: 1.199 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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 323.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.474e-05, allocations: 4.703 kB / 323.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01658/0.0166, allocations: 14.12 MB / 337.4 MB, free: 11.49 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008369/0.02497, allocations: 5.153 MB / 342.5 MB, free: 6.316 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.0263, allocations: 143.3 kB / 342.7 MB, free: 6.176 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005368/0.03167, allocations: 6.324 MB / 349 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00409/0.03576, allocations: 2.892 MB / 351.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.03772, allocations: 1.789 MB / 353.7 MB, free: 11.13 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00707/0.04479, allocations: 9.086 MB / 362.8 MB, free: 2.039 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004805/0.0496, allocations: 6.316 MB / 369.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003939/0.05354, allocations: 4.448 MB / 373.5 MB, free: 7.137 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003598/0.05713, allocations: 4.256 MB / 377.8 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006561/0.05779, allocations: 0.5859 MB / 378.4 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.05942, allocations: 1.393 MB / 379.8 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002091/0.06151, allocations: 3.826 MB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001711/0.06322, allocations: 2.282 MB / 385.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005271/0.06849, allocations: 7.593 MB / 393.5 MB, free: 3.145 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.06849, allocations: 0 / 393.5 MB, free: 3.145 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.0685, allocations: 0 / 393.5 MB, free: 3.145 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.792e-05/0.06859, allocations: 0 / 393.5 MB, free: 3.145 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.007311/0.0759, allocations: 7.81 MB / 401.3 MB, free: 11.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.07593, allocations: 16.03 kB / 401.3 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003643/0.07958, allocations: 1.643 MB / 402.9 MB, free: 9.602 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003723/0.0833, allocations: 3.658 MB / 406.6 MB, free: 5.844 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/0.0835, allocations: 411 kB / 407 MB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005296/0.08403, allocations: 0.548 MB / 407.6 MB, free: 4.895 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008384/0.09241, allocations: 8.281 MB / 415.8 MB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001112/0.09252, allocations: 71.42 kB / 415.9 MB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003753/0.0929, allocations: 263.7 kB / 416.2 MB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002252/0.09515, allocations: 2.674 MB / 418.8 MB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006334/0.1015, allocations: 4.077 MB / 422.9 MB, free: 4.355 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1719/0.2734, allocations: 51.07 MB / 474 MB, free: 74.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005957/0.2794, allocations: 3.139 MB / 477.1 MB, free: 73.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005987/0.28, allocations: 0.5266 MB / 477.6 MB, free: 73.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00643/0.2864, allocations: 5.666 MB / 483.3 MB, free: 70.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.2864, allocations: 55.34 kB / 483.4 MB, free: 70.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=182): time 3.988e-06/0.2864, allocations: 0 / 483.4 MB, free: 70.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=206): time 0.01433/0.3008, allocations: 7.206 MB / 490.6 MB, free: 63.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.3008, allocations: 153.5 kB / 490.7 MB, free: 62.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003025/0.3038, allocations: 4.949 MB / 495.7 MB, free: 58.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-05/0.3039, allocations: 57.7 kB / 495.7 MB, free: 58.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.3051, allocations: 4.828 MB / 0.4888 GB, free: 53.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003152/0.3054, allocations: 0.8412 MB / 0.4896 GB, free: 52.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008901/0.3063, allocations: 1.6 MB / 0.4912 GB, free: 50.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.67e-05/0.3063, allocations: 301.1 kB / 0.4915 GB, free: 50.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.3075, allocations: 0.9543 MB / 0.4924 GB, free: 49.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002139/0.3096, allocations: 6.123 MB / 0.4984 GB, free: 40.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003934/0.3135, allocations: 7.963 MB / 0.5062 GB, free: 30.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.234e-05/0.3136, allocations: 56 kB / 0.5062 GB, free: 30.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.005012/0.3186, allocations: 5.663 MB / 0.5118 GB, free: 24.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.481e-05/0.3187, allocations: 84 kB / 0.5118 GB, free: 24.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.594e-05/0.3187, allocations: 196.4 kB / 0.512 GB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001081/0.3189, allocations: 248 kB / 0.5123 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002796/0.3216, allocations: 1.992 MB / 0.5142 GB, free: 22.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000119/0.3218, allocations: 374.5 kB / 0.5146 GB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/0.3249, allocations: 363.7 kB / 0.5149 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003462/0.3253, allocations: 464 kB / 0.5154 GB, free: 21.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1032 * Array equations: 11 * 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.002019/0.3273, allocations: 0.8195 MB / 0.5162 GB, free: 20.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003984/0.3277, allocations: 327.6 kB / 0.5165 GB, free: 20.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003656/0.3281, allocations: 494 kB / 0.5169 GB, free: 19.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.3281, allocations: 23.98 kB / 0.517 GB, free: 19.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.3281, allocations: 0 / 0.517 GB, free: 19.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.3281, allocations: 19.94 kB / 0.517 GB, free: 19.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007571/0.3357, allocations: 7.921 MB / 0.5247 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/0.3357, allocations: 40 kB / 0.5248 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005858/0.3363, allocations: 376.2 kB / 0.5251 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-05/0.3363, allocations: 52 kB / 0.5252 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.854e-05/0.3364, allocations: 91.98 kB / 0.5253 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.322e-05/0.3364, allocations: 71.72 kB / 0.5253 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.871e-05/0.3364, allocations: 59.75 kB / 0.5254 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.3377, allocations: 2.929 MB / 0.5282 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004387/0.3381, allocations: 0.5393 MB / 0.5288 GB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002926/0.3384, allocations: 87.97 kB / 0.5289 GB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009344/0.3393, allocations: 71.98 kB / 0.5289 GB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.3395, allocations: 270.6 kB / 0.5292 GB, free: 5.742 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.1e-05/0.3396, allocations: 99.97 kB / 0.5293 GB, free: 5.645 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001363/0.3409, allocations: 2.144 MB / 0.5314 GB, free: 3.523 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3409, allocations: 0 / 0.5314 GB, free: 3.523 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003901/0.3448, allocations: 1.496 MB / 0.5328 GB, free: 2.027 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.0002938/0.3451, allocations: 247.1 kB / 0.5331 GB, free: 1.777 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00273/0.3479, allocations: 3.208 MB / 0.5362 GB, free: 14.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001738/0.348, allocations: 128.2 kB / 0.5363 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000498/0.3485, allocations: 0.5682 MB / 0.5369 GB, free: 13.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/0.3508, allocations: 0.7961 MB / 0.5377 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/0.3646, allocations: 13.46 MB / 0.5508 GB, free: 14.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002007/0.3667, allocations: 2.075 MB / 0.5528 GB, free: 12.85 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001789/0.3684, allocations: 0.7515 MB / 0.5536 GB, free: 12.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/0.3695, allocations: 0.794 MB / 0.5543 GB, free: 11.29 MB / 442.7 MB Notification: Performance of SimCode: time 2.023e-06/0.3695, allocations: 4 kB / 0.5543 GB, free: 11.29 MB / 442.7 MB Notification: Performance of Templates: time 0.06239/0.4319, allocations: 37.37 MB / 0.5908 GB, free: 6.406 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.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.223119820002466]