Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001374/0.001374, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001519/0.001519, allocations: 174.3 kB / 24.91 MB, free: 8.73 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 1.049/1.049, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2572/0.2572, allocations: 34.26 MB / 296.1 MB, free: 0.6953 MB / 266.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.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 325.2 MB, free: 7.754 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.745e-05, allocations: 5.781 kB / 325.2 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01133/0.01135, allocations: 9.554 MB / 334.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008201/0.01956, allocations: 3.127 MB / 337.9 MB, free: 11 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002115/0.02167, allocations: 59.81 kB / 338 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004706/0.02638, allocations: 2.792 MB / 340.8 MB, free: 8.145 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003719/0.0301, allocations: 1.26 MB / 342 MB, free: 6.879 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.03115, allocations: 383.1 kB / 342.4 MB, free: 6.504 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003747/0.03489, allocations: 2.433 MB / 344.8 MB, free: 4.066 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002411/0.03731, allocations: 2.371 MB / 347.2 MB, free: 1.641 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002073/0.03938, allocations: 1.555 MB / 348.8 MB, free: 84 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/0.04118, allocations: 1.321 MB / 350.1 MB, free: 14.76 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005879/0.04177, allocations: 252 kB / 350.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.04284, allocations: 0.6942 MB / 351 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.04393, allocations: 1.418 MB / 352.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00141/0.04534, allocations: 0.8801 MB / 353.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003939/0.04928, allocations: 3.164 MB / 356.5 MB, free: 8.336 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.04928, allocations: 4 kB / 356.5 MB, free: 8.332 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.04928, allocations: 0 / 356.5 MB, free: 8.332 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001497/0.04943, allocations: 0 / 356.5 MB, free: 8.332 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.004253/0.05369, allocations: 3.074 MB / 359.6 MB, free: 5.211 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.05374, allocations: 12.03 kB / 359.6 MB, free: 5.199 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/0.05569, allocations: 0.8163 MB / 360.4 MB, free: 4.383 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.0572, allocations: 1.186 MB / 361.6 MB, free: 3.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.299e-05/0.0573, allocations: 177 kB / 361.7 MB, free: 2.984 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002657/0.05756, allocations: 236.3 kB / 362 MB, free: 2.754 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004368/0.06193, allocations: 3.236 MB / 365.2 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.336e-05/0.06197, allocations: 11.88 kB / 365.2 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001947/0.06217, allocations: 111.9 kB / 365.3 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001171/0.06334, allocations: 1.299 MB / 366.6 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003574/0.06691, allocations: 1.691 MB / 368.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01723/0.08414, allocations: 16.36 MB / 384.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.08623, allocations: 0.9858 MB / 385.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.08651, allocations: 168.6 kB / 385.8 MB, free: 9.957 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003625/0.09013, allocations: 2.237 MB / 388.1 MB, free: 7.703 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.09016, allocations: 47.22 kB / 388.1 MB, free: 7.648 MB / 362.7 MB Notification: Performance of pre-optimization done (n=87): time 3.587e-06/0.09017, allocations: 0 / 388.1 MB, free: 7.648 MB / 362.7 MB Notification: Performance of matching and sorting (n=87): time 0.002888/0.09306, allocations: 1.269 MB / 389.4 MB, free: 6.375 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.0931, allocations: 60.06 kB / 389.4 MB, free: 6.305 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.09455, allocations: 1.486 MB / 390.9 MB, free: 4.812 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/0.0946, allocations: 41.64 kB / 391 MB, free: 4.766 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009435/0.09554, allocations: 2.029 MB / 393 MB, free: 2.715 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.09576, allocations: 353.2 kB / 393.3 MB, free: 2.367 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004849/0.09625, allocations: 0.608 MB / 393.9 MB, free: 1.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.09636, allocations: 353.8 kB / 394.3 MB, free: 1.398 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.09672, allocations: 326.7 kB / 394.6 MB, free: 1.074 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.09786, allocations: 2.169 MB / 396.8 MB, free: 13.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002064/0.09993, allocations: 2.865 MB / 399.6 MB, free: 10.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.438e-05/0.09996, allocations: 16 kB / 399.7 MB, free: 10.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.002384/0.1023, allocations: 2.051 MB / 401.7 MB, free: 8.043 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.1024, allocations: 39.94 kB / 401.8 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.336e-05/0.1024, allocations: 75.94 kB / 401.8 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.307e-05/0.1025, allocations: 92 kB / 401.9 MB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.1037, allocations: 0.6706 MB / 402.6 MB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.472e-05/0.1037, allocations: 135.5 kB / 402.7 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.105, allocations: 416.8 kB / 403.1 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.1051, allocations: 172 kB / 403.3 MB, free: 6.457 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (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],cutForceAndTorque.forceArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.torqueArrow.twoHeadedArrow) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (382): * Single equations (assignments): 377 * 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.001008/0.1062, allocations: 383 kB / 403.7 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.1063, allocations: 107.8 kB / 403.8 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.1065, allocations: 172.9 kB / 403.9 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.1065, allocations: 12 kB / 404 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.1065, allocations: 0 / 404 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1065, allocations: 7.922 kB / 404 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003311/0.1098, allocations: 2.215 MB / 406.2 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.1098, allocations: 11.94 kB / 406.2 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.1101, allocations: 103.8 kB / 406.3 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/0.1101, allocations: 12 kB / 406.3 MB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.1101, allocations: 24.7 kB / 406.3 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.859e-06/0.1101, allocations: 15.92 kB / 406.3 MB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.1101, allocations: 16 kB / 406.4 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005996/0.1107, allocations: 0.7132 MB / 407.1 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.1109, allocations: 162.7 kB / 407.2 MB, free: 2.258 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.723e-05/0.111, allocations: 20 kB / 407.2 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.1113, allocations: 20 kB / 407.3 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.316e-05/0.1114, allocations: 71.72 kB / 407.3 MB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.1114, allocations: 24 kB / 407.4 MB, free: 2.125 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005278/0.1119, allocations: 0.5704 MB / 407.9 MB, free: 1.559 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1119, allocations: 0 / 407.9 MB, free: 1.559 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002336/0.1143, allocations: 0.8133 MB / 408.7 MB, free: 0.7422 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.0002883/0.1145, allocations: 136 kB / 408.9 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.1159, allocations: 1.162 MB / 410 MB, free: 15.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.275e-05/0.116, allocations: 47.94 kB / 410.1 MB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.1162, allocations: 186 kB / 410.3 MB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006757/0.1169, allocations: 225.6 kB / 410.5 MB, free: 14.99 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006341/0.1232, allocations: 5.144 MB / 415.6 MB, free: 9.688 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008055/0.124, allocations: 0.8642 MB / 416.5 MB, free: 8.801 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000668/0.1247, allocations: 251.5 kB / 416.7 MB, free: 8.551 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000356/0.125, allocations: 291.3 kB / 417 MB, free: 8.266 MB / 394.7 MB Notification: Performance of SimCode: time 1.863e-06/0.125, allocations: 0 / 417 MB, free: 8.266 MB / 394.7 MB Notification: Performance of Templates: time 0.02614/0.1512, allocations: 13.62 MB / 430.6 MB, free: 10.82 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.382085637189448]