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.001448/0.001448, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001671/0.001671, allocations: 165 kB / 23.79 MB, free: 0.7773 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.9322/0.9322, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1582/0.1582, allocations: 32.38 MB / 270.4 MB, free: 14.71 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.443e-06/1.443e-06, allocations: 0 / 347.7 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.568e-05/1.712e-05, allocations: 2.312 kB / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.007036/0.007053, allocations: 10.21 MB / 357.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007049/0.0141, allocations: 2.956 MB / 360.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.01516, allocations: 59.81 kB / 360.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00263/0.01779, allocations: 2.149 MB / 363 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002091/0.01988, allocations: 1.26 MB / 364.3 MB, free: 8.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006163/0.0205, allocations: 323.2 kB / 364.6 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002737/0.02323, allocations: 2.488 MB / 367.1 MB, free: 5.957 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001661/0.0249, allocations: 1.887 MB / 369 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001245/0.02614, allocations: 1.403 MB / 370.4 MB, free: 2.617 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001321/0.02746, allocations: 1.29 MB / 371.7 MB, free: 1.324 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002641/0.02773, allocations: 212 kB / 371.9 MB, free: 1.117 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000938/0.02866, allocations: 0.6591 MB / 372.5 MB, free: 468 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001186/0.02985, allocations: 1.301 MB / 373.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007012/0.03055, allocations: 0.7865 MB / 374.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002814/0.03336, allocations: 2.969 MB / 377.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.03337, allocations: 0 / 377.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.03337, allocations: 0 / 377.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.497e-05/0.03341, allocations: 4 kB / 377.6 MB, free: 11.38 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.004181/0.03759, allocations: 3.354 MB / 380.9 MB, free: 7.969 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.03764, allocations: 15.97 kB / 381 MB, free: 7.953 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003359/0.041, allocations: 1.949 MB / 382.9 MB, free: 6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.04273, allocations: 1.289 MB / 384.2 MB, free: 4.672 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.04284, allocations: 160.2 kB / 384.4 MB, free: 4.512 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/0.04308, allocations: 196.3 kB / 384.6 MB, free: 4.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004794/0.04787, allocations: 3.562 MB / 388.1 MB, free: 340 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.973e-05/0.04791, allocations: 11.88 kB / 388.1 MB, free: 328 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.04808, allocations: 95.89 kB / 388.2 MB, free: 232 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00152/0.0496, allocations: 1.477 MB / 389.7 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003644/0.05324, allocations: 1.967 MB / 391.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01912/0.07236, allocations: 21.91 MB / 413.6 MB, free: 6.152 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00275/0.07511, allocations: 1.017 MB / 414.6 MB, free: 5.109 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004819/0.07559, allocations: 266.2 kB / 414.8 MB, free: 4.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004338/0.07993, allocations: 2.593 MB / 417.4 MB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.07996, allocations: 42.05 kB / 417.5 MB, free: 2.168 MB / 346.7 MB Notification: Performance of pre-optimization done (n=93): time 3.076e-06/0.07996, allocations: 0 / 417.5 MB, free: 2.168 MB / 346.7 MB Notification: Performance of matching and sorting (n=93): time 0.003737/0.0837, allocations: 1.402 MB / 418.9 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.08374, allocations: 64.05 kB / 418.9 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/0.08576, allocations: 1.854 MB / 420.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.08581, allocations: 33.7 kB / 420.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00143/0.08724, allocations: 2.144 MB / 423 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.0875, allocations: 389.1 kB / 423.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007454/0.08825, allocations: 0.7135 MB / 424.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.08841, allocations: 0.5277 MB / 424.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006232/0.08903, allocations: 330.1 kB / 424.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002129/0.09116, allocations: 3.218 MB / 428.1 MB, free: 6.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003334/0.0945, allocations: 3.893 MB / 432 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.043e-05/0.09453, allocations: 20 kB / 432.1 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.003681/0.09821, allocations: 2.673 MB / 434.7 MB, free: 14.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.09837, allocations: 40.03 kB / 434.8 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.575e-05/0.09843, allocations: 68 kB / 434.8 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.132e-05/0.09851, allocations: 92 kB / 434.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.1001, allocations: 0.7096 MB / 435.6 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-05/0.1002, allocations: 139.4 kB / 435.8 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.1017, allocations: 448.6 kB / 436.2 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002268/0.1019, allocations: 204 kB / 436.4 MB, free: 12.49 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.0007792/0.1027, allocations: 421.4 kB / 436.8 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.1029, allocations: 182.9 kB / 437 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008918/0.1038, allocations: 0.5793 MB / 437.6 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.1038, allocations: 12 kB / 437.6 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1038, allocations: 4 kB / 437.6 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.1038, allocations: 7.969 kB / 437.6 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004743/0.1085, allocations: 3.306 MB / 440.9 MB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.1085, allocations: 12 kB / 440.9 MB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003786/0.1089, allocations: 131.7 kB / 441 MB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.376e-05/0.1089, allocations: 12 kB / 441.1 MB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.552e-05/0.109, allocations: 28 kB / 441.1 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.5e-05/0.109, allocations: 23.86 kB / 441.1 MB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/0.109, allocations: 15.94 kB / 441.1 MB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.1103, allocations: 1.1 MB / 442.2 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.1105, allocations: 170.7 kB / 442.4 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.1106, allocations: 23.98 kB / 442.4 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.111, allocations: 39.95 kB / 442.4 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.1111, allocations: 71.67 kB / 442.5 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/0.1112, allocations: 39.98 kB / 442.6 MB, free: 5.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009272/0.1121, allocations: 0.8072 MB / 443.4 MB, free: 5.109 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1121, allocations: 0 / 443.4 MB, free: 5.109 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002144/0.1142, allocations: 0.7746 MB / 444.1 MB, free: 4.332 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.0002602/0.1145, allocations: 154.8 kB / 444.3 MB, free: 4.172 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001913/0.1164, allocations: 1.375 MB / 445.7 MB, free: 2.797 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.1164, allocations: 4 kB / 445.7 MB, free: 2.793 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003457/0.1168, allocations: 244.3 kB / 445.9 MB, free: 2.555 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009028/0.1177, allocations: 199.4 kB / 446.1 MB, free: 2.363 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1265/0.2441, allocations: 4.856 MB / 451 MB, free: 99.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000685/0.2448, allocations: 0.8218 MB / 451.8 MB, free: 99.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00141/0.2462, allocations: 0.8556 MB / 452.6 MB, free: 99.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.2464, allocations: 122.4 kB / 452.8 MB, free: 99.86 MB / 378.7 MB Notification: Performance of SimCode: time 1.353e-06/0.2464, allocations: 3.625 kB / 452.8 MB, free: 99.86 MB / 378.7 MB Notification: Performance of Templates: time 0.0168/0.2632, allocations: 12.52 MB / 465.3 MB, free: 93.16 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.5772660551592708]