Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008001/0.0008001, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001209/0.002009, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000737/0.000737, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001152/0.001889, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9393/0.9393, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1603/1.1, allocations: 52.49 MB / 238.5 MB, free: 7.609 MB / 234.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.1396/0.1396, allocations: 32.8 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02345/0.163, allocations: 12.54 MB / 284.5 MB, free: 9.703 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 3.938 kB / 285.8 MB, free: 8.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.595e-05/1.746e-05, allocations: 2.312 kB / 285.8 MB, free: 8.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.008223/0.008241, allocations: 9.337 MB / 295.2 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004522/0.01276, allocations: 2.985 MB / 298.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006458/0.01341, allocations: 59.81 kB / 298.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001999/0.01541, allocations: 2.036 MB / 300.3 MB, free: 9.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.01699, allocations: 1.182 MB / 301.4 MB, free: 8.742 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004127/0.0174, allocations: 303.2 kB / 301.7 MB, free: 8.445 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00179/0.01919, allocations: 2.214 MB / 303.9 MB, free: 6.227 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/0.02074, allocations: 1.797 MB / 305.7 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009893/0.02173, allocations: 1.383 MB / 307.1 MB, free: 2.992 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000903/0.02264, allocations: 1.122 MB / 308.2 MB, free: 1.867 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.02282, allocations: 200 kB / 308.4 MB, free: 1.672 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007348/0.02355, allocations: 0.6592 MB / 309.1 MB, free: 1.012 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006005/0.02415, allocations: 1.11 MB / 310.2 MB, free: 15.9 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005071/0.02466, allocations: 0.6152 MB / 310.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.0268, allocations: 2.634 MB / 313.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/0.02681, allocations: 0 / 313.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.02681, allocations: 0 / 313.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.278e-05/0.02684, allocations: 0 / 313.5 MB, free: 12.64 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.002662/0.02951, allocations: 3.346 MB / 316.8 MB, free: 9.234 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.02954, allocations: 16.03 kB / 316.8 MB, free: 9.219 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.03125, allocations: 0.7772 MB / 317.6 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.03237, allocations: 1.077 MB / 318.7 MB, free: 7.332 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.056e-05/0.03244, allocations: 148.1 kB / 318.8 MB, free: 7.188 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/0.03264, allocations: 192.3 kB / 319 MB, free: 7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002951/0.03559, allocations: 2.893 MB / 321.9 MB, free: 3.836 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/0.03562, allocations: 15.88 kB / 321.9 MB, free: 3.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.03576, allocations: 87.89 kB / 322 MB, free: 3.734 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009848/0.03675, allocations: 1.196 MB / 323.2 MB, free: 2.535 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00202/0.03877, allocations: 1.537 MB / 324.7 MB, free: 0.957 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.135/0.1737, allocations: 15.58 MB / 340.3 MB, free: 9.965 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.1753, allocations: 0.8962 MB / 341.2 MB, free: 9.859 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.1755, allocations: 155.2 kB / 341.4 MB, free: 9.844 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002225/0.1777, allocations: 2.109 MB / 343.5 MB, free: 9.293 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.1778, allocations: 41.19 kB / 343.5 MB, free: 9.254 MB / 314.7 MB Notification: Performance of pre-optimization done (n=78): time 1.613e-06/0.1778, allocations: 0 / 343.5 MB, free: 9.254 MB / 314.7 MB Notification: Performance of matching and sorting (n=78): time 0.002198/0.18, allocations: 1.071 MB / 344.6 MB, free: 9.141 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.823e-05/0.18, allocations: 58.44 kB / 344.6 MB, free: 9.078 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007842/0.1808, allocations: 1.438 MB / 346.1 MB, free: 8.727 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.1808, allocations: 42.59 kB / 346.1 MB, free: 8.695 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004349/0.1812, allocations: 1.885 MB / 348 MB, free: 7.445 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.1813, allocations: 319.5 kB / 348.3 MB, free: 7.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003656/0.1817, allocations: 0.5893 MB / 348.9 MB, free: 7.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.244e-05/0.1817, allocations: 353.7 kB / 349.3 MB, free: 6.852 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.182, allocations: 221.4 kB / 349.5 MB, free: 6.844 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006265/0.1826, allocations: 2.171 MB / 351.6 MB, free: 4.305 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.1842, allocations: 3.063 MB / 354.7 MB, free: 1.688 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.135e-05/0.1842, allocations: 18.62 kB / 354.7 MB, free: 1.688 MB / 314.7 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.00167/0.1859, allocations: 1.997 MB / 356.7 MB, free: 1.473 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.1859, allocations: 38.56 kB / 356.8 MB, free: 1.473 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-05/0.1859, allocations: 78.67 kB / 356.8 MB, free: 1.473 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.456e-05/0.186, allocations: 89.72 kB / 356.9 MB, free: 1.473 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.1871, allocations: 0.7481 MB / 357.7 MB, free: 1.398 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.349e-05/0.1871, allocations: 139.6 kB / 357.8 MB, free: 1.277 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000896/0.188, allocations: 406.8 kB / 358.2 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.1882, allocations: 164 kB / 358.4 MB, free: 0.7227 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 314 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.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 (375): * Single equations (assignments): 372 * 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.000464/0.1886, allocations: 383.8 kB / 358.7 MB, free: 352 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.967e-05/0.1887, allocations: 87.91 kB / 358.8 MB, free: 264 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.1888, allocations: 164.2 kB / 359 MB, free: 96 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.1888, allocations: 4 kB / 359 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.1888, allocations: 4 kB / 359 MB, free: 88 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1888, allocations: 3.984 kB / 359 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.1911, allocations: 1.89 MB / 360.9 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.1911, allocations: 14.12 kB / 360.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.1913, allocations: 103.8 kB / 361 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.1914, allocations: 151.2 kB / 361.1 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.1914, allocations: 8 kB / 361.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.1915, allocations: 17.44 kB / 361.2 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.1915, allocations: 11.98 kB / 361.2 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.1915, allocations: 11.94 kB / 361.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.1919, allocations: 0.6234 MB / 361.8 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.622e-05/0.192, allocations: 16 kB / 361.8 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.1922, allocations: 16 kB / 361.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.1922, allocations: 55.73 kB / 361.9 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.1923, allocations: 24.78 kB / 361.9 MB, free: 13.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003811/0.1926, allocations: 0.5538 MB / 362.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1926, allocations: 0 / 362.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001316/0.194, allocations: 0.7319 MB / 363.2 MB, free: 11.96 MB / 330.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.0002024/0.1942, allocations: 138.3 kB / 363.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009788/0.1951, allocations: 1.185 MB / 364.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-05/0.1952, allocations: 58.94 kB / 364.6 MB, free: 10.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.1954, allocations: 198.2 kB / 364.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008828/0.1963, allocations: 1.113 MB / 365.9 MB, free: 9.316 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005088/0.2014, allocations: 4.702 MB / 370.6 MB, free: 4.516 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005877/0.202, allocations: 0.7681 MB / 371.4 MB, free: 3.727 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004628/0.2025, allocations: 240.5 kB / 371.6 MB, free: 3.492 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.2027, allocations: 259.3 kB / 371.9 MB, free: 3.238 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.2027, allocations: 0 / 371.9 MB, free: 3.238 MB / 330.7 MB Notification: Performance of Templates: time 0.01961/0.2223, allocations: 10.04 MB / 381.9 MB, free: 9.27 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.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.1096022315323353]