Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.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.0009632/0.0009632, allocations: 80.05 kB / 20.72 MB, free: 3.766 MB / 18.57 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.0009789/0.0009789, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 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.8584/0.8584, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.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.1277/0.1277, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 299.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.494e-05/1.623e-05, allocations: 2.312 kB / 299.1 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.1411/0.1411, allocations: 9.98 MB / 309.1 MB, free: 15.17 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006398/0.1475, allocations: 3.042 MB / 312.1 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.1486, allocations: 60 kB / 312.2 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00265/0.1513, allocations: 2.114 MB / 314.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002168/0.1535, allocations: 1.265 MB / 315.6 MB, free: 11.65 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005607/0.154, allocations: 326.1 kB / 315.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002261/0.1563, allocations: 2.331 MB / 318.2 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.1579, allocations: 1.942 MB / 320.2 MB, free: 8.824 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.159, allocations: 1.391 MB / 321.5 MB, free: 7.684 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.1601, allocations: 1.231 MB / 322.8 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.1603, allocations: 212 kB / 323 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000688/0.161, allocations: 0.6787 MB / 323.7 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005446/0.1615, allocations: 1.293 MB / 325 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004745/0.162, allocations: 0.7942 MB / 325.8 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001684/0.1637, allocations: 2.973 MB / 328.7 MB, free: 496 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1637, allocations: 4 kB / 328.7 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1637, allocations: 0 / 328.7 MB, free: 492 kB / 282.7 MB Notification: Performance of Transformations before backend: time 3.642e-05/0.1637, allocations: 4 kB / 328.7 MB, free: 488 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.002562/0.1663, allocations: 2.873 MB / 331.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1663, allocations: 12.03 kB / 331.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/0.1683, allocations: 0.8123 MB / 332.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.1694, allocations: 1.104 MB / 333.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.787e-05/0.1695, allocations: 156.3 kB / 333.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004174/0.1699, allocations: 204.3 kB / 333.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002982/0.1729, allocations: 3.051 MB / 336.9 MB, free: 7.855 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/0.1729, allocations: 16.89 kB / 337 MB, free: 7.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/0.173, allocations: 91.89 kB / 337 MB, free: 7.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001077/0.1741, allocations: 1.321 MB / 338.4 MB, free: 6.426 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/0.1765, allocations: 1.625 MB / 340 MB, free: 4.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01157/0.188, allocations: 16.31 MB / 356.3 MB, free: 3.898 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/0.1899, allocations: 0.9908 MB / 357.3 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.1901, allocations: 187.5 kB / 357.5 MB, free: 2.699 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002679/0.1928, allocations: 2.261 MB / 359.7 MB, free: 424 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.1928, allocations: 39.22 kB / 359.8 MB, free: 376 kB / 314.7 MB Notification: Performance of pre-optimization done (n=93): time 3.656e-06/0.1928, allocations: 4 kB / 359.8 MB, free: 372 kB / 314.7 MB Notification: Performance of matching and sorting (n=93): time 0.002396/0.1952, allocations: 1.171 MB / 361 MB, free: 15.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.1953, allocations: 60.06 kB / 361 MB, free: 15.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.1965, allocations: 1.477 MB / 362.5 MB, free: 13.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.1965, allocations: 41.69 kB / 362.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007205/0.1973, allocations: 1.959 MB / 364.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.1974, allocations: 369.1 kB / 364.8 MB, free: 11.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004379/0.1979, allocations: 0.6199 MB / 365.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.757e-05/0.198, allocations: 353.8 kB / 365.8 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003509/0.1983, allocations: 331 kB / 366.1 MB, free: 9.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.1994, allocations: 2.216 MB / 368.4 MB, free: 6.742 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/0.2014, allocations: 2.905 MB / 371.3 MB, free: 2.867 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.039e-05/0.2014, allocations: 20 kB / 371.3 MB, free: 2.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.00199/0.2034, allocations: 2.087 MB / 373.4 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.2034, allocations: 36 kB / 373.4 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-05/0.2035, allocations: 68 kB / 373.5 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.373e-05/0.2035, allocations: 92 kB / 373.6 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.2047, allocations: 0.7291 MB / 374.3 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.647e-05/0.2047, allocations: 127.5 kB / 374.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008699/0.2056, allocations: 437 kB / 374.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004036/0.206, allocations: 175.4 kB / 375 MB, free: 15.11 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (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 (391): * Single equations (assignments): 386 * 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.0005873/0.2066, allocations: 389.5 kB / 375.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.2067, allocations: 99.89 kB / 375.5 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005065/0.2072, allocations: 475.8 kB / 375.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.2072, allocations: 8 kB / 376 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.2072, allocations: 0 / 376 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2072, allocations: 3.984 kB / 376 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/0.2096, allocations: 2.273 MB / 378.2 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.2096, allocations: 8 kB / 378.2 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.2099, allocations: 123.8 kB / 378.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/0.2099, allocations: 16 kB / 378.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.21, allocations: 20 kB / 378.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.878e-06/0.21, allocations: 20.55 kB / 378.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/0.21, allocations: 19.94 kB / 378.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005807/0.2106, allocations: 0.8442 MB / 379.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.2107, allocations: 162.7 kB / 379.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.951e-05/0.2108, allocations: 27.98 kB / 379.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.211, allocations: 20 kB / 379.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.934e-05/0.2111, allocations: 75.66 kB / 379.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/0.2111, allocations: 32 kB / 379.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004305/0.2115, allocations: 0.5741 MB / 380.2 MB, free: 9.594 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2115, allocations: 0 / 380.2 MB, free: 9.594 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001426/0.213, allocations: 0.7746 MB / 380.9 MB, free: 8.816 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.0002112/0.2132, allocations: 132.1 kB / 381.1 MB, free: 8.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.2145, allocations: 1.204 MB / 382.3 MB, free: 7.484 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.208e-05/0.2145, allocations: 51.94 kB / 382.3 MB, free: 7.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.2147, allocations: 206.1 kB / 382.5 MB, free: 7.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.2153, allocations: 201.9 kB / 382.7 MB, free: 7.035 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004459/0.2198, allocations: 4.972 MB / 387.7 MB, free: 1.875 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006502/0.2205, allocations: 0.8181 MB / 388.5 MB, free: 1.035 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005404/0.221, allocations: 263.7 kB / 388.8 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006647/0.2217, allocations: 295.3 kB / 389.1 MB, free: 496 kB / 346.7 MB Notification: Performance of SimCode: time 1.513e-06/0.2217, allocations: 0 / 389.1 MB, free: 496 kB / 346.7 MB Notification: Performance of Templates: time 0.02199/0.2437, allocations: 13.47 MB / 402.5 MB, free: 3.086 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.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.0734427249990404]