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.001386/0.001386, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001669/0.001669, allocations: 173.9 kB / 25 MB, free: 8.34 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.04/1.04, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2608/0.2608, allocations: 34.25 MB / 296 MB, free: 0.7734 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.913e-06/1.913e-06, allocations: 3.938 kB / 378 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.77e-05, allocations: 5.969 kB / 378 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.008323/0.008351, allocations: 9.768 MB / 387.8 MB, free: 9.176 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005703/0.01405, allocations: 3.021 MB / 390.8 MB, free: 6.145 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.01545, allocations: 59.81 kB / 390.9 MB, free: 6.086 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003406/0.01886, allocations: 2.785 MB / 393.6 MB, free: 3.293 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003043/0.0219, allocations: 1.256 MB / 394.9 MB, free: 2.031 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008916/0.02279, allocations: 379.1 kB / 395.3 MB, free: 1.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003287/0.02608, allocations: 2.581 MB / 397.8 MB, free: 15.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002335/0.02841, allocations: 2.332 MB / 400.2 MB, free: 12.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001656/0.03007, allocations: 1.552 MB / 401.7 MB, free: 11.15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.03143, allocations: 1.376 MB / 403.1 MB, free: 9.773 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003387/0.03177, allocations: 252 kB / 403.4 MB, free: 9.527 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009436/0.03272, allocations: 0.6982 MB / 404 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009206/0.03364, allocations: 1.426 MB / 405.5 MB, free: 7.398 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008245/0.03446, allocations: 0.8801 MB / 406.4 MB, free: 6.516 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002949/0.03741, allocations: 3.157 MB / 409.5 MB, free: 3.348 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.03742, allocations: 4 kB / 409.5 MB, free: 3.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.03742, allocations: 0 / 409.5 MB, free: 3.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.012e-05/0.03749, allocations: 0 / 409.5 MB, free: 3.344 MB / 378.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.004198/0.04169, allocations: 3.559 MB / 413.1 MB, free: 15.72 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.04173, allocations: 12.03 kB / 413.1 MB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003501/0.04523, allocations: 1.957 MB / 415 MB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/0.04735, allocations: 1.387 MB / 416.4 MB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.733e-05/0.04745, allocations: 176.9 kB / 416.6 MB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002927/0.04774, allocations: 236.3 kB / 416.8 MB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006065/0.05381, allocations: 3.774 MB / 420.6 MB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.913e-05/0.05386, allocations: 11.88 kB / 420.6 MB, free: 7.711 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002159/0.05407, allocations: 107.9 kB / 420.7 MB, free: 7.605 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001513/0.05558, allocations: 1.443 MB / 422.2 MB, free: 6.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004726/0.06031, allocations: 2.035 MB / 424.2 MB, free: 4.105 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1785/0.2388, allocations: 22.48 MB / 446.7 MB, free: 84.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.2411, allocations: 1.006 MB / 447.7 MB, free: 83.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/0.2414, allocations: 240.3 kB / 447.9 MB, free: 83.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003648/0.2451, allocations: 2.672 MB / 450.6 MB, free: 83.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.2451, allocations: 43.27 kB / 450.6 MB, free: 83.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 4.599e-06/0.2451, allocations: 0.7188 kB / 450.6 MB, free: 83.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.003123/0.2482, allocations: 1.491 MB / 452.1 MB, free: 83.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.2482, allocations: 60.81 kB / 452.2 MB, free: 83.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.2498, allocations: 1.863 MB / 454.1 MB, free: 82.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.2498, allocations: 38.98 kB / 454.1 MB, free: 82.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007478/0.2505, allocations: 2.221 MB / 456.3 MB, free: 81.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.2507, allocations: 362.8 kB / 456.7 MB, free: 81.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004851/0.2512, allocations: 0.7057 MB / 457.4 MB, free: 81.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.44e-05/0.2513, allocations: 0.5349 MB / 457.9 MB, free: 80.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004741/0.2518, allocations: 305.8 kB / 458.2 MB, free: 80.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.2529, allocations: 3.172 MB / 461.4 MB, free: 76.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/0.2549, allocations: 3.837 MB / 465.2 MB, free: 72.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.436e-05/0.255, allocations: 18.22 kB / 465.2 MB, free: 72.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.002731/0.2577, allocations: 2.616 MB / 467.9 MB, free: 71.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.2577, allocations: 35.62 kB / 467.9 MB, free: 71.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.873e-05/0.2578, allocations: 69 kB / 468 MB, free: 71.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.993e-05/0.2578, allocations: 89.78 kB / 468 MB, free: 71.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.2589, allocations: 0.6882 MB / 468.7 MB, free: 71.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.002e-05/0.259, allocations: 132.8 kB / 468.9 MB, free: 71.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.2602, allocations: 438.6 kB / 469.3 MB, free: 71.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/0.2604, allocations: 201 kB / 469.5 MB, free: 71.17 MB / 410.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 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (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.0008768/0.2612, allocations: 426.7 kB / 469.9 MB, free: 70.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.2614, allocations: 184.3 kB / 470.1 MB, free: 70.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.2616, allocations: 172.8 kB / 470.2 MB, free: 70.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.2616, allocations: 9.312 kB / 470.3 MB, free: 70.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.2616, allocations: 0 / 470.3 MB, free: 70.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.2616, allocations: 4.359 kB / 470.3 MB, free: 70.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004017/0.2656, allocations: 3.304 MB / 473.6 MB, free: 68.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.2656, allocations: 8.781 kB / 473.6 MB, free: 68.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.2659, allocations: 128.8 kB / 473.7 MB, free: 68.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.2659, allocations: 12.03 kB / 473.7 MB, free: 68.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.2659, allocations: 26.3 kB / 473.7 MB, free: 68.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.2659, allocations: 8.844 kB / 473.7 MB, free: 68.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.2659, allocations: 13.12 kB / 473.8 MB, free: 68.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007371/0.2667, allocations: 0.9968 MB / 474.8 MB, free: 68.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.2668, allocations: 168.3 kB / 474.9 MB, free: 67.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.244e-05/0.2669, allocations: 23.33 kB / 474.9 MB, free: 67.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.2671, allocations: 29.61 kB / 475 MB, free: 67.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/0.2672, allocations: 69.83 kB / 475 MB, free: 67.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.2672, allocations: 34.3 kB / 475.1 MB, free: 67.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007093/0.2679, allocations: 0.8062 MB / 475.9 MB, free: 67.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2679, allocations: 0 / 475.9 MB, free: 67.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00186/0.2698, allocations: 0.8058 MB / 476.7 MB, free: 67.31 MB / 410.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.0002939/0.2701, allocations: 156.6 kB / 476.8 MB, free: 67.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.2717, allocations: 1.325 MB / 478.2 MB, free: 66.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.2717, allocations: 2 kB / 478.2 MB, free: 66.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.272, allocations: 230.4 kB / 478.4 MB, free: 66.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007266/0.2727, allocations: 230.1 kB / 478.6 MB, free: 66.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006189/0.2789, allocations: 5.024 MB / 483.6 MB, free: 63.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008287/0.2797, allocations: 0.8688 MB / 484.5 MB, free: 63.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001345/0.2811, allocations: 0.8466 MB / 485.4 MB, free: 63.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/0.2813, allocations: 125.3 kB / 485.5 MB, free: 63.41 MB / 410.7 MB Notification: Performance of SimCode: time 2.745e-06/0.2813, allocations: 0 / 485.5 MB, free: 63.41 MB / 410.7 MB Notification: Performance of Templates: time 0.02451/0.3058, allocations: 12.65 MB / 498.1 MB, free: 61.91 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.623496101005003]