Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001424/0.001424, 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.001484/0.001484, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.948/0.948, allocations: 177.2 MB / 206.1 MB, free: 4.469 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.1649/0.1649, allocations: 34.27 MB / 296.9 MB, free: 13.91 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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 3.984 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.554e-05, allocations: 6.25 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.0135/0.01352, allocations: 8.985 MB / 388.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.02455, allocations: 2.844 MB / 391.1 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004549/0.0291, allocations: 55.81 kB / 391.2 MB, free: 11.48 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005762/0.03487, allocations: 2.11 MB / 393.3 MB, free: 9.359 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0025/0.03737, allocations: 1.178 MB / 394.5 MB, free: 8.176 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003717/0.04108, allocations: 319.2 kB / 394.8 MB, free: 7.863 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00539/0.04647, allocations: 2.371 MB / 397.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001767/0.04824, allocations: 1.805 MB / 398.9 MB, free: 3.637 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.04984, allocations: 1.294 MB / 400.2 MB, free: 2.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.05116, allocations: 1.181 MB / 401.4 MB, free: 1.156 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002942/0.05146, allocations: 195.9 kB / 401.6 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008891/0.05235, allocations: 0.6397 MB / 402.3 MB, free: 332 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008576/0.0532, allocations: 1.188 MB / 403.4 MB, free: 15.13 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.05429, allocations: 0.7202 MB / 404.2 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003035/0.05733, allocations: 2.728 MB / 406.9 MB, free: 11.67 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.05733, allocations: 0 / 406.9 MB, free: 11.67 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.05734, allocations: 0 / 406.9 MB, free: 11.67 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.576e-05/0.05741, allocations: 0 / 406.9 MB, free: 11.67 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.004019/0.06143, allocations: 3.106 MB / 410 MB, free: 8.512 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.06147, allocations: 11.97 kB / 410 MB, free: 8.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002123/0.0636, allocations: 0.9823 MB / 411 MB, free: 7.516 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.06511, allocations: 1.138 MB / 412.1 MB, free: 6.344 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.038e-05/0.0652, allocations: 144 kB / 412.3 MB, free: 6.203 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002537/0.06545, allocations: 184.3 kB / 412.4 MB, free: 6.023 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004042/0.0695, allocations: 3.035 MB / 415.5 MB, free: 2.621 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.623e-05/0.06953, allocations: 15.88 kB / 415.5 MB, free: 2.605 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.06968, allocations: 87.91 kB / 415.6 MB, free: 2.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001074/0.07075, allocations: 1.196 MB / 416.8 MB, free: 1.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003021/0.07377, allocations: 1.452 MB / 418.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01828/0.09205, allocations: 20.41 MB / 438.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/0.09428, allocations: 0.8794 MB / 439.5 MB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.09458, allocations: 193.9 kB / 439.7 MB, free: 9.648 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00321/0.09779, allocations: 2.33 MB / 442 MB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.09782, allocations: 41.89 kB / 442.1 MB, free: 7.242 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.757e-06/0.09783, allocations: 0 / 442.1 MB, free: 7.242 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002944/0.1008, allocations: 1.221 MB / 443.3 MB, free: 6.012 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.1008, allocations: 59.84 kB / 443.4 MB, free: 5.941 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.1024, allocations: 1.794 MB / 445.2 MB, free: 4.125 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.1024, allocations: 37.69 kB / 445.2 MB, free: 4.082 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009901/0.1034, allocations: 2.027 MB / 447.2 MB, free: 2.031 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.1036, allocations: 341.5 kB / 447.5 MB, free: 1.695 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000584/0.1042, allocations: 0.6926 MB / 448.2 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1044, allocations: 0.5237 MB / 448.8 MB, free: 468 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.1047, allocations: 229.7 kB / 449 MB, free: 236 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/0.1067, allocations: 2.997 MB / 452 MB, free: 11.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002967/0.1096, allocations: 3.621 MB / 455.6 MB, free: 7.066 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.758e-05/0.1097, allocations: 20 kB / 455.6 MB, free: 7.047 MB / 378.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002757/0.1124, allocations: 2.336 MB / 458 MB, free: 4.707 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.419e-05/0.1125, allocations: 35.98 kB / 458 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.858e-05/0.1125, allocations: 68.91 kB / 458.1 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.276e-05/0.1126, allocations: 87.98 kB / 458.2 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.1137, allocations: 0.6434 MB / 458.8 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.899e-05/0.1138, allocations: 135.4 kB / 458.9 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.115, allocations: 404.9 kB / 459.3 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/0.1151, allocations: 168 kB / 459.5 MB, free: 3.18 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.0008072/0.1159, allocations: 397.6 kB / 459.9 MB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.1161, allocations: 178.9 kB / 460 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.1163, allocations: 160 kB / 460.2 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.1163, allocations: 8 kB / 460.2 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1163, allocations: 3.938 kB / 460.2 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1163, allocations: 0 / 460.2 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003244/0.1196, allocations: 2.138 MB / 462.4 MB, free: 152 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.1196, allocations: 4 kB / 462.4 MB, free: 148 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.1198, allocations: 91.88 kB / 462.4 MB, free: 56 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.1198, allocations: 8 kB / 462.5 MB, free: 48 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.1198, allocations: 23.98 kB / 462.5 MB, free: 24 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/0.1198, allocations: 11.94 kB / 462.5 MB, free: 12 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.1198, allocations: 8 kB / 462.5 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006397/0.1205, allocations: 0.8344 MB / 463.3 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.1207, allocations: 150.8 kB / 463.5 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.8e-05/0.1207, allocations: 23.98 kB / 463.5 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.121, allocations: 12 kB / 463.5 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.121, allocations: 55.8 kB / 463.6 MB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.1211, allocations: 24 kB / 463.6 MB, free: 14.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000569/0.1216, allocations: 0.7272 MB / 464.3 MB, free: 14.06 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1216, allocations: 0 / 464.3 MB, free: 14.06 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001883/0.1235, allocations: 0.7122 MB / 465 MB, free: 13.35 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.0002419/0.1238, allocations: 143 kB / 465.2 MB, free: 13.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.1252, allocations: 1.18 MB / 466.4 MB, free: 12.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.1252, allocations: 0 / 466.4 MB, free: 12.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.1254, allocations: 190.9 kB / 466.5 MB, free: 11.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006833/0.1261, allocations: 194.1 kB / 466.7 MB, free: 11.65 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005717/0.1318, allocations: 4.352 MB / 471.1 MB, free: 7.137 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006389/0.1325, allocations: 0.7619 MB / 471.8 MB, free: 6.348 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005836/0.1331, allocations: 238.6 kB / 472.1 MB, free: 6.109 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/0.1334, allocations: 298.1 kB / 472.4 MB, free: 5.816 MB / 394.7 MB Notification: Performance of SimCode: time 1.843e-06/0.1334, allocations: 0 / 472.4 MB, free: 5.816 MB / 394.7 MB Notification: Performance of Templates: time 0.02332/0.1567, allocations: 12.72 MB / 485.1 MB, free: 9.285 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.7546215592883527]