Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001036/0.001036, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001385/0.001385, allocations: 168.8 kB / 24.91 MB, free: 9.156 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.9954/0.9954, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.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.2687/0.2687, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.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.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.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.332e-05/3.535e-05, allocations: 9.688 kB / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01923/0.01926, allocations: 14.07 MB / 337.3 MB, free: 11.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.03245, allocations: 5.153 MB / 342.5 MB, free: 6.391 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002683/0.03513, allocations: 139.3 kB / 342.6 MB, free: 6.254 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007329/0.04246, allocations: 6.429 MB / 349 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006551/0.04901, allocations: 2.928 MB / 351.9 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003329/0.05234, allocations: 1.797 MB / 353.7 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009625/0.06197, allocations: 9.091 MB / 362.8 MB, free: 1.965 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008216/0.07018, allocations: 6.749 MB / 369.6 MB, free: 11.09 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009464/0.07965, allocations: 4.542 MB / 374.1 MB, free: 6.539 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006524/0.08617, allocations: 4.26 MB / 378.4 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00199/0.08816, allocations: 0.5859 MB / 379 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003366/0.09153, allocations: 1.358 MB / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004651/0.09618, allocations: 3.826 MB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00436/0.1005, allocations: 2.294 MB / 386.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.1112, allocations: 7.582 MB / 394 MB, free: 2.578 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.1112, allocations: 0 / 394 MB, free: 2.578 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1112, allocations: 0 / 394 MB, free: 2.578 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004377/0.1116, allocations: 4 kB / 394 MB, free: 2.574 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.01243/0.1241, allocations: 7.81 MB / 401.8 MB, free: 10.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1241, allocations: 12.03 kB / 401.9 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00485/0.1289, allocations: 1.643 MB / 403.5 MB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005627/0.1346, allocations: 3.65 MB / 407.1 MB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002821/0.1349, allocations: 419 kB / 407.6 MB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001111/0.136, allocations: 0.5441 MB / 408.1 MB, free: 4.332 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01379/0.1498, allocations: 8.293 MB / 416.4 MB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001873/0.1499, allocations: 67.44 kB / 416.5 MB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000948/0.1509, allocations: 263.7 kB / 416.7 MB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002644/0.1535, allocations: 2.678 MB / 419.4 MB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01032/0.1639, allocations: 4.068 MB / 423.5 MB, free: 3.789 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3257/0.4896, allocations: 51.08 MB / 474.5 MB, free: 54.16 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007163/0.4968, allocations: 3.137 MB / 477.7 MB, free: 53.94 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.4979, allocations: 0.5211 MB / 478.2 MB, free: 53.9 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009963/0.5079, allocations: 5.673 MB / 483.9 MB, free: 52.82 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.5079, allocations: 52 kB / 483.9 MB, free: 52.78 MB / 410.8 MB Notification: Performance of pre-optimization done (n=182): time 4.349e-06/0.5079, allocations: 0 / 483.9 MB, free: 52.78 MB / 410.8 MB Notification: Performance of matching and sorting (n=206): time 0.01804/0.526, allocations: 7.208 MB / 491.1 MB, free: 49.54 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/0.5261, allocations: 153.2 kB / 491.3 MB, free: 49.36 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005637/0.5317, allocations: 4.936 MB / 496.2 MB, free: 45.91 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003914/0.5321, allocations: 57.33 kB / 496.3 MB, free: 45.88 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002353/0.5344, allocations: 4.839 MB / 0.4894 GB, free: 41.55 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001006/0.5354, allocations: 0.8408 MB / 0.4902 GB, free: 40.75 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001554/0.537, allocations: 1.592 MB / 0.4917 GB, free: 39.34 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.984e-05/0.537, allocations: 305.1 kB / 0.492 GB, free: 39.04 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/0.5385, allocations: 0.9537 MB / 0.493 GB, free: 38.07 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002704/0.5412, allocations: 6.127 MB / 0.4989 GB, free: 29.62 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005758/0.5469, allocations: 7.977 MB / 0.5067 GB, free: 19.96 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002162/0.5471, allocations: 55.94 kB / 0.5068 GB, free: 19.9 MB / 410.8 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.009715/0.5569, allocations: 5.662 MB / 0.5123 GB, free: 14.88 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.725e-05/0.557, allocations: 88 kB / 0.5124 GB, free: 14.8 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001303/0.5571, allocations: 188 kB / 0.5126 GB, free: 14.61 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001204/0.5572, allocations: 248 kB / 0.5128 GB, free: 14.37 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003618/0.5608, allocations: 1.891 MB / 0.5147 GB, free: 12.48 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001986/0.561, allocations: 370.5 kB / 0.515 GB, free: 12.11 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004874/0.5659, allocations: 371 kB / 0.5154 GB, free: 11.75 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009079/0.5668, allocations: 457.6 kB / 0.5158 GB, free: 11.31 MB / 410.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.002373/0.5692, allocations: 0.8227 MB / 0.5166 GB, free: 10.47 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008718/0.5701, allocations: 315.7 kB / 0.5169 GB, free: 10.16 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006897/0.5707, allocations: 0.4902 MB / 0.5174 GB, free: 9.664 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.028e-05/0.5708, allocations: 27.91 kB / 0.5174 GB, free: 9.641 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.5708, allocations: 0 / 0.5174 GB, free: 9.641 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.5708, allocations: 11.91 kB / 0.5174 GB, free: 9.629 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/0.5832, allocations: 7.918 MB / 0.5252 GB, free: 2.066 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.218e-05/0.5832, allocations: 40 kB / 0.5252 GB, free: 2.027 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006643/0.5839, allocations: 368.1 kB / 0.5256 GB, free: 1.668 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.412e-05/0.5839, allocations: 50.56 kB / 0.5256 GB, free: 1.621 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.95e-05/0.584, allocations: 80 kB / 0.5257 GB, free: 1.543 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-05/0.584, allocations: 79.72 kB / 0.5258 GB, free: 1.465 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-05/0.5841, allocations: 59.69 kB / 0.5258 GB, free: 1.406 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/0.5866, allocations: 2.926 MB / 0.5287 GB, free: 13.86 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/0.588, allocations: 0.5485 MB / 0.5292 GB, free: 13.32 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007233/0.5888, allocations: 91.91 kB / 0.5293 GB, free: 13.23 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/0.5902, allocations: 75.98 kB / 0.5294 GB, free: 13.15 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002437/0.5905, allocations: 270.3 kB / 0.5296 GB, free: 12.89 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.5906, allocations: 92 kB / 0.5297 GB, free: 12.8 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002907/0.5935, allocations: 2.153 MB / 0.5318 GB, free: 10.9 MB / 426.8 MB Notification: Performance of sort global known variables: time 2e-07/0.5935, allocations: 0 / 0.5318 GB, free: 10.9 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.007019/0.6005, allocations: 1.491 MB / 0.5333 GB, free: 9.41 MB / 426.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.0007016/0.6012, allocations: 242.3 kB / 0.5335 GB, free: 9.164 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.00532/0.6065, allocations: 3.204 MB / 0.5366 GB, free: 6.086 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0004551/0.607, allocations: 129.2 kB / 0.5367 GB, free: 5.953 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.608, allocations: 0.5695 MB / 0.5373 GB, free: 5.41 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004364/0.6124, allocations: 0.7981 MB / 0.5381 GB, free: 4.645 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02311/0.6355, allocations: 13.45 MB / 0.5512 GB, free: 6.543 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003679/0.6392, allocations: 2.075 MB / 0.5532 GB, free: 4.434 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.002559/0.6417, allocations: 0.7476 MB / 0.554 GB, free: 3.68 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/0.6431, allocations: 0.7979 MB / 0.5548 GB, free: 2.883 MB / 442.8 MB Notification: Performance of SimCode: time 2.635e-06/0.6431, allocations: 4 kB / 0.5548 GB, free: 2.879 MB / 442.8 MB Notification: Performance of Templates: time 0.06751/0.7106, allocations: 37.38 MB / 0.5913 GB, free: 14.12 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 4.63150070188567]