Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.001414/0.001414, allocations: 81.86 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.0009257/0.0009257, allocations: 164.9 kB / 24.84 MB, free: 9.301 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.9844/0.9844, allocations: 158.6 MB / 186.7 MB, free: 2.797 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.1524/0.1524, allocations: 32.37 MB / 271.5 MB, free: 14.54 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.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 348.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.538e-05, allocations: 4.281 kB / 348.9 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.009937/0.009962, allocations: 11.83 MB / 360.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007349/0.01731, allocations: 3.279 MB / 364 MB, free: 10 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002963/0.02027, allocations: 67.81 kB / 364.1 MB, free: 9.938 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003475/0.02375, allocations: 2.811 MB / 366.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003629/0.02738, allocations: 1.443 MB / 368.3 MB, free: 5.668 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009876/0.02837, allocations: 395 kB / 368.7 MB, free: 5.281 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00374/0.03211, allocations: 2.926 MB / 371.6 MB, free: 2.348 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002665/0.03477, allocations: 2.531 MB / 374.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002199/0.03697, allocations: 1.797 MB / 376 MB, free: 13.97 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/0.03893, allocations: 1.633 MB / 377.6 MB, free: 12.33 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006943/0.03963, allocations: 300 kB / 377.9 MB, free: 12.04 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.0407, allocations: 0.7411 MB / 378.6 MB, free: 11.3 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.04175, allocations: 1.667 MB / 380.3 MB, free: 9.625 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.04307, allocations: 1.036 MB / 381.3 MB, free: 8.586 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003598/0.04667, allocations: 3.693 MB / 385 MB, free: 4.879 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.04667, allocations: 4 kB / 385 MB, free: 4.875 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.04667, allocations: 4 kB / 385 MB, free: 4.871 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001428/0.04682, allocations: 0 / 385 MB, free: 4.871 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: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.005017/0.05183, allocations: 4.046 MB / 389.1 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.05187, allocations: 12.03 kB / 389.1 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002547/0.05441, allocations: 1.224 MB / 390.3 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/0.05616, allocations: 1.439 MB / 391.8 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.54e-05/0.05625, allocations: 205.5 kB / 392 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002653/0.05652, allocations: 260.2 kB / 392.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004837/0.06136, allocations: 3.946 MB / 396.2 MB, free: 9.195 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.211e-05/0.0614, allocations: 15.81 kB / 396.2 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002023/0.0616, allocations: 123.9 kB / 396.3 MB, free: 9.059 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001315/0.06292, allocations: 1.593 MB / 397.9 MB, free: 7.461 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003779/0.06669, allocations: 1.908 MB / 399.8 MB, free: 5.535 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02368/0.09038, allocations: 24.72 MB / 424.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/0.09268, allocations: 1.106 MB / 425.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/0.09303, allocations: 290.8 kB / 425.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003763/0.09679, allocations: 2.895 MB / 428.8 MB, free: 7.703 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.09683, allocations: 50.39 kB / 428.9 MB, free: 7.645 MB / 362.7 MB Notification: Performance of pre-optimization done (n=120): time 3.487e-06/0.09683, allocations: 0 / 428.9 MB, free: 7.645 MB / 362.7 MB Notification: Performance of matching and sorting (n=120): time 0.003645/0.1005, allocations: 1.627 MB / 430.5 MB, free: 6.012 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.1005, allocations: 64.41 kB / 430.5 MB, free: 5.938 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/0.1025, allocations: 2.014 MB / 432.6 MB, free: 3.914 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.58e-05/0.1025, allocations: 37.7 kB / 432.6 MB, free: 3.871 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.1038, allocations: 2.537 MB / 435.1 MB, free: 1.309 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003579/0.1041, allocations: 0.4885 MB / 435.6 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006722/0.1048, allocations: 0.8246 MB / 436.4 MB, free: 15.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.105, allocations: 0.5354 MB / 437 MB, free: 15.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005075/0.1055, allocations: 299 kB / 437.3 MB, free: 15.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/0.1075, allocations: 3.507 MB / 440.8 MB, free: 10.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004673/0.1121, allocations: 4.253 MB / 445 MB, free: 4.457 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001344/0.1123, allocations: 20 kB / 445.1 MB, free: 4.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.006448/0.1187, allocations: 2.825 MB / 447.9 MB, free: 1.605 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.35e-05/0.1188, allocations: 36 kB / 447.9 MB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-05/0.1188, allocations: 76 kB / 448 MB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.635e-05/0.1189, allocations: 100.8 kB / 448.1 MB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.1204, allocations: 0.8032 MB / 448.9 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-05/0.1205, allocations: 155.4 kB / 449 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1457/0.2663, allocations: 478.8 kB / 449.5 MB, free: 95.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006993/0.267, allocations: 195.9 kB / 449.7 MB, free: 95.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],cutForceAndTorque.forceColor[1],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[3],cutForceAndTorque.torqueColor[1],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[3],fixedRotation.color[1],fixedRotation.color[2],fixedRotation.color[3],frame_b.color_x[1],frame_b.color_x[2],frame_b.color_x[3],forceAndTorque.forceColor[1],forceAndTorque.forceColor[2],forceAndTorque.forceColor[3],forceAndTorque.torqueColor[1],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 445 * 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.001467/0.2684, allocations: 462.6 kB / 450.2 MB, free: 95.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/0.2687, allocations: 220.4 kB / 450.4 MB, free: 95.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009369/0.2696, allocations: 0.7025 MB / 451.1 MB, free: 95.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/0.2697, allocations: 12.61 kB / 451.1 MB, free: 95.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2697, allocations: 2.031 kB / 451.1 MB, free: 95.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.2697, allocations: 6.422 kB / 451.1 MB, free: 95.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005385/0.2751, allocations: 3.393 MB / 454.5 MB, free: 94.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/0.2751, allocations: 14.5 kB / 454.5 MB, free: 94.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004357/0.2755, allocations: 176.6 kB / 454.7 MB, free: 94.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.748e-05/0.2755, allocations: 23.81 kB / 454.7 MB, free: 94.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.333e-05/0.2756, allocations: 37.59 kB / 454.7 MB, free: 94.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-05/0.2756, allocations: 31.14 kB / 454.8 MB, free: 94.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.475e-05/0.2756, allocations: 24.34 kB / 454.8 MB, free: 94.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.2768, allocations: 1.432 MB / 456.2 MB, free: 93.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003599/0.2772, allocations: 205.4 kB / 456.4 MB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/0.2774, allocations: 40.31 kB / 456.5 MB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.2778, allocations: 37.27 kB / 456.5 MB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.278, allocations: 120.7 kB / 456.6 MB, free: 93.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-05/0.278, allocations: 46.94 kB / 456.7 MB, free: 93.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001143/0.2792, allocations: 0.8118 MB / 457.5 MB, free: 93.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2792, allocations: 0 / 457.5 MB, free: 93.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003695/0.2829, allocations: 0.9695 MB / 458.4 MB, free: 93.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.0003231/0.2832, allocations: 171.9 kB / 458.6 MB, free: 92.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002378/0.2856, allocations: 1.506 MB / 460.1 MB, free: 92.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/0.2856, allocations: 3.156 kB / 460.1 MB, free: 92.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003474/0.2859, allocations: 323 kB / 460.4 MB, free: 92.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.287, allocations: 250.4 kB / 460.7 MB, free: 92.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008921/0.2959, allocations: 6.147 MB / 466.8 MB, free: 89.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009232/0.2968, allocations: 1.027 MB / 467.8 MB, free: 89.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008118/0.2976, allocations: 303 kB / 468.1 MB, free: 89.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/0.298, allocations: 359.2 kB / 468.5 MB, free: 88.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.314e-06/0.298, allocations: 0 / 468.5 MB, free: 88.77 MB / 378.7 MB Notification: Performance of Templates: time 0.02608/0.3241, allocations: 16.33 MB / 484.8 MB, free: 74.23 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.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.7930582598783076]