Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001317/0.001317, allocations: 121.4 kB / 19.17 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001458/0.001458, allocations: 206.5 kB / 22.12 MB, free: 0.9062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 230.3 MB / 255.2 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2417/0.2417, allocations: 46.92 MB / 358.2 MB, free: 10.4 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002649/0.002649, allocations: 83.86 kB / 0.4925 GB, free: 7.652 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1357, allocations: 66 MB / 0.557 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01432/0.15, allocations: 10.16 MB / 0.5669 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007116/0.1571, allocations: 3.096 MB / 0.5699 GB, free: 8.191 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/0.1589, allocations: 59.81 kB / 0.57 GB, free: 8.133 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005285/0.1642, allocations: 2.636 MB / 0.5725 GB, free: 5.488 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003465/0.1677, allocations: 1.206 MB / 0.5737 GB, free: 4.281 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009895/0.1687, allocations: 351.3 kB / 0.574 GB, free: 3.938 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00383/0.1725, allocations: 2.537 MB / 0.5765 GB, free: 1.395 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00317/0.1757, allocations: 2.492 MB / 0.579 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.1772, allocations: 1.067 MB / 0.58 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002064/0.1793, allocations: 1.488 MB / 0.5815 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004755/0.1798, allocations: 252 kB / 0.5817 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.1812, allocations: 0.7802 MB / 0.5825 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001317/0.1825, allocations: 1.36 MB / 0.5838 GB, free: 9.906 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001579/0.1841, allocations: 1.557 MB / 0.5853 GB, free: 8.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005654/0.1897, allocations: 5.128 MB / 0.5903 GB, free: 3.191 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1897, allocations: 4 kB / 0.5903 GB, free: 3.188 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1897, allocations: 0 / 0.5903 GB, free: 3.188 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001432/0.1899, allocations: 4 kB / 0.5903 GB, free: 3.184 MB / 446.1 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.3174/0.5073, allocations: 3.346 MB / 0.5936 GB, free: 33.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.5074, allocations: 7.5 kB / 0.5936 GB, free: 33.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005987/0.5133, allocations: 1.624 MB / 0.5952 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003627/0.517, allocations: 1.505 MB / 0.5966 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.5171, allocations: 179.7 kB / 0.5968 GB, free: 33.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006976/0.5178, allocations: 231.4 kB / 0.597 GB, free: 33.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01395/0.5318, allocations: 7.109 MB / 0.604 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.204e-05/0.5319, allocations: 20.72 kB / 0.604 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003168/0.5322, allocations: 104.7 kB / 0.6041 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002549/0.5347, allocations: 1.446 MB / 0.6055 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01303/0.5478, allocations: 5.946 MB / 0.6113 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02766/0.5754, allocations: 22.35 MB / 0.6331 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003998/0.5794, allocations: 2.13 MB / 0.6352 GB, free: 7.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008537/0.5803, allocations: 0.7034 MB / 0.6359 GB, free: 7.199 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006339/0.5866, allocations: 3.859 MB / 0.6397 GB, free: 3.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.5866, allocations: 43.12 kB / 0.6397 GB, free: 3.199 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 3.287e-06/0.5866, allocations: 0 / 0.6397 GB, free: 3.199 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.005932/0.5926, allocations: 2.253 MB / 0.6419 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.5926, allocations: 63.91 kB / 0.642 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003399/0.596, allocations: 2.064 MB / 0.644 GB, free: 14.8 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.658e-05/0.5961, allocations: 29.7 kB / 0.644 GB, free: 14.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001783/0.5979, allocations: 2.11 MB / 0.6461 GB, free: 12.64 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004453/0.5983, allocations: 361.3 kB / 0.6464 GB, free: 12.28 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/0.5994, allocations: 0.6574 MB / 0.6471 GB, free: 11.62 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.5996, allocations: 365.9 kB / 0.6474 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.6011, allocations: 0.9331 MB / 0.6483 GB, free: 10.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003232/0.6044, allocations: 2.864 MB / 0.6511 GB, free: 6.492 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005132/0.6095, allocations: 4.158 MB / 0.6552 GB, free: 1.379 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.718e-05/0.6096, allocations: 20 kB / 0.6552 GB, free: 1.359 MB / 462.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006548/0.6161, allocations: 3.714 MB / 0.6588 GB, free: 13.64 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.184e-05/0.6162, allocations: 32.94 kB / 0.6589 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001088/0.6163, allocations: 68 kB / 0.6589 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001137/0.6164, allocations: 92 kB / 0.659 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002167/0.6186, allocations: 0.6901 MB / 0.6597 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001343/0.6187, allocations: 139.4 kB / 0.6598 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/0.6209, allocations: 440.7 kB / 0.6602 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003812/0.6213, allocations: 200 kB / 0.6604 GB, free: 12 MB / 478.1 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.002704/0.624, allocations: 1.499 MB / 0.6619 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003815/0.6243, allocations: 182.7 kB / 0.6621 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004694/0.6248, allocations: 222.1 kB / 0.6623 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.432e-05/0.6248, allocations: 11.94 kB / 0.6623 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.6248, allocations: 0 / 0.6623 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.6249, allocations: 3.984 kB / 0.6623 GB, free: 10.06 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009326/0.6342, allocations: 4.94 MB / 0.6671 GB, free: 4.961 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.6342, allocations: 8.156 kB / 0.6671 GB, free: 4.953 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004825/0.6347, allocations: 115.8 kB / 0.6672 GB, free: 4.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.289e-05/0.6347, allocations: 11.94 kB / 0.6673 GB, free: 4.828 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.736e-05/0.6347, allocations: 31.92 kB / 0.6673 GB, free: 4.797 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.377e-05/0.6348, allocations: 12.88 kB / 0.6673 GB, free: 4.785 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/0.6348, allocations: 11.94 kB / 0.6673 GB, free: 4.773 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.6366, allocations: 1.419 MB / 0.6687 GB, free: 3.23 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005146/0.6372, allocations: 295.5 kB / 0.669 GB, free: 2.922 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/0.6373, allocations: 27.92 kB / 0.669 GB, free: 2.895 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00054/0.6379, allocations: 31.94 kB / 0.669 GB, free: 2.863 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.638, allocations: 68.5 kB / 0.6691 GB, free: 2.797 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.768e-05/0.6381, allocations: 39.98 kB / 0.6691 GB, free: 2.758 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002277/0.6403, allocations: 1.448 MB / 0.6706 GB, free: 1.289 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6403, allocations: 0 / 0.6706 GB, free: 1.289 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002999/0.6433, allocations: 0.7784 MB / 0.6713 GB, free: 0.5078 MB / 478.1 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.0003488/0.6437, allocations: 151 kB / 0.6715 GB, free: 360 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003438/0.6471, allocations: 2.076 MB / 0.6735 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.6471, allocations: 0 / 0.6735 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006672/0.6478, allocations: 479.9 kB / 0.6739 GB, free: 13.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.6494, allocations: 273.5 kB / 0.6742 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.6607, allocations: 6.161 MB / 0.6802 GB, free: 7.254 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002985/0.6637, allocations: 2.518 MB / 0.6827 GB, free: 4.703 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005295/0.6642, allocations: 155.4 kB / 0.6828 GB, free: 4.551 MB / 494.1 MB Notification: Performance of SimCode: time 9.71e-07/0.6642, allocations: 0 / 0.6828 GB, free: 4.551 MB / 494.1 MB Notification: Performance of Templates: time 0.05567/0.7199, allocations: 34.01 MB / 0.716 GB, free: 2.598 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.740112772997236]