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.0009035/0.0009035, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001332/0.002235, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.000729/0.000729, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001146/0.001875, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9684/0.9684, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1045/1.073, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.2747/0.2747, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02763/0.3024, allocations: 13.1 MB / 291.5 MB, free: 7.328 MB / 282.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 2.044e-06/2.044e-06, allocations: 0 / 292.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.51e-05/1.714e-05, allocations: 10.14 kB / 292.8 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.008006/0.008024, allocations: 9.672 MB / 302.5 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005852/0.01388, allocations: 3.146 MB / 305.7 MB, free: 9.316 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006567/0.01453, allocations: 63.75 kB / 305.7 MB, free: 9.254 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002476/0.01701, allocations: 2.644 MB / 308.4 MB, free: 6.602 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001728/0.01874, allocations: 1.237 MB / 309.6 MB, free: 5.359 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005656/0.0193, allocations: 363.2 kB / 310 MB, free: 5.004 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00184/0.02114, allocations: 2.438 MB / 312.4 MB, free: 2.562 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/0.02275, allocations: 2.286 MB / 314.7 MB, free: 228 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.02413, allocations: 1.621 MB / 316.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.02553, allocations: 1.298 MB / 317.6 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002963/0.02583, allocations: 252 kB / 317.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.02689, allocations: 0.7099 MB / 318.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009394/0.02783, allocations: 1.274 MB / 319.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007248/0.02856, allocations: 0.7244 MB / 320.6 MB, free: 10.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.0312, allocations: 2.962 MB / 323.5 MB, free: 7.363 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.03121, allocations: 0 / 323.5 MB, free: 7.363 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.03121, allocations: 0 / 323.5 MB, free: 7.363 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.9e-05/0.03124, allocations: 0 / 323.5 MB, free: 7.363 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.003968/0.03521, allocations: 3.735 MB / 327.3 MB, free: 3.562 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.03526, allocations: 8.625 kB / 327.3 MB, free: 3.555 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002487/0.03774, allocations: 0.8124 MB / 328.1 MB, free: 2.742 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.03932, allocations: 1.194 MB / 329.3 MB, free: 1.508 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.03944, allocations: 180.9 kB / 329.4 MB, free: 1.328 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003169/0.03976, allocations: 228.3 kB / 329.7 MB, free: 1.105 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004469/0.04423, allocations: 3.236 MB / 332.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.904e-05/0.04428, allocations: 15.88 kB / 332.9 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000237/0.04452, allocations: 107.9 kB / 333 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001459/0.04597, allocations: 1.24 MB / 334.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003392/0.04937, allocations: 1.679 MB / 335.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03576/0.08513, allocations: 16.39 MB / 352.3 MB, free: 9.523 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002582/0.08771, allocations: 0.9551 MB / 353.3 MB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.08799, allocations: 170.7 kB / 353.5 MB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02175/0.1097, allocations: 2.198 MB / 355.7 MB, free: 6.164 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.1098, allocations: 39.22 kB / 355.7 MB, free: 6.113 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 3.496e-06/0.1098, allocations: 0 / 355.7 MB, free: 6.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=87): time 0.009768/0.1196, allocations: 1.241 MB / 356.9 MB, free: 4.867 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.1196, allocations: 56.06 kB / 357 MB, free: 4.801 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005961/0.1256, allocations: 1.489 MB / 358.5 MB, free: 3.305 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.582e-05/0.1256, allocations: 37.7 kB / 358.5 MB, free: 3.262 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001519/0.1271, allocations: 2.037 MB / 360.6 MB, free: 1.203 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.1273, allocations: 349.3 kB / 360.9 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006103/0.128, allocations: 0.6158 MB / 361.5 MB, free: 240 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1281, allocations: 345.9 kB / 361.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/0.1284, allocations: 230.2 kB / 362.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001836/0.1303, allocations: 2.24 MB / 364.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002091/0.1324, allocations: 3.146 MB / 367.5 MB, free: 8.293 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-05/0.1324, allocations: 20 kB / 367.5 MB, free: 8.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.002011/0.1344, allocations: 2.076 MB / 369.6 MB, free: 6.191 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.225e-05/0.1344, allocations: 39.94 kB / 369.6 MB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-05/0.1345, allocations: 76 kB / 369.7 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.132e-05/0.1346, allocations: 96.72 kB / 369.8 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.1358, allocations: 0.776 MB / 370.5 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.156e-05/0.1359, allocations: 139.5 kB / 370.7 MB, free: 5.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.1369, allocations: 424.8 kB / 371.1 MB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/0.1371, allocations: 176 kB / 371.3 MB, free: 4.48 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * 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 (392): * Single equations (assignments): 389 * 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 prepare postOptimizeDAE: time 0.0007427/0.1378, allocations: 390.9 kB / 371.6 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.1379, allocations: 103.8 kB / 371.7 MB, free: 3.984 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.1381, allocations: 169 kB / 371.9 MB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.1381, allocations: 11.98 kB / 371.9 MB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.1381, allocations: 4 kB / 371.9 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1381, allocations: 0 / 371.9 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002715/0.1408, allocations: 2.216 MB / 374.1 MB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.702e-05/0.1409, allocations: 23.91 kB / 374.2 MB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.1411, allocations: 115.8 kB / 374.3 MB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.1412, allocations: 158.7 kB / 374.4 MB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.1412, allocations: 16 kB / 374.4 MB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/0.1413, allocations: 20 kB / 374.5 MB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-05/0.1413, allocations: 23.86 kB / 374.5 MB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.1413, allocations: 15.88 kB / 374.5 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005437/0.1418, allocations: 0.7133 MB / 375.2 MB, free: 260 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-05/0.1419, allocations: 23.98 kB / 375.2 MB, free: 236 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.1421, allocations: 16 kB / 375.3 MB, free: 220 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/0.1422, allocations: 63.73 kB / 375.3 MB, free: 156 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.1422, allocations: 31.98 kB / 375.3 MB, free: 124 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000448/0.1427, allocations: 0.5666 MB / 375.9 MB, free: 15.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1427, allocations: 0 / 375.9 MB, free: 15.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001627/0.1443, allocations: 0.8172 MB / 376.7 MB, free: 14.74 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.000263/0.1446, allocations: 132 kB / 376.9 MB, free: 14.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.1456, allocations: 1.247 MB / 378.1 MB, free: 13.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.405e-05/0.1457, allocations: 59.92 kB / 378.2 MB, free: 13.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.146, allocations: 239.2 kB / 378.4 MB, free: 13.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009961/0.147, allocations: 1.201 MB / 379.6 MB, free: 11.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006093/0.1531, allocations: 5.274 MB / 384.9 MB, free: 6.293 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007064/0.1538, allocations: 0.8642 MB / 385.7 MB, free: 5.406 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005148/0.1543, allocations: 255.6 kB / 386 MB, free: 5.152 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/0.1546, allocations: 267.3 kB / 386.3 MB, free: 4.891 MB / 378.7 MB Notification: Performance of SimCode: time 1.323e-06/0.1546, allocations: 4 kB / 386.3 MB, free: 4.887 MB / 378.7 MB Notification: Performance of Templates: time 0.02163/0.1762, allocations: 10.98 MB / 397.2 MB, free: 9.949 MB / 394.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.186704095453024]