Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.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.0009606/0.0009606, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001019/0.001019, allocations: 167.6 kB / 24.84 MB, free: 9.297 MB / 18.57 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.8952/0.8952, allocations: 158.6 MB / 186.7 MB, free: 2.766 MB / 170.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.1306/0.1306, allocations: 32.37 MB / 271.5 MB, free: 14.53 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 348.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.431e-05, allocations: 8.219 kB / 348.9 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.008018/0.008043, allocations: 9.942 MB / 358.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005068/0.01311, allocations: 2.917 MB / 361.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006532/0.01376, allocations: 59.81 kB / 361.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002778/0.01654, allocations: 2.126 MB / 363.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001854/0.0184, allocations: 1.26 MB / 365.2 MB, free: 8.809 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005145/0.01891, allocations: 323.2 kB / 365.5 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002435/0.02135, allocations: 2.491 MB / 368 MB, free: 5.996 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001591/0.02294, allocations: 1.887 MB / 369.9 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.02414, allocations: 1.403 MB / 371.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/0.02543, allocations: 1.294 MB / 372.6 MB, free: 1.359 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002409/0.02567, allocations: 216 kB / 372.8 MB, free: 1.148 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008081/0.02647, allocations: 0.659 MB / 373.5 MB, free: 500 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001124/0.0276, allocations: 1.301 MB / 374.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006987/0.0283, allocations: 0.7942 MB / 375.6 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002676/0.03097, allocations: 2.962 MB / 378.5 MB, free: 11.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.03098, allocations: 0 / 378.5 MB, free: 11.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.03098, allocations: 3.938 kB / 378.5 MB, free: 11.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.36e-05/0.031, allocations: 4 kB / 378.5 MB, free: 11.41 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.004166/0.03517, allocations: 3.338 MB / 381.9 MB, free: 8.012 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.0352, allocations: 8.031 kB / 381.9 MB, free: 8.004 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004759/0.03996, allocations: 1.052 MB / 382.9 MB, free: 6.949 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.04151, allocations: 1.208 MB / 384.1 MB, free: 5.699 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.04163, allocations: 156.3 kB / 384.3 MB, free: 5.543 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002926/0.04192, allocations: 200.2 kB / 384.5 MB, free: 5.348 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00427/0.04619, allocations: 3.261 MB / 387.7 MB, free: 1.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.686e-05/0.04623, allocations: 11.88 kB / 387.8 MB, free: 1.648 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002179/0.04645, allocations: 91.91 kB / 387.8 MB, free: 1.559 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001538/0.04799, allocations: 1.325 MB / 389.2 MB, free: 236 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003362/0.05135, allocations: 1.577 MB / 390.7 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01708/0.06843, allocations: 21.72 MB / 412.5 MB, free: 8.199 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/0.07083, allocations: 0.9581 MB / 413.4 MB, free: 7.215 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003282/0.07116, allocations: 238.2 kB / 413.7 MB, free: 6.977 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004/0.07516, allocations: 2.472 MB / 416.1 MB, free: 4.477 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.0752, allocations: 46.05 kB / 416.2 MB, free: 4.422 MB / 346.7 MB Notification: Performance of pre-optimization done (n=93): time 4.408e-06/0.0752, allocations: 4 kB / 416.2 MB, free: 4.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=93): time 0.00365/0.07885, allocations: 1.328 MB / 417.5 MB, free: 3.086 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.07889, allocations: 60.06 kB / 417.6 MB, free: 3.016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002052/0.08094, allocations: 1.853 MB / 419.4 MB, free: 1.145 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/0.08099, allocations: 37.7 kB / 419.5 MB, free: 1.102 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001298/0.08229, allocations: 2.148 MB / 421.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003092/0.0826, allocations: 397.1 kB / 422 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007982/0.0834, allocations: 0.7327 MB / 422.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.08358, allocations: 0.5313 MB / 423.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004464/0.08402, allocations: 250.2 kB / 423.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/0.08601, allocations: 3.167 MB / 426.7 MB, free: 8.508 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003098/0.08911, allocations: 3.814 MB / 430.5 MB, free: 3.363 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-05/0.08914, allocations: 23.94 kB / 430.5 MB, free: 3.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.003396/0.09254, allocations: 2.489 MB / 433 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/0.09258, allocations: 32 kB / 433 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-05/0.09265, allocations: 72 kB / 433.1 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.883e-05/0.09273, allocations: 92 kB / 433.2 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.0943, allocations: 0.6979 MB / 433.9 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.464e-05/0.09439, allocations: 131.4 kB / 434 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.09601, allocations: 441.1 kB / 434.4 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/0.09621, allocations: 172 kB / 434.6 MB, free: 15.22 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (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 (391): * Single equations (assignments): 386 * 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.0008376/0.09705, allocations: 425.4 kB / 435 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002084/0.09726, allocations: 186.9 kB / 435.2 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008198/0.09808, allocations: 0.5402 MB / 435.8 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.906e-05/0.09809, allocations: 12 kB / 435.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.0981, allocations: 0 / 435.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.09811, allocations: 7.922 kB / 435.8 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003892/0.102, allocations: 2.534 MB / 438.3 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.102, allocations: 8 kB / 438.3 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/0.1024, allocations: 119.8 kB / 438.4 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/0.1024, allocations: 12 kB / 438.4 MB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.126e-05/0.1024, allocations: 27.94 kB / 438.5 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-05/0.1024, allocations: 16.61 kB / 438.5 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/0.1024, allocations: 19.94 kB / 438.5 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.1035, allocations: 1.065 MB / 439.6 MB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.1037, allocations: 170.7 kB / 439.7 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.1038, allocations: 23.98 kB / 439.8 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.1042, allocations: 24 kB / 439.8 MB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.1043, allocations: 83.66 kB / 439.9 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-05/0.1043, allocations: 35.98 kB / 439.9 MB, free: 9.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007301/0.1051, allocations: 0.7522 MB / 440.7 MB, free: 8.773 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1051, allocations: 0 / 440.7 MB, free: 8.773 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002245/0.1073, allocations: 0.7824 MB / 441.4 MB, free: 7.988 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.0002683/0.1076, allocations: 150.9 kB / 441.6 MB, free: 7.828 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001757/0.1093, allocations: 1.292 MB / 442.9 MB, free: 6.543 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1093, allocations: 0 / 442.9 MB, free: 6.543 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003001/0.1096, allocations: 233 kB / 443.1 MB, free: 6.316 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008917/0.1105, allocations: 199.3 kB / 443.3 MB, free: 6.125 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006589/0.1171, allocations: 4.872 MB / 448.2 MB, free: 1.035 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008384/0.118, allocations: 0.8181 MB / 449 MB, free: 204 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.1307/0.2487, allocations: 266.8 kB / 449.2 MB, free: 100.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004754/0.2492, allocations: 318.1 kB / 449.6 MB, free: 100.3 MB / 378.7 MB Notification: Performance of SimCode: time 2.494e-06/0.2492, allocations: 0 / 449.6 MB, free: 100.3 MB / 378.7 MB Notification: Performance of Templates: time 0.0266/0.2758, allocations: 13.75 MB / 463.3 MB, free: 95.31 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.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.596483115106821]