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.001328/0.001328, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001484/0.001484, allocations: 214.9 kB / 24.48 MB, free: 3.941 MB / 14.72 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.459/1.459, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.2262/0.2262, allocations: 46.96 MB / 361.6 MB, free: 4.016 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+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.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",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.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 68.09 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.318, allocations: 66.03 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01198/0.3299, allocations: 8.927 MB / 0.5705 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006668/0.3366, allocations: 2.917 MB / 0.5734 GB, free: 8.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.3378, allocations: 59.81 kB / 0.5734 GB, free: 8.203 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00505/0.3428, allocations: 2.535 MB / 0.5759 GB, free: 5.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003144/0.346, allocations: 1.222 MB / 0.5771 GB, free: 4.434 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008634/0.3468, allocations: 351.4 kB / 0.5774 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003388/0.3502, allocations: 2.532 MB / 0.5799 GB, free: 1.555 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002794/0.353, allocations: 2.257 MB / 0.5821 GB, free: 15.26 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.3545, allocations: 1.063 MB / 0.5831 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001872/0.3564, allocations: 1.495 MB / 0.5846 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004352/0.3568, allocations: 252 kB / 0.5848 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.3581, allocations: 0.6749 MB / 0.5855 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00132/0.3594, allocations: 1.367 MB / 0.5868 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001183/0.3606, allocations: 1.134 MB / 0.5879 GB, free: 9.262 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00558/0.3662, allocations: 5.144 MB / 0.593 GB, free: 4.098 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3662, allocations: 0 / 0.593 GB, free: 4.098 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3662, allocations: 0 / 0.593 GB, free: 4.098 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001314/0.3663, allocations: 0 / 0.593 GB, free: 4.098 MB / 430.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.005864/0.3722, allocations: 3.282 MB / 0.5962 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3722, allocations: 8.031 kB / 0.5962 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005183/0.3774, allocations: 1.625 MB / 0.5978 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003607/0.381, allocations: 1.451 MB / 0.5992 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.3812, allocations: 180.9 kB / 0.5994 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000475/0.3816, allocations: 231.8 kB / 0.5996 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01162/0.3933, allocations: 7.106 MB / 0.6065 GB, free: 5.805 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.725e-05/0.3933, allocations: 15.88 kB / 0.6065 GB, free: 5.789 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002827/0.3936, allocations: 107.9 kB / 0.6066 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00225/0.3959, allocations: 1.451 MB / 0.6081 GB, free: 4.227 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01097/0.4068, allocations: 5.933 MB / 0.6139 GB, free: 14.28 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03066/0.4375, allocations: 20.23 MB / 0.6336 GB, free: 9.492 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004568/0.442, allocations: 1.666 MB / 0.6352 GB, free: 7.805 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.4431, allocations: 0.6995 MB / 0.6359 GB, free: 7.102 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006987/0.4501, allocations: 3.223 MB / 0.6391 GB, free: 3.852 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.4501, allocations: 47.14 kB / 0.6391 GB, free: 3.797 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 2.805e-06/0.4501, allocations: 0 / 0.6391 GB, free: 3.797 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006245/0.4564, allocations: 2.249 MB / 0.6413 GB, free: 1.543 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.4564, allocations: 60.06 kB / 0.6414 GB, free: 1.473 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00261/0.459, allocations: 2.005 MB / 0.6433 GB, free: 15.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.763e-05/0.4591, allocations: 37.7 kB / 0.6434 GB, free: 15.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001492/0.4606, allocations: 2.129 MB / 0.6454 GB, free: 13.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/0.4609, allocations: 361.2 kB / 0.6458 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008397/0.4617, allocations: 0.6551 MB / 0.6464 GB, free: 12.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.4619, allocations: 345.9 kB / 0.6467 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.4632, allocations: 0.9313 MB / 0.6477 GB, free: 10.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002886/0.4661, allocations: 2.868 MB / 0.6505 GB, free: 7.137 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004782/0.4709, allocations: 4.156 MB / 0.6545 GB, free: 2.023 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.825e-05/0.471, allocations: 23.94 kB / 0.6545 GB, free: 2 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.005671/0.4766, allocations: 3.71 MB / 0.6582 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.19e-05/0.4767, allocations: 35.98 kB / 0.6582 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.996e-05/0.4767, allocations: 68 kB / 0.6583 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.561e-05/0.4768, allocations: 92 kB / 0.6584 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/0.4789, allocations: 0.6784 MB / 0.659 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001134/0.479, allocations: 139.4 kB / 0.6591 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/0.4807, allocations: 433.3 kB / 0.6596 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002492/0.481, allocations: 196 kB / 0.6597 GB, free: 12.66 MB / 0.4981 GB 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.002148/0.4831, allocations: 1.507 MB / 0.6612 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.4834, allocations: 166.8 kB / 0.6614 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003469/0.4837, allocations: 201 kB / 0.6616 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/0.4837, allocations: 12 kB / 0.6616 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.4837, allocations: 0 / 0.6616 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.4837, allocations: 3.984 kB / 0.6616 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006812/0.4906, allocations: 3.76 MB / 0.6653 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.4906, allocations: 11.94 kB / 0.6653 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000468/0.491, allocations: 123.9 kB / 0.6654 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.579e-05/0.4911, allocations: 19.94 kB / 0.6654 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.051e-05/0.4911, allocations: 20 kB / 0.6654 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-05/0.4911, allocations: 19.92 kB / 0.6654 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/0.4911, allocations: 11.94 kB / 0.6655 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.4928, allocations: 1.389 MB / 0.6668 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.4932, allocations: 166.7 kB / 0.667 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.4933, allocations: 23.94 kB / 0.667 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004865/0.4938, allocations: 31.97 kB / 0.667 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.4939, allocations: 71.78 kB / 0.6671 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.494, allocations: 35.98 kB / 0.6671 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001613/0.4956, allocations: 1.155 MB / 0.6683 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4956, allocations: 0 / 0.6683 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002808/0.4984, allocations: 0.8094 MB / 0.669 GB, free: 2.855 MB / 0.4981 GB 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.000317/0.4988, allocations: 151.4 kB / 0.6692 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003533/0.5023, allocations: 2.078 MB / 0.6712 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.5023, allocations: 1.875 kB / 0.6712 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007413/0.503, allocations: 485.1 kB / 0.6717 GB, free: 168 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.5043, allocations: 211.2 kB / 0.6719 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.5149, allocations: 5.759 MB / 0.6775 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002742/0.5176, allocations: 1.95 MB / 0.6794 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002378/0.52, allocations: 0.9983 MB / 0.6804 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003181/0.5203, allocations: 115.4 kB / 0.6805 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of SimCode: time 8.92e-07/0.5203, allocations: 4 kB / 0.6805 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of Templates: time 0.03768/0.558, allocations: 16.97 MB / 0.6971 GB, free: 6.164 MB / 0.5294 GB " [Timeout remaining time 659] 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=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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: 5.486205848996178]