Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001375/0.001375, allocations: 80.8 kB / 21.49 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.0009957/0.0009957, allocations: 166.7 kB / 24.91 MB, free: 9.152 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 0.9823/0.9823, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2638/0.2638, allocations: 32.8 MB / 294.6 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 323.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.882e-05, allocations: 7.125 kB / 323.2 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.007523/0.007542, allocations: 9.543 MB / 332.8 MB, free: 144 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005359/0.0129, allocations: 3.122 MB / 335.9 MB, free: 13.01 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007492/0.01365, allocations: 63.81 kB / 335.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002627/0.01628, allocations: 2.796 MB / 338.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.01792, allocations: 1.252 MB / 340 MB, free: 8.883 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.0184, allocations: 383.1 kB / 340.4 MB, free: 8.508 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001828/0.02023, allocations: 2.445 MB / 342.8 MB, free: 6.059 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/0.02183, allocations: 2.364 MB / 345.2 MB, free: 3.641 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.02311, allocations: 1.563 MB / 346.7 MB, free: 2.074 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.02458, allocations: 1.313 MB / 348.1 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003392/0.02492, allocations: 252 kB / 348.3 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009065/0.02582, allocations: 0.6982 MB / 349 MB, free: 15.81 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009645/0.02679, allocations: 1.422 MB / 350.4 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007716/0.02756, allocations: 0.884 MB / 351.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002266/0.02982, allocations: 3.153 MB / 354.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.02983, allocations: 7.938 kB / 354.5 MB, free: 10.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.02983, allocations: 0 / 354.5 MB, free: 10.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.483e-05/0.02989, allocations: 0 / 354.5 MB, free: 10.33 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.0029/0.03279, allocations: 3.082 MB / 357.5 MB, free: 7.199 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.03283, allocations: 8.031 kB / 357.6 MB, free: 7.191 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.03465, allocations: 0.8163 MB / 358.4 MB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.03596, allocations: 1.186 MB / 359.6 MB, free: 5.152 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.101e-05/0.03605, allocations: 177 kB / 359.7 MB, free: 4.977 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002534/0.03631, allocations: 232.3 kB / 360 MB, free: 4.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003226/0.03953, allocations: 3.24 MB / 363.2 MB, free: 1.188 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.47e-05/0.03958, allocations: 19.86 kB / 363.2 MB, free: 1.168 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.03975, allocations: 99.91 kB / 363.3 MB, free: 1.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001077/0.04083, allocations: 1.299 MB / 364.6 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/0.04332, allocations: 1.687 MB / 366.3 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.05528, allocations: 16.36 MB / 382.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.05709, allocations: 0.9935 MB / 383.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.05732, allocations: 171 kB / 383.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002738/0.06005, allocations: 2.237 MB / 386.1 MB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.06008, allocations: 39.22 kB / 386.1 MB, free: 9.648 MB / 362.7 MB Notification: Performance of pre-optimization done (n=87): time 2.254e-06/0.06008, allocations: 0 / 386.1 MB, free: 9.648 MB / 362.7 MB Notification: Performance of matching and sorting (n=87): time 0.002585/0.06266, allocations: 1.276 MB / 387.4 MB, free: 8.367 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.0627, allocations: 60.06 kB / 387.4 MB, free: 8.297 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000977/0.06368, allocations: 1.486 MB / 388.9 MB, free: 6.805 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.06371, allocations: 37.7 kB / 388.9 MB, free: 6.762 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007821/0.06449, allocations: 2.029 MB / 391 MB, free: 4.711 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.06466, allocations: 353.2 kB / 391.3 MB, free: 4.363 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004423/0.06511, allocations: 0.608 MB / 391.9 MB, free: 3.746 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.06522, allocations: 349.8 kB / 392.3 MB, free: 3.398 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/0.06558, allocations: 326.7 kB / 392.6 MB, free: 3.074 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.06681, allocations: 2.173 MB / 394.8 MB, free: 15.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/0.06873, allocations: 2.874 MB / 397.6 MB, free: 12.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.747e-05/0.06875, allocations: 20 kB / 397.7 MB, free: 12.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.002064/0.07082, allocations: 2.043 MB / 399.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.07085, allocations: 32 kB / 399.7 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.706e-05/0.0709, allocations: 71.94 kB / 399.8 MB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.478e-05/0.07095, allocations: 92 kB / 399.9 MB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.072, allocations: 0.6784 MB / 400.6 MB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-05/0.07206, allocations: 135.5 kB / 400.7 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009238/0.07298, allocations: 428.8 kB / 401.1 MB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.07314, allocations: 164 kB / 401.3 MB, free: 8.449 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.0006363/0.07377, allocations: 391 kB / 401.7 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.07389, allocations: 99.89 kB / 401.8 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.07403, allocations: 176.9 kB / 401.9 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.07405, allocations: 12 kB / 401.9 MB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.07405, allocations: 0 / 401.9 MB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.07406, allocations: 3.984 kB / 401.9 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/0.07658, allocations: 2.223 MB / 404.2 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.07659, allocations: 8 kB / 404.2 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.07679, allocations: 103.8 kB / 404.3 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.0768, allocations: 12 kB / 404.3 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.07683, allocations: 24.7 kB / 404.3 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.07684, allocations: 19.94 kB / 404.3 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.253e-05/0.07688, allocations: 11.94 kB / 404.3 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/0.07738, allocations: 0.7054 MB / 405.1 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.0775, allocations: 166.7 kB / 405.2 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.494e-05/0.07758, allocations: 16 kB / 405.2 MB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.07779, allocations: 20 kB / 405.2 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.07786, allocations: 75.66 kB / 405.3 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.07789, allocations: 28 kB / 405.3 MB, free: 4.113 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004312/0.07832, allocations: 0.5782 MB / 405.9 MB, free: 3.539 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07832, allocations: 0 / 405.9 MB, free: 3.539 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001535/0.07985, allocations: 0.8016 MB / 406.7 MB, free: 2.734 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.0002514/0.0801, allocations: 136.7 kB / 406.9 MB, free: 2.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.08122, allocations: 1.173 MB / 408 MB, free: 1.418 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-05/0.08129, allocations: 47.94 kB / 408.1 MB, free: 1.367 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.08145, allocations: 186.4 kB / 408.3 MB, free: 1.188 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006154/0.08207, allocations: 231.1 kB / 408.5 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004707/0.08678, allocations: 5.134 MB / 413.6 MB, free: 11.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006529/0.08743, allocations: 0.8681 MB / 414.5 MB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005121/0.08794, allocations: 251.5 kB / 414.7 MB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005684/0.08851, allocations: 287.3 kB / 415 MB, free: 10.26 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/0.08851, allocations: 0 / 415 MB, free: 10.26 MB / 394.7 MB Notification: Performance of Templates: time 0.02331/0.1118, allocations: 13.62 MB / 428.6 MB, free: 12.81 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.1772544868290424]