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.001059/0.001059, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001596/0.001596, allocations: 169 kB / 24.25 MB, free: 312 kB / 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.9439/0.9439, allocations: 158.6 MB / 186 MB, free: 2.934 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.1342/0.1342, allocations: 32.37 MB / 270.7 MB, free: 14.77 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 2.444e-06/2.444e-06, allocations: 0 / 347.7 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.2e-05/3.444e-05, allocations: 2.312 kB / 347.7 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.007859/0.007893, allocations: 10.16 MB / 357.8 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005477/0.01337, allocations: 2.943 MB / 360.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001599/0.01497, allocations: 59.81 kB / 360.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00263/0.0176, allocations: 2.146 MB / 363 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002187/0.01979, allocations: 1.268 MB / 364.2 MB, free: 9.148 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005344/0.02032, allocations: 311.2 kB / 364.5 MB, free: 8.844 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002522/0.02284, allocations: 2.492 MB / 367 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002131/0.02497, allocations: 1.887 MB / 368.9 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00187/0.02684, allocations: 1.407 MB / 370.3 MB, free: 3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001785/0.02863, allocations: 1.282 MB / 371.6 MB, free: 1.715 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005282/0.02916, allocations: 212 kB / 371.8 MB, free: 1.508 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.03022, allocations: 0.663 MB / 372.5 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001212/0.03143, allocations: 1.301 MB / 373.8 MB, free: 15.54 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001424/0.03286, allocations: 0.7904 MB / 374.6 MB, free: 14.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004719/0.03758, allocations: 2.961 MB / 377.5 MB, free: 11.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.03758, allocations: 0 / 377.5 MB, free: 11.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.03759, allocations: 0 / 377.5 MB, free: 11.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001619/0.03775, allocations: 4 kB / 377.5 MB, free: 11.77 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.005102/0.04285, allocations: 3.362 MB / 380.9 MB, free: 8.352 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.04291, allocations: 8.031 kB / 380.9 MB, free: 8.344 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005111/0.04802, allocations: 1.949 MB / 382.9 MB, free: 6.391 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002345/0.05036, allocations: 1.297 MB / 384.1 MB, free: 5.055 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.05048, allocations: 148.3 kB / 384.3 MB, free: 4.906 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003531/0.05083, allocations: 208.2 kB / 384.5 MB, free: 4.703 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006635/0.05746, allocations: 3.566 MB / 388.1 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.777e-05/0.05751, allocations: 15.88 kB / 388.1 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002544/0.05777, allocations: 87.91 kB / 388.2 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001856/0.05962, allocations: 1.481 MB / 389.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006107/0.06573, allocations: 1.959 MB / 391.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02358/0.08931, allocations: 21.9 MB / 413.5 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003249/0.09256, allocations: 1.028 MB / 414.5 MB, free: 5.484 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00068/0.09324, allocations: 270.2 kB / 414.8 MB, free: 5.215 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004537/0.09778, allocations: 2.589 MB / 417.4 MB, free: 2.598 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.09781, allocations: 42.05 kB / 417.4 MB, free: 2.547 MB / 346.7 MB Notification: Performance of pre-optimization done (n=93): time 3.967e-06/0.09782, allocations: 0 / 417.4 MB, free: 2.547 MB / 346.7 MB Notification: Performance of matching and sorting (n=93): time 0.004243/0.1021, allocations: 1.402 MB / 418.8 MB, free: 1.141 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.1021, allocations: 60.06 kB / 418.9 MB, free: 1.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/0.1045, allocations: 1.854 MB / 420.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.389e-05/0.1046, allocations: 41.69 kB / 420.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001203/0.1058, allocations: 2.14 MB / 422.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.106, allocations: 389.1 kB / 423.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000566/0.1066, allocations: 0.7212 MB / 424 MB, free: 11.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1067, allocations: 0.5238 MB / 424.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004836/0.1072, allocations: 326.2 kB / 424.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002037/0.1093, allocations: 3.214 MB / 428.1 MB, free: 6.473 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003154/0.1124, allocations: 3.897 MB / 432 MB, free: 1.246 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-05/0.1125, allocations: 23.94 kB / 432 MB, free: 1.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.003568/0.116, allocations: 2.669 MB / 434.7 MB, free: 14.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/0.1161, allocations: 36 kB / 434.7 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-05/0.1161, allocations: 68 kB / 434.8 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.798e-05/0.1162, allocations: 92 kB / 434.9 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.1176, allocations: 0.7096 MB / 435.6 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001246/0.1177, allocations: 139.4 kB / 435.7 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.1191, allocations: 448.7 kB / 436.1 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/0.1193, allocations: 204 kB / 436.3 MB, free: 12.87 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.0008439/0.1201, allocations: 425.4 kB / 436.8 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.1203, allocations: 186.9 kB / 436.9 MB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.1215, allocations: 0.5793 MB / 437.5 MB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.1215, allocations: 11.98 kB / 437.5 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1215, allocations: 4 kB / 437.5 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.1215, allocations: 3.984 kB / 437.5 MB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004414/0.1259, allocations: 3.302 MB / 440.8 MB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.1259, allocations: 12 kB / 440.9 MB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/0.1262, allocations: 127.8 kB / 441 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/0.1262, allocations: 16 kB / 441 MB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/0.1263, allocations: 31.88 kB / 441 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/0.1263, allocations: 15.98 kB / 441 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-06/0.1263, allocations: 15.94 kB / 441.1 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009214/0.1272, allocations: 1.104 MB / 442.2 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/0.1274, allocations: 166.7 kB / 442.3 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.1275, allocations: 23.98 kB / 442.4 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.1278, allocations: 35.97 kB / 442.4 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.066e-05/0.1279, allocations: 75.67 kB / 442.5 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.787e-05/0.128, allocations: 39.98 kB / 442.5 MB, free: 6.297 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008979/0.1289, allocations: 0.8072 MB / 443.3 MB, free: 5.496 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1289, allocations: 0 / 443.3 MB, free: 5.496 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002335/0.1312, allocations: 0.7746 MB / 444.1 MB, free: 4.719 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.0002779/0.1315, allocations: 154.8 kB / 444.2 MB, free: 4.559 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001814/0.1333, allocations: 1.375 MB / 445.6 MB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1333, allocations: 0 / 445.6 MB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002817/0.1336, allocations: 248.7 kB / 445.9 MB, free: 2.941 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007141/0.1343, allocations: 196.4 kB / 446 MB, free: 2.754 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1353/0.2696, allocations: 4.865 MB / 450.9 MB, free: 105.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008521/0.2705, allocations: 0.8248 MB / 451.7 MB, free: 105 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001411/0.2719, allocations: 0.8609 MB / 452.6 MB, free: 105 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.2721, allocations: 125.9 kB / 452.7 MB, free: 105 MB / 378.7 MB Notification: Performance of SimCode: time 2.425e-06/0.2721, allocations: 0 / 452.7 MB, free: 105 MB / 378.7 MB Notification: Performance of Templates: time 0.02084/0.2929, allocations: 12.51 MB / 465.2 MB, free: 97.11 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.639685956062749]