Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001499/0.001499, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001242/0.001242, allocations: 164.9 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9594/0.9594, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1422/0.1422, allocations: 34.26 MB / 296.8 MB, free: 13.93 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.355e-05/1.513e-05, allocations: 2.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.008403/0.008418, allocations: 14.07 MB / 393.4 MB, free: 9.281 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006962/0.01538, allocations: 4.923 MB / 398.3 MB, free: 4.344 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.01687, allocations: 139.3 kB / 398.4 MB, free: 4.207 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00755/0.02442, allocations: 6.336 MB / 404.7 MB, free: 13.85 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006125/0.03055, allocations: 2.931 MB / 407.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.03299, allocations: 1.786 MB / 409.5 MB, free: 9.113 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008975/0.04197, allocations: 9.141 MB / 418.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00732/0.04929, allocations: 6.596 MB / 425.2 MB, free: 9.262 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007841/0.05713, allocations: 4.546 MB / 429.7 MB, free: 4.707 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006808/0.06394, allocations: 4.458 MB / 434.2 MB, free: 244 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001634/0.06557, allocations: 0.5821 MB / 434.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/0.06781, allocations: 1.373 MB / 436.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002743/0.07055, allocations: 3.826 MB / 440 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002116/0.07267, allocations: 2.298 MB / 442.3 MB, free: 8.141 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006114/0.07878, allocations: 7.586 MB / 449.9 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.07879, allocations: 0 / 449.9 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.07879, allocations: 0 / 449.9 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.735e-05/0.07887, allocations: 0 / 449.9 MB, free: 0.5273 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.009074/0.08795, allocations: 8.722 MB / 458.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.08799, allocations: 8.031 kB / 458.6 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004847/0.09283, allocations: 2.361 MB / 461 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004805/0.09764, allocations: 3.774 MB / 464.7 MB, free: 1.484 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002242/0.09786, allocations: 415 kB / 465.1 MB, free: 1.078 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005962/0.09846, allocations: 0.5391 MB / 465.7 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0108/0.1093, allocations: 9.278 MB / 475 MB, free: 5.727 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000121/0.1094, allocations: 67.41 kB / 475 MB, free: 5.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004202/0.1098, allocations: 259.8 kB / 475.3 MB, free: 5.406 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002179/0.112, allocations: 2.678 MB / 478 MB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007708/0.1197, allocations: 3.986 MB / 481.9 MB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.312/0.4317, allocations: 70.92 MB / 0.5399 GB, free: 50.16 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006217/0.4379, allocations: 3.275 MB / 0.5431 GB, free: 46.92 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006167/0.4385, allocations: 0.6648 MB / 0.5438 GB, free: 46.25 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005607/0.4442, allocations: 6.009 MB / 0.5496 GB, free: 40.39 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.4442, allocations: 58.17 kB / 0.5497 GB, free: 40.33 MB / 410.8 MB Notification: Performance of pre-optimization done (n=182): time 2.845e-06/0.4442, allocations: 3 kB / 0.5497 GB, free: 40.33 MB / 410.8 MB Notification: Performance of matching and sorting (n=206): time 0.01575/0.4599, allocations: 7.94 MB / 0.5574 GB, free: 32.84 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.46, allocations: 149.4 kB / 0.5576 GB, free: 32.67 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003245/0.4632, allocations: 5.48 MB / 0.5629 GB, free: 27.43 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.87e-05/0.4633, allocations: 61.69 kB / 0.563 GB, free: 27.36 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001642/0.4649, allocations: 5.547 MB / 0.5684 GB, free: 22.16 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003509/0.4653, allocations: 0.8764 MB / 0.5693 GB, free: 21.27 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/0.4664, allocations: 1.857 MB / 0.5711 GB, free: 19.39 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.732e-05/0.4664, allocations: 480.8 kB / 0.5715 GB, free: 18.92 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008706/0.4673, allocations: 0.6916 MB / 0.5722 GB, free: 18.22 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002595/0.4699, allocations: 8.664 MB / 0.5807 GB, free: 5.984 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005544/0.4754, allocations: 10.31 MB / 0.5907 GB, free: 8.141 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.317e-05/0.4755, allocations: 52 kB / 0.5908 GB, free: 8.09 MB / 426.8 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.006532/0.482, allocations: 6.609 MB / 0.5972 GB, free: 1.48 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.59e-05/0.4821, allocations: 91.98 kB / 0.5973 GB, free: 1.391 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001105/0.4822, allocations: 188 kB / 0.5975 GB, free: 1.207 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001378/0.4823, allocations: 248 kB / 0.5977 GB, free: 0.9648 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003229/0.4856, allocations: 1.891 MB / 0.5996 GB, free: 15.07 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001725/0.4858, allocations: 374.2 kB / 0.5999 GB, free: 14.71 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002791/0.4885, allocations: 371.7 kB / 0.6003 GB, free: 14.34 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000367/0.4889, allocations: 460 kB / 0.6007 GB, free: 13.89 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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 (1043): * Single equations (assignments): 1032 * 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.001873/0.4908, allocations: 0.8703 MB / 0.6016 GB, free: 13.01 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005204/0.4913, allocations: 0.5669 MB / 0.6021 GB, free: 12.44 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004772/0.4918, allocations: 494 kB / 0.6026 GB, free: 11.95 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-05/0.4918, allocations: 24 kB / 0.6026 GB, free: 11.93 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.4918, allocations: 0 / 0.6026 GB, free: 11.93 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.4918, allocations: 15.91 kB / 0.6026 GB, free: 11.91 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01045/0.5023, allocations: 9.181 MB / 0.6116 GB, free: 1.961 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-05/0.5023, allocations: 36 kB / 0.6116 GB, free: 1.926 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005933/0.5029, allocations: 367.3 kB / 0.612 GB, free: 1.566 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.555e-05/0.5029, allocations: 59.97 kB / 0.6121 GB, free: 1.508 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-05/0.503, allocations: 80 kB / 0.6121 GB, free: 1.43 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.465e-05/0.503, allocations: 75.72 kB / 0.6122 GB, free: 1.355 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.884e-05/0.5031, allocations: 55.75 kB / 0.6123 GB, free: 1.301 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002357/0.5054, allocations: 3.533 MB / 0.6157 GB, free: 13.02 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005374/0.506, allocations: 0.5509 MB / 0.6162 GB, free: 12.46 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003245/0.5063, allocations: 87.97 kB / 0.6163 GB, free: 12.38 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009611/0.5073, allocations: 72 kB / 0.6164 GB, free: 12.31 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.5074, allocations: 270.7 kB / 0.6167 GB, free: 12.04 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.962e-05/0.5075, allocations: 99.92 kB / 0.6168 GB, free: 11.95 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.001663/0.5092, allocations: 2.232 MB / 0.6189 GB, free: 9.742 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5092, allocations: 0 / 0.6189 GB, free: 9.742 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.004021/0.5132, allocations: 1.496 MB / 0.6204 GB, free: 8.246 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.0002958/0.5135, allocations: 258.2 kB / 0.6206 GB, free: 7.98 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.002923/0.5164, allocations: 3.428 MB / 0.624 GB, free: 4.578 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.5164, allocations: 8 kB / 0.624 GB, free: 4.57 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005137/0.5169, allocations: 0.6041 MB / 0.6246 GB, free: 3.973 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/0.5192, allocations: 0.8044 MB / 0.6254 GB, free: 3.199 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.5306, allocations: 13.34 MB / 0.6384 GB, free: 5.016 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001811/0.5325, allocations: 2.09 MB / 0.6404 GB, free: 2.891 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.001585/0.534, allocations: 0.7476 MB / 0.6412 GB, free: 2.137 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009603/0.535, allocations: 0.8573 MB / 0.642 GB, free: 1.277 MB / 474.8 MB Notification: Performance of SimCode: time 7.62e-07/0.535, allocations: 0 / 0.642 GB, free: 1.277 MB / 474.8 MB Notification: Performance of Templates: time 0.1999/0.7349, allocations: 38.23 MB / 0.6793 GB, free: 182.2 MB / 0.4949 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 5.279922831337899]