Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.00112/0.00112, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001612/0.002732, 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.0009635/0.0009635, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001382/0.002345, 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.955/0.955, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1479/1.103, allocations: 52.48 MB / 238.5 MB, free: 7.621 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.1275/0.1275, allocations: 32.81 MB / 272 MB, free: 6.277 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01983/0.1474, allocations: 12.53 MB / 284.5 MB, free: 9.699 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 285.8 MB, free: 8.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028e-05/1.155e-05, allocations: 5.406 kB / 285.8 MB, free: 8.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.006879/0.006891, allocations: 9.335 MB / 295.2 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005112/0.012, allocations: 2.989 MB / 298.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009948/0.013, allocations: 55.81 kB / 298.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002132/0.01513, allocations: 2.036 MB / 300.3 MB, free: 9.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.01699, allocations: 1.186 MB / 301.4 MB, free: 8.738 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007539/0.01774, allocations: 295.2 kB / 301.7 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001905/0.01965, allocations: 2.22 MB / 303.9 MB, free: 6.223 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.0209, allocations: 1.801 MB / 305.8 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009525/0.02185, allocations: 1.379 MB / 307.1 MB, free: 2.988 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000902/0.02275, allocations: 1.122 MB / 308.3 MB, free: 1.863 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000184/0.02294, allocations: 199.9 kB / 308.4 MB, free: 1.668 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.02394, allocations: 0.6514 MB / 309.1 MB, free: 1.016 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005961/0.02453, allocations: 1.11 MB / 310.2 MB, free: 15.9 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004431/0.02498, allocations: 0.623 MB / 310.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.02673, allocations: 2.63 MB / 313.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.127e-05/0.02674, allocations: 3.938 kB / 313.5 MB, free: 12.63 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.02674, allocations: 4 kB / 313.5 MB, free: 12.63 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.559e-05/0.02678, allocations: 0 / 313.5 MB, free: 12.63 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.002971/0.02975, allocations: 3.346 MB / 316.8 MB, free: 9.227 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.02978, allocations: 12.03 kB / 316.8 MB, free: 9.215 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.03154, allocations: 0.7772 MB / 317.6 MB, free: 8.438 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.03259, allocations: 1.077 MB / 318.7 MB, free: 7.328 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.939e-05/0.03266, allocations: 144.1 kB / 318.8 MB, free: 7.188 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/0.03286, allocations: 192.3 kB / 319 MB, free: 7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/0.03559, allocations: 2.893 MB / 321.9 MB, free: 3.836 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/0.03562, allocations: 11.88 kB / 321.9 MB, free: 3.824 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/0.03577, allocations: 87.91 kB / 322 MB, free: 3.738 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001313/0.03708, allocations: 1.192 MB / 323.2 MB, free: 2.543 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002193/0.03928, allocations: 1.555 MB / 324.7 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1561/0.1954, allocations: 15.58 MB / 340.3 MB, free: 9.945 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.1972, allocations: 0.8939 MB / 341.2 MB, free: 9.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.1974, allocations: 158.2 kB / 341.4 MB, free: 9.824 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002493/0.1999, allocations: 2.107 MB / 343.5 MB, free: 9.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.1999, allocations: 38.56 kB / 343.5 MB, free: 9.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=78): time 2.445e-06/0.1999, allocations: 0 / 343.5 MB, free: 9.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=78): time 0.00236/0.2022, allocations: 1.072 MB / 344.6 MB, free: 9.117 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.2023, allocations: 57.56 kB / 344.6 MB, free: 9.055 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009583/0.2032, allocations: 1.442 MB / 346.1 MB, free: 8.703 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.2033, allocations: 36.8 kB / 346.1 MB, free: 8.672 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005654/0.2038, allocations: 1.889 MB / 348 MB, free: 7.422 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.204, allocations: 313.1 kB / 348.3 MB, free: 7.246 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005078/0.2045, allocations: 0.5935 MB / 348.9 MB, free: 7.156 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.29e-05/0.2046, allocations: 354.8 kB / 349.3 MB, free: 6.848 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.2048, allocations: 218.7 kB / 349.5 MB, free: 6.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007096/0.2055, allocations: 2.172 MB / 351.6 MB, free: 4.301 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/0.2073, allocations: 3.065 MB / 354.7 MB, free: 1.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.228e-05/0.2073, allocations: 19.69 kB / 354.7 MB, free: 1.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.001948/0.2092, allocations: 2 MB / 356.7 MB, free: 1.465 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/0.2093, allocations: 34.38 kB / 356.8 MB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.674e-05/0.2094, allocations: 76.55 kB / 356.8 MB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.475e-05/0.2095, allocations: 90.41 kB / 356.9 MB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.2106, allocations: 0.746 MB / 357.7 MB, free: 1.398 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.397e-05/0.2107, allocations: 140.2 kB / 357.8 MB, free: 1.289 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009393/0.2116, allocations: 409.8 kB / 358.2 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.2118, allocations: 161.7 kB / 358.4 MB, free: 0.7344 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.0006632/0.2124, allocations: 376.3 kB / 358.7 MB, free: 368 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.2125, allocations: 98.55 kB / 358.8 MB, free: 272 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.2127, allocations: 164.2 kB / 359 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.2127, allocations: 4 kB / 359 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.2127, allocations: 0 / 359 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.2127, allocations: 10.39 kB / 359 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/0.215, allocations: 1.89 MB / 360.9 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/0.215, allocations: 8 kB / 360.9 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.2152, allocations: 102 kB / 361 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.2153, allocations: 149.4 kB / 361.1 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.2153, allocations: 12 kB / 361.2 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.2154, allocations: 19.98 kB / 361.2 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.2154, allocations: 11.94 kB / 361.2 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.2154, allocations: 4 kB / 361.2 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.2159, allocations: 0.6252 MB / 361.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.039e-05/0.2159, allocations: 22.66 kB / 361.8 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.2162, allocations: 15.98 kB / 361.9 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/0.2162, allocations: 55.75 kB / 361.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.2163, allocations: 24 kB / 361.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004428/0.2167, allocations: 0.5526 MB / 362.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2167, allocations: 0 / 362.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00156/0.2183, allocations: 0.7424 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.0002679/0.2185, allocations: 131.4 kB / 363.4 MB, free: 11.83 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.2199, allocations: 1.181 MB / 364.5 MB, free: 10.81 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.936e-05/0.22, allocations: 52.69 kB / 364.6 MB, free: 10.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.2202, allocations: 208.8 kB / 364.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009599/0.2211, allocations: 1.109 MB / 365.9 MB, free: 9.332 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005659/0.2268, allocations: 4.7 MB / 370.6 MB, free: 4.531 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/0.2274, allocations: 0.7637 MB / 371.4 MB, free: 3.746 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007499/0.2282, allocations: 247.1 kB / 371.6 MB, free: 3.504 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/0.2284, allocations: 258.1 kB / 371.9 MB, free: 3.254 MB / 330.7 MB Notification: Performance of SimCode: time 1.523e-06/0.2284, allocations: 3.938 kB / 371.9 MB, free: 3.25 MB / 330.7 MB Notification: Performance of Templates: time 0.01968/0.2481, allocations: 10.04 MB / 381.9 MB, free: 9.281 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.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.0971477776765823]