Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001151/0.001151, allocations: 76.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001596/0.002747, allocations: 453.9 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 162 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001146/0.002235, allocations: 479.6 kB / 11.82 MB, free: 2.34 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9835/0.9835, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09678/1.08, allocations: 53.88 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2677/0.2677, allocations: 34.88 MB / 279.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02669/0.2944, allocations: 13.24 MB / 292.8 MB, free: 6.398 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 294.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.61e-05, allocations: 2.312 kB / 294.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01174/0.01176, allocations: 14.25 MB / 308.4 MB, free: 6.785 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.02241, allocations: 5.212 MB / 313.6 MB, free: 1.562 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002311/0.02473, allocations: 139.3 kB / 313.7 MB, free: 1.426 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006981/0.03171, allocations: 6.059 MB / 319.8 MB, free: 11.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005216/0.03692, allocations: 2.877 MB / 322.6 MB, free: 8.453 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002579/0.0395, allocations: 1.633 MB / 324.3 MB, free: 6.816 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009079/0.04858, allocations: 8.78 MB / 333 MB, free: 14.03 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006297/0.05488, allocations: 5.92 MB / 339 MB, free: 7.992 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005467/0.06034, allocations: 4.733 MB / 343.7 MB, free: 3.234 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005177/0.06552, allocations: 4.232 MB / 347.9 MB, free: 14.99 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001329/0.06685, allocations: 0.5859 MB / 348.5 MB, free: 14.41 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/0.06921, allocations: 1.397 MB / 349.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002703/0.07192, allocations: 3.41 MB / 353.3 MB, free: 9.59 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002266/0.07418, allocations: 1.842 MB / 355.2 MB, free: 7.742 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006949/0.08113, allocations: 7.064 MB / 362.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/0.08114, allocations: 0 / 362.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.08114, allocations: 0 / 362.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002171/0.08136, allocations: 0 / 362.2 MB, free: 0.6523 MB / 346.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.01143/0.09279, allocations: 9.363 MB / 371.6 MB, free: 7.195 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.09283, allocations: 8.031 kB / 371.6 MB, free: 7.188 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004066/0.09689, allocations: 1.636 MB / 373.2 MB, free: 5.551 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004136/0.101, allocations: 3.662 MB / 376.9 MB, free: 1.789 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000229/0.1013, allocations: 411 kB / 377.3 MB, free: 1.387 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000611/0.1019, allocations: 0.5391 MB / 377.8 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008795/0.1107, allocations: 8.285 MB / 386.1 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001496/0.1108, allocations: 71.39 kB / 386.2 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000439/0.1113, allocations: 263.8 kB / 386.5 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002113/0.1134, allocations: 2.573 MB / 389 MB, free: 4.523 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007372/0.1207, allocations: 4.061 MB / 393.1 MB, free: 432 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.213/0.3337, allocations: 51.12 MB / 444.2 MB, free: 64.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00659/0.3403, allocations: 3.043 MB / 447.3 MB, free: 63.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000637/0.3409, allocations: 0.5293 MB / 447.8 MB, free: 63.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007265/0.3482, allocations: 5.691 MB / 453.5 MB, free: 63.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.3482, allocations: 60.22 kB / 453.5 MB, free: 63.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 3.416e-06/0.3482, allocations: 0 / 453.5 MB, free: 63.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.0146/0.3628, allocations: 7.163 MB / 460.7 MB, free: 62.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.3629, allocations: 150.5 kB / 460.8 MB, free: 62.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003394/0.3663, allocations: 4.938 MB / 465.8 MB, free: 61.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-05/0.3663, allocations: 64.23 kB / 465.8 MB, free: 61.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.3677, allocations: 4.843 MB / 470.7 MB, free: 58.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003864/0.3681, allocations: 0.8379 MB / 471.5 MB, free: 57.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/0.3693, allocations: 1.622 MB / 473.1 MB, free: 57.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.173e-05/0.3693, allocations: 301.1 kB / 473.4 MB, free: 57.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.3705, allocations: 0.9535 MB / 474.4 MB, free: 57.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002749/0.3733, allocations: 6.357 MB / 480.7 MB, free: 49.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004976/0.3782, allocations: 8.822 MB / 489.6 MB, free: 42.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-05/0.3783, allocations: 56 kB / 489.6 MB, free: 42.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.005345/0.3837, allocations: 5.766 MB / 495.4 MB, free: 37.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.337e-05/0.3837, allocations: 95.94 kB / 495.5 MB, free: 37.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001471/0.3839, allocations: 204 kB / 495.7 MB, free: 37.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001387/0.384, allocations: 260 kB / 495.9 MB, free: 37.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003122/0.3871, allocations: 2.22 MB / 498.2 MB, free: 35.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001969/0.3873, allocations: 383.4 kB / 498.5 MB, free: 34.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00309/0.3904, allocations: 380.3 kB / 498.9 MB, free: 34.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003174/0.3907, allocations: 464.8 kB / 499.4 MB, free: 34.13 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 907 * 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 (1083): * Single equations (assignments): 1080 * 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 prepare postOptimizeDAE: time 0.001727/0.3925, allocations: 0.8647 MB / 0.4885 GB, free: 33.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003579/0.3928, allocations: 313.4 kB / 0.4888 GB, free: 33.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003868/0.3932, allocations: 0.4894 MB / 0.4893 GB, free: 32.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.3932, allocations: 16 kB / 0.4893 GB, free: 32.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.825e-05/0.3932, allocations: 4 kB / 0.4893 GB, free: 32.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.3932, allocations: 11.97 kB / 0.4893 GB, free: 32.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007398/0.4006, allocations: 7.922 MB / 0.497 GB, free: 26.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.752e-05/0.4007, allocations: 47.98 kB / 0.4971 GB, free: 26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000608/0.4013, allocations: 401.3 kB / 0.4975 GB, free: 25.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004503/0.4017, allocations: 0.5391 MB / 0.498 GB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.009e-05/0.4018, allocations: 52 kB / 0.498 GB, free: 25.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.849e-05/0.4018, allocations: 81.8 kB / 0.4981 GB, free: 25.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.84e-05/0.4019, allocations: 71.72 kB / 0.4982 GB, free: 24.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.827e-05/0.4019, allocations: 61.5 kB / 0.4983 GB, free: 24.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.4032, allocations: 2.935 MB / 0.5011 GB, free: 21.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004029/0.4036, allocations: 91.5 kB / 0.5012 GB, free: 21.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009332/0.4045, allocations: 73.36 kB / 0.5013 GB, free: 21.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.4047, allocations: 269.2 kB / 0.5015 GB, free: 21.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.218e-05/0.4047, allocations: 98.73 kB / 0.5016 GB, free: 20.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001436/0.4062, allocations: 2.154 MB / 0.5037 GB, free: 19.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4062, allocations: 0 / 0.5037 GB, free: 19.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003812/0.41, allocations: 1.512 MB / 0.5052 GB, free: 17.57 MB / 426.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.0002902/0.4103, allocations: 243.3 kB / 0.5054 GB, free: 17.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002851/0.4131, allocations: 3.449 MB / 0.5088 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001854/0.4133, allocations: 144.2 kB / 0.5089 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0021/0.4154, allocations: 1.587 MB / 0.5105 GB, free: 12.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002965/0.4184, allocations: 4.808 MB / 0.5152 GB, free: 7.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.4328, allocations: 13.49 MB / 0.5284 GB, free: 9.074 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001707/0.4345, allocations: 2.063 MB / 0.5304 GB, free: 6.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001752/0.4363, allocations: 0.7483 MB / 0.5311 GB, free: 6.227 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009948/0.4373, allocations: 0.7706 MB / 0.5319 GB, free: 5.457 MB / 442.7 MB Notification: Performance of SimCode: time 1.724e-06/0.4373, allocations: 0 / 0.5319 GB, free: 5.457 MB / 442.7 MB Notification: Performance of Templates: time 0.07003/0.5073, allocations: 36.91 MB / 0.5679 GB, free: 0.8867 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.787646316923201]