Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.001012/0.001012, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001/0.001, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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.9528/0.9528, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.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.304/0.304, allocations: 34.85 MB / 296.3 MB, free: 0.5508 MB / 266.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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 378.8 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.209e-05, allocations: 7.297 kB / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01856/0.01858, allocations: 9.236 MB / 388 MB, free: 8.82 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01124/0.02982, allocations: 2.869 MB / 390.9 MB, free: 5.941 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000781/0.0306, allocations: 59.81 kB / 390.9 MB, free: 5.883 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005955/0.03656, allocations: 2.142 MB / 393.1 MB, free: 3.734 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002997/0.03956, allocations: 1.175 MB / 394.2 MB, free: 2.555 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006008/0.04016, allocations: 323.2 kB / 394.6 MB, free: 2.238 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002893/0.04305, allocations: 2.363 MB / 396.9 MB, free: 15.87 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001995/0.04504, allocations: 1.793 MB / 398.7 MB, free: 14.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.0466, allocations: 1.294 MB / 400 MB, free: 12.74 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.04793, allocations: 1.181 MB / 401.2 MB, free: 11.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002883/0.04822, allocations: 192 kB / 401.4 MB, free: 11.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009818/0.0492, allocations: 0.6396 MB / 402 MB, free: 10.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001182/0.05038, allocations: 1.188 MB / 403.2 MB, free: 9.535 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007372/0.05112, allocations: 0.7202 MB / 403.9 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002764/0.05388, allocations: 2.72 MB / 406.6 MB, free: 6.082 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.05388, allocations: 4 kB / 406.6 MB, free: 6.078 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.05388, allocations: 4 kB / 406.6 MB, free: 6.074 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.754e-05/0.05391, allocations: 0 / 406.6 MB, free: 6.074 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.003281/0.05719, allocations: 3.13 MB / 409.8 MB, free: 2.895 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.05722, allocations: 12.03 kB / 409.8 MB, free: 2.883 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002841/0.06006, allocations: 1.875 MB / 411.7 MB, free: 1.004 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.06128, allocations: 1.255 MB / 412.9 MB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.796e-05/0.06135, allocations: 147.9 kB / 413.1 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.06153, allocations: 188.2 kB / 413.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003377/0.06491, allocations: 3.317 MB / 416.6 MB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002676/0.06518, allocations: 15.88 kB / 416.6 MB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.06532, allocations: 87.91 kB / 416.7 MB, free: 11.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001094/0.06642, allocations: 1.34 MB / 418 MB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002836/0.06925, allocations: 1.796 MB / 419.8 MB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/0.08244, allocations: 20.58 MB / 440.4 MB, free: 3.199 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.08431, allocations: 0.9278 MB / 441.3 MB, free: 2.242 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.08461, allocations: 222 kB / 441.5 MB, free: 2.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1498/0.2344, allocations: 2.44 MB / 444 MB, free: 93.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.2345, allocations: 43.52 kB / 444 MB, free: 93.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.656e-06/0.2345, allocations: 0 / 444 MB, free: 93.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002814/0.2373, allocations: 1.285 MB / 445.3 MB, free: 93.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.2373, allocations: 61.34 kB / 445.4 MB, free: 93.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.2388, allocations: 1.788 MB / 447.1 MB, free: 92.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.2388, allocations: 36.92 kB / 447.2 MB, free: 92.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006383/0.2395, allocations: 2.017 MB / 449.2 MB, free: 91.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.2396, allocations: 336.7 kB / 449.5 MB, free: 91.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004565/0.2401, allocations: 0.6698 MB / 450.2 MB, free: 91.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.929e-05/0.2401, allocations: 0.5239 MB / 450.7 MB, free: 91.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004206/0.2406, allocations: 294.3 kB / 451 MB, free: 91.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.2416, allocations: 3.052 MB / 454.1 MB, free: 87.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002323/0.2439, allocations: 3.684 MB / 457.7 MB, free: 83.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.679e-05/0.2439, allocations: 19.94 kB / 457.8 MB, free: 83.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002568/0.2465, allocations: 2.497 MB / 460.3 MB, free: 83.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/0.2466, allocations: 35.16 kB / 460.3 MB, free: 83.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.664e-05/0.2466, allocations: 69.38 kB / 460.4 MB, free: 83.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.031e-05/0.2467, allocations: 91.97 kB / 460.4 MB, free: 83.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.2477, allocations: 0.6498 MB / 461.1 MB, free: 83.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-05/0.2477, allocations: 133 kB / 461.2 MB, free: 83.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009371/0.2487, allocations: 410.5 kB / 461.6 MB, free: 83.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/0.2488, allocations: 188 kB / 461.8 MB, free: 83.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.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 (362): * Single equations (assignments): 357 * 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.0005936/0.2494, allocations: 419.4 kB / 462.2 MB, free: 82.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.2495, allocations: 170.8 kB / 462.4 MB, free: 82.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.2496, allocations: 156.6 kB / 462.5 MB, free: 82.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.2497, allocations: 9.531 kB / 462.6 MB, free: 82.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.2497, allocations: 3.938 kB / 462.6 MB, free: 82.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.2497, allocations: 3.234 kB / 462.6 MB, free: 82.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00277/0.2524, allocations: 2.84 MB / 465.4 MB, free: 81.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.2524, allocations: 13.36 kB / 465.4 MB, free: 81.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.2526, allocations: 96.28 kB / 465.5 MB, free: 81.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.2526, allocations: 13.56 kB / 465.5 MB, free: 81.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.2527, allocations: 17.28 kB / 465.5 MB, free: 81.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.2527, allocations: 12.67 kB / 465.5 MB, free: 81.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.2527, allocations: 12.28 kB / 465.6 MB, free: 81.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006/0.2533, allocations: 0.8592 MB / 466.4 MB, free: 80.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.554e-05/0.2534, allocations: 151.9 kB / 466.6 MB, free: 80.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.164e-05/0.2535, allocations: 20.58 kB / 466.6 MB, free: 80.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.2537, allocations: 27.31 kB / 466.6 MB, free: 80.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.2537, allocations: 52.75 kB / 466.7 MB, free: 80.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.2538, allocations: 33.06 kB / 466.7 MB, free: 80.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000619/0.2544, allocations: 0.7727 MB / 467.5 MB, free: 80.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2544, allocations: 0 / 467.5 MB, free: 80.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001365/0.2557, allocations: 0.7076 MB / 468.2 MB, free: 79.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.0002628/0.256, allocations: 152.2 kB / 468.3 MB, free: 79.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.2572, allocations: 1.251 MB / 469.6 MB, free: 79.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2572, allocations: 0 / 469.6 MB, free: 79.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.2574, allocations: 190.9 kB / 469.8 MB, free: 79.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006007/0.258, allocations: 196.6 kB / 470 MB, free: 79.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004457/0.2625, allocations: 4.355 MB / 474.3 MB, free: 76.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006576/0.2631, allocations: 0.7575 MB / 475.1 MB, free: 76.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001354/0.2645, allocations: 0.8001 MB / 475.9 MB, free: 76.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.2647, allocations: 112.1 kB / 476 MB, free: 76.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2647, allocations: 0 / 476 MB, free: 76.52 MB / 410.7 MB Notification: Performance of Templates: time 0.02286/0.2875, allocations: 12.07 MB / 488.1 MB, free: 75.19 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.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.4556470047682524]