Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.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.0009761/0.0009761, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002304, 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.002125/0.002125, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001782/0.003907, 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.9348/0.9348, allocations: 158.6 MB / 171 MB, free: 2.172 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2091/1.144, allocations: 49.5 MB / 220.5 MB, free: 5.273 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.1267/0.1267, allocations: 32.35 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02279/0.1495, allocations: 12.29 MB / 265.9 MB, free: 7.832 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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 267.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.539e-05, allocations: 10.25 kB / 267.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01205/0.01207, allocations: 16.12 MB / 283.3 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.02221, allocations: 5.477 MB / 288.8 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002986/0.0252, allocations: 151.3 kB / 289 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007284/0.03248, allocations: 6.171 MB / 295.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007222/0.0397, allocations: 3.25 MB / 298.4 MB, free: 7.242 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003068/0.04277, allocations: 1.63 MB / 300 MB, free: 5.609 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01014/0.05291, allocations: 8.977 MB / 309 MB, free: 12.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007684/0.06059, allocations: 6.2 MB / 315.2 MB, free: 6.289 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007669/0.06826, allocations: 5.107 MB / 320.3 MB, free: 1.156 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006398/0.07466, allocations: 4.665 MB / 325 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002035/0.07669, allocations: 0.6562 MB / 325.6 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003139/0.07983, allocations: 1.483 MB / 327.1 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003816/0.08365, allocations: 3.776 MB / 330.9 MB, free: 6.555 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003874/0.08752, allocations: 2.057 MB / 332.9 MB, free: 4.492 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.161/0.2485, allocations: 7.919 MB / 340.8 MB, free: 22.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.7e-05/0.2485, allocations: 0 / 340.8 MB, free: 22.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2485, allocations: 5.219 kB / 340.8 MB, free: 22.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005369/0.2491, allocations: 1.75 kB / 340.8 MB, free: 22.76 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.0203/0.2693, allocations: 10.28 MB / 351.1 MB, free: 19.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.2694, allocations: 17.95 kB / 351.1 MB, free: 19.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005791/0.2752, allocations: 1.872 MB / 353 MB, free: 19.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006746/0.2819, allocations: 3.929 MB / 356.9 MB, free: 18.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003051/0.2822, allocations: 456.3 kB / 357.4 MB, free: 18.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001479/0.2837, allocations: 0.5895 MB / 358 MB, free: 18.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01415/0.2979, allocations: 9.064 MB / 367 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002281/0.2981, allocations: 73.19 kB / 367.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006452/0.2987, allocations: 288.2 kB / 367.4 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002821/0.3015, allocations: 3.166 MB / 370.6 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/0.3125, allocations: 4.565 MB / 375.1 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05742/0.3699, allocations: 55.32 MB / 430.4 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009708/0.3796, allocations: 3.376 MB / 433.8 MB, free: 3.199 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00171/0.3813, allocations: 0.6267 MB / 434.4 MB, free: 2.578 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01274/0.3941, allocations: 6.041 MB / 440.5 MB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.383e-05/0.3941, allocations: 59.75 kB / 440.5 MB, free: 12.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=238): time 6.172e-06/0.3941, allocations: 0 / 440.5 MB, free: 12.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=262): time 0.02377/0.4179, allocations: 7.628 MB / 448.2 MB, free: 5.254 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.614e-05/0.418, allocations: 154.5 kB / 448.3 MB, free: 5.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006011/0.424, allocations: 5.187 MB / 453.5 MB, free: 0.8203 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001543/0.4242, allocations: 65.7 kB / 453.6 MB, free: 0.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002934/0.4271, allocations: 5.304 MB / 458.9 MB, free: 11.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007574/0.4278, allocations: 1.046 MB / 459.9 MB, free: 10.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001716/0.4296, allocations: 1.738 MB / 461.7 MB, free: 9.191 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.756e-05/0.4296, allocations: 305 kB / 462 MB, free: 8.895 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00219/0.4318, allocations: 1.07 MB / 463 MB, free: 7.816 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004998/0.4368, allocations: 6.605 MB / 469.6 MB, free: 14.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007711/0.4445, allocations: 8.618 MB / 478.3 MB, free: 3.852 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001382/0.4447, allocations: 66.19 kB / 478.3 MB, free: 3.789 MB / 426.7 MB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.009467/0.4541, allocations: 6.175 MB / 484.5 MB, free: 13.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.486e-05/0.4542, allocations: 92 kB / 484.6 MB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001632/0.4544, allocations: 204 kB / 484.8 MB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001674/0.4546, allocations: 268 kB / 485 MB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004578/0.4591, allocations: 2.355 MB / 487.4 MB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002794/0.4594, allocations: 398.5 kB / 487.8 MB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005296/0.4647, allocations: 403.6 kB / 488.2 MB, free: 9.887 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008048/0.4655, allocations: 494.2 kB / 488.7 MB, free: 9.406 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1155): * Single equations (assignments): 1144 * Array equations: 11 * 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.003226/0.4687, allocations: 0.8833 MB / 489.6 MB, free: 8.512 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009736/0.4697, allocations: 355.6 kB / 489.9 MB, free: 8.164 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.4716, allocations: 1.274 MB / 491.2 MB, free: 6.879 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.481e-05/0.4717, allocations: 34.95 kB / 491.2 MB, free: 6.848 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.4717, allocations: 0 / 491.2 MB, free: 6.848 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.4717, allocations: 15.89 kB / 491.2 MB, free: 6.832 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/0.4872, allocations: 10.46 MB / 0.4899 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.132e-05/0.4872, allocations: 52 kB / 0.49 GB, free: 12.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.4883, allocations: 0.5498 MB / 0.4905 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/0.4899, allocations: 0.6093 MB / 0.4911 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-05/0.4899, allocations: 72 kB / 0.4912 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001492/0.4901, allocations: 113.6 kB / 0.4913 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.003e-05/0.4901, allocations: 112 kB / 0.4914 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.683e-05/0.4902, allocations: 87.62 kB / 0.4915 GB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003416/0.4936, allocations: 4.015 MB / 0.4954 GB, free: 5.445 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008378/0.4944, allocations: 132 kB / 0.4955 GB, free: 5.316 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/0.496, allocations: 99.98 kB / 0.4956 GB, free: 5.219 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002594/0.4962, allocations: 366.1 kB / 0.496 GB, free: 4.859 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/0.4964, allocations: 128 kB / 0.4961 GB, free: 4.734 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002859/0.4992, allocations: 2.265 MB / 0.4983 GB, free: 2.461 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4992, allocations: 0 / 0.4983 GB, free: 2.461 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008289/0.5075, allocations: 1.695 MB / 0.5 GB, free: 0.7656 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.0006961/0.5082, allocations: 308.7 kB / 0.5003 GB, free: 468 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.1399/0.6481, allocations: 3.623 MB / 0.5038 GB, free: 161.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0004579/0.6486, allocations: 158.6 kB / 0.5039 GB, free: 161.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.6496, allocations: 0.7771 MB / 0.5047 GB, free: 161.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004773/0.6544, allocations: 1.276 MB / 0.5059 GB, free: 161.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02355/0.678, allocations: 16.08 MB / 0.5216 GB, free: 153.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002446/0.6804, allocations: 2.33 MB / 0.5239 GB, free: 152.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002809/0.6832, allocations: 0.8434 MB / 0.5247 GB, free: 152.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/0.6844, allocations: 0.8725 MB / 0.5256 GB, free: 152.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.783e-06/0.6844, allocations: 0 / 0.5256 GB, free: 152.7 MB / 458.7 MB Notification: Performance of Templates: time 0.07051/0.7549, allocations: 43.31 MB / 0.5679 GB, free: 112.2 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.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: 4.562164508737624]