Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.000827/0.000827, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.0009331/0.0009331, allocations: 166.4 kB / 25.61 MB, free: 8.594 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.9696/0.9696, allocations: 177.1 MB / 206 MB, free: 4.469 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.1466/0.1466, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 377.2 MB, free: 25.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.327e-05/1.468e-05, allocations: 6.188 kB / 377.3 MB, free: 25.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.005761/0.005776, allocations: 8.997 MB / 386.2 MB, free: 16.6 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003676/0.009452, allocations: 2.836 MB / 389.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006179/0.01007, allocations: 59.81 kB / 389.1 MB, free: 13.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.0119, allocations: 2.107 MB / 391.2 MB, free: 11.58 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.01336, allocations: 1.178 MB / 392.4 MB, free: 10.4 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004351/0.0138, allocations: 315.2 kB / 392.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001568/0.01536, allocations: 2.372 MB / 395.1 MB, free: 7.711 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.01661, allocations: 1.801 MB / 396.9 MB, free: 5.863 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009125/0.01752, allocations: 1.302 MB / 398.2 MB, free: 4.559 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009618/0.01848, allocations: 1.169 MB / 399.4 MB, free: 3.387 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002236/0.0187, allocations: 196 kB / 399.6 MB, free: 3.195 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006147/0.01932, allocations: 0.6396 MB / 400.2 MB, free: 2.555 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005013/0.01982, allocations: 1.188 MB / 401.4 MB, free: 1.363 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004414/0.02026, allocations: 0.7241 MB / 402.1 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002108/0.02237, allocations: 2.724 MB / 404.8 MB, free: 13.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.02237, allocations: 0 / 404.8 MB, free: 13.9 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.02238, allocations: 0 / 404.8 MB, free: 13.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.179e-05/0.0224, allocations: 4 kB / 404.9 MB, free: 13.9 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.002903/0.0253, allocations: 3.106 MB / 408 MB, free: 10.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.02533, allocations: 15.98 kB / 408 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002022/0.02736, allocations: 0.9862 MB / 409 MB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.02873, allocations: 1.138 MB / 410.1 MB, free: 8.562 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.161e-05/0.0288, allocations: 140 kB / 410.2 MB, free: 8.426 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/0.029, allocations: 192.3 kB / 410.4 MB, free: 8.238 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002948/0.03195, allocations: 3.027 MB / 413.4 MB, free: 4.844 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.726e-05/0.03198, allocations: 19.88 kB / 413.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/0.03214, allocations: 87.91 kB / 413.6 MB, free: 4.738 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009792/0.03311, allocations: 1.196 MB / 414.7 MB, free: 3.539 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.03523, allocations: 1.454 MB / 416.2 MB, free: 2.039 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01454/0.04976, allocations: 20.41 MB / 436.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.05159, allocations: 0.8757 MB / 437.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.05182, allocations: 195.8 kB / 437.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003223/0.05505, allocations: 2.326 MB / 440 MB, free: 9.516 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.05508, allocations: 41.89 kB / 440 MB, free: 9.465 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 2.404e-06/0.05508, allocations: 0 / 440 MB, free: 9.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002467/0.05754, allocations: 1.229 MB / 441.3 MB, free: 8.227 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.05758, allocations: 59.91 kB / 441.3 MB, free: 8.156 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.05882, allocations: 1.794 MB / 443.1 MB, free: 6.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.05885, allocations: 33.7 kB / 443.2 MB, free: 6.301 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009312/0.05978, allocations: 2.027 MB / 445.2 MB, free: 4.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000442/0.06022, allocations: 341.5 kB / 445.5 MB, free: 3.914 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005177/0.06074, allocations: 0.6848 MB / 446.2 MB, free: 3.215 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.06087, allocations: 0.5276 MB / 446.7 MB, free: 2.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.06114, allocations: 229.7 kB / 447 MB, free: 2.453 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/0.06252, allocations: 3.009 MB / 450 MB, free: 14.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002265/0.06478, allocations: 3.61 MB / 453.6 MB, free: 9.285 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.968e-05/0.0648, allocations: 20 kB / 453.6 MB, free: 9.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002157/0.06696, allocations: 2.34 MB / 455.9 MB, free: 6.926 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.06699, allocations: 36 kB / 456 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.904e-05/0.06703, allocations: 64 kB / 456 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.149e-05/0.06708, allocations: 88 kB / 456.1 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009788/0.06806, allocations: 0.6394 MB / 456.8 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.847e-05/0.06812, allocations: 127.5 kB / 456.9 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008716/0.06899, allocations: 409.2 kB / 457.3 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003989/0.06939, allocations: 160 kB / 457.4 MB, free: 5.418 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 (362): * Single equations (assignments): 357 * 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.0005133/0.0699, allocations: 413.5 kB / 457.8 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.07003, allocations: 182.8 kB / 458 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.07017, allocations: 156 kB / 458.2 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.07019, allocations: 12 kB / 458.2 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.07019, allocations: 0 / 458.2 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.0702, allocations: 3.984 kB / 458.2 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.07245, allocations: 2.126 MB / 460.3 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.07246, allocations: 8 kB / 460.3 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.07265, allocations: 91.83 kB / 460.4 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-06/0.07265, allocations: 8 kB / 460.4 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.07268, allocations: 15.98 kB / 460.4 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.176e-06/0.07268, allocations: 15.94 kB / 460.5 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.07269, allocations: 8.469 kB / 460.5 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005886/0.07328, allocations: 0.8422 MB / 461.3 MB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.0734, allocations: 154.8 kB / 461.5 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.358e-05/0.07348, allocations: 19.98 kB / 461.5 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.07369, allocations: 12 kB / 461.5 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.07374, allocations: 55.81 kB / 461.5 MB, free: 1.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.07377, allocations: 20 kB / 461.6 MB, free: 1.012 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005122/0.07428, allocations: 0.731 MB / 462.3 MB, free: 292 kB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.07428, allocations: 8 kB / 462.3 MB, free: 284 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.001437/0.07572, allocations: 0.7045 MB / 463 MB, free: 15.57 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.0002389/0.07596, allocations: 145.3 kB / 463.1 MB, free: 15.42 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.07704, allocations: 1.18 MB / 464.3 MB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.07704, allocations: 0 / 464.3 MB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004499/0.07749, allocations: 194.5 kB / 464.5 MB, free: 14.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006016/0.07809, allocations: 183 kB / 464.7 MB, free: 13.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004034/0.08212, allocations: 4.349 MB / 469 MB, free: 9.371 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005875/0.08271, allocations: 0.7696 MB / 469.8 MB, free: 8.574 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005021/0.08321, allocations: 250.5 kB / 470.1 MB, free: 8.324 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.08352, allocations: 298.1 kB / 470.3 MB, free: 8.031 MB / 394.7 MB Notification: Performance of SimCode: time 7.32e-07/0.08352, allocations: 0 / 470.3 MB, free: 8.031 MB / 394.7 MB Notification: Performance of Templates: time 0.02084/0.1044, allocations: 12.72 MB / 483.1 MB, free: 11.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.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.5579334408976138]