Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.0008195/0.0008195, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001101/0.00192, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0006965/0.0006965, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009052/0.001602, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9303/0.9303, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1881/1.118, allocations: 49.5 MB / 220.5 MB, free: 5.281 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1792/0.1792, allocations: 32.34 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02095/0.2001, allocations: 12.29 MB / 265.9 MB, free: 7.84 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 267.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.528e-05, allocations: 10.25 kB / 267.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.008546/0.008562, allocations: 11.96 MB / 279.2 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005028/0.01359, allocations: 3.453 MB / 282.6 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009373/0.01453, allocations: 71.81 kB / 282.7 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002516/0.01704, allocations: 2.69 MB / 285.4 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.01899, allocations: 1.446 MB / 286.8 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000657/0.01964, allocations: 359.2 kB / 287.2 MB, free: 2.477 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002276/0.02192, allocations: 2.772 MB / 290 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/0.02371, allocations: 2.493 MB / 292.4 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.02503, allocations: 1.831 MB / 294.3 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.0263, allocations: 1.555 MB / 295.8 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002717/0.02658, allocations: 300 kB / 296.1 MB, free: 9.453 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007976/0.02737, allocations: 0.7528 MB / 296.9 MB, free: 8.699 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008165/0.02819, allocations: 1.481 MB / 298.4 MB, free: 7.215 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006706/0.02886, allocations: 0.853 MB / 299.2 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002341/0.0312, allocations: 3.464 MB / 302.7 MB, free: 2.883 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.14e-05/0.03121, allocations: 0 / 302.7 MB, free: 2.883 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.03121, allocations: 0 / 302.7 MB, free: 2.883 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.877e-05/0.03126, allocations: 0 / 302.7 MB, free: 2.883 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.003643/0.03491, allocations: 4.305 MB / 307 MB, free: 14.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.03494, allocations: 11.89 kB / 307 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00203/0.03697, allocations: 0.9489 MB / 307.9 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.03827, allocations: 1.315 MB / 309.3 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.03837, allocations: 209.5 kB / 309.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002591/0.03863, allocations: 260.2 kB / 309.7 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003557/0.04219, allocations: 3.736 MB / 313.5 MB, free: 7.664 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.833e-05/0.04223, allocations: 11.88 kB / 313.5 MB, free: 7.652 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001944/0.04242, allocations: 127.9 kB / 313.6 MB, free: 7.527 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001249/0.04367, allocations: 1.604 MB / 315.2 MB, free: 5.922 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002735/0.0464, allocations: 1.965 MB / 317.2 MB, free: 3.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01308/0.05948, allocations: 18.82 MB / 336 MB, free: 476 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1418/0.2012, allocations: 1.109 MB / 337.1 MB, free: 41.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005074/0.2017, allocations: 228 kB / 337.3 MB, free: 41.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003787/0.2055, allocations: 2.516 MB / 339.8 MB, free: 41.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.2056, allocations: 42.69 kB / 339.9 MB, free: 41.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=120): time 2.655e-06/0.2056, allocations: 0.8438 kB / 339.9 MB, free: 41.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=120): time 0.002635/0.2082, allocations: 1.389 MB / 341.3 MB, free: 41.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.2082, allocations: 63.25 kB / 341.3 MB, free: 41.01 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.2096, allocations: 1.617 MB / 342.9 MB, free: 40.85 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.2097, allocations: 45.28 kB / 343 MB, free: 40.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008419/0.2105, allocations: 2.323 MB / 345.3 MB, free: 39.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.2107, allocations: 480.2 kB / 345.8 MB, free: 39.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004661/0.2112, allocations: 0.7012 MB / 346.5 MB, free: 39.26 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.881e-05/0.2112, allocations: 355.7 kB / 346.8 MB, free: 38.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.2116, allocations: 383.3 kB / 347.2 MB, free: 38.94 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009704/0.2126, allocations: 2.453 MB / 349.6 MB, free: 36.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.2142, allocations: 3.259 MB / 352.9 MB, free: 33.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.47e-05/0.2142, allocations: 24.06 kB / 352.9 MB, free: 33.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.002178/0.2164, allocations: 2.35 MB / 355.3 MB, free: 33.26 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.2164, allocations: 39.78 kB / 355.3 MB, free: 33.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.924e-05/0.2165, allocations: 81.75 kB / 355.4 MB, free: 33.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.492e-05/0.2165, allocations: 100.8 kB / 355.5 MB, free: 33.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.2179, allocations: 0.8931 MB / 356.4 MB, free: 33.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.853e-05/0.2179, allocations: 151.9 kB / 356.5 MB, free: 33.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.2192, allocations: 478.8 kB / 357 MB, free: 33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.2194, allocations: 192.4 kB / 357.2 MB, free: 33 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],cutForceAndTorque.forceColor[1],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[3],cutForceAndTorque.torqueColor[1],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[3],fixedRotation.color[1],fixedRotation.color[2],fixedRotation.color[3],frame_b.color_x[1],frame_b.color_x[2],frame_b.color_x[3],forceAndTorque.forceColor[1],forceAndTorque.forceColor[2],forceAndTorque.forceColor[3],forceAndTorque.torqueColor[1],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 445 * 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.000858/0.2202, allocations: 415.8 kB / 357.6 MB, free: 32.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.2203, allocations: 133.9 kB / 357.7 MB, free: 32.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006097/0.221, allocations: 0.5853 MB / 358.3 MB, free: 32.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.221, allocations: 11.98 kB / 358.3 MB, free: 32.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.221, allocations: 7.562 kB / 358.3 MB, free: 32.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.221, allocations: 8 kB / 358.3 MB, free: 32.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003621/0.2246, allocations: 3.071 MB / 361.4 MB, free: 31.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.2246, allocations: 15.19 kB / 361.4 MB, free: 31.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/0.225, allocations: 201.5 kB / 361.6 MB, free: 31.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002395/0.2252, allocations: 198.8 kB / 361.8 MB, free: 31.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/0.2252, allocations: 19.25 kB / 361.8 MB, free: 31.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.617e-05/0.2253, allocations: 37.95 kB / 361.9 MB, free: 31.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.207e-05/0.2253, allocations: 32.25 kB / 361.9 MB, free: 31.58 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/0.2253, allocations: 22.94 kB / 361.9 MB, free: 31.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006345/0.2259, allocations: 1.173 MB / 363.1 MB, free: 30.31 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.2261, allocations: 37.89 kB / 363.1 MB, free: 30.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003229/0.2264, allocations: 33.58 kB / 363.2 MB, free: 30.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.211e-05/0.2265, allocations: 111.4 kB / 363.3 MB, free: 30.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/0.2265, allocations: 44.78 kB / 363.3 MB, free: 30.19 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004269/0.227, allocations: 0.6216 MB / 363.9 MB, free: 29.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.227, allocations: 0 / 363.9 MB, free: 29.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002036/0.229, allocations: 0.9808 MB / 364.9 MB, free: 28.89 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.0002412/0.2292, allocations: 149 kB / 365.1 MB, free: 28.78 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.2306, allocations: 1.408 MB / 366.5 MB, free: 27.69 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.938e-05/0.2307, allocations: 64.5 kB / 366.5 MB, free: 27.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.231, allocations: 278.6 kB / 366.8 MB, free: 27.4 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008091/0.2318, allocations: 391.1 kB / 367.2 MB, free: 27.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007394/0.2392, allocations: 6.471 MB / 373.7 MB, free: 21.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007441/0.2399, allocations: 1.014 MB / 374.7 MB, free: 20.29 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008685/0.2408, allocations: 305.8 kB / 375 MB, free: 19.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000389/0.2412, allocations: 323.3 kB / 375.3 MB, free: 19.68 MB / 330.7 MB Notification: Performance of SimCode: time 2.304e-06/0.2412, allocations: 2.188 kB / 375.3 MB, free: 19.68 MB / 330.7 MB Notification: Performance of Templates: time 0.02604/0.2672, allocations: 16.17 MB / 391.5 MB, free: 3.668 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.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.3362933434545994]