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.001606/0.001606, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.00181/0.00181, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.2332/0.2332, allocations: 46.94 MB / 361.6 MB, free: 4.273 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.002093/0.002093, allocations: 75.83 kB / 0.4974 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3136, allocations: 66.02 MB / 0.5619 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.0122/0.3258, allocations: 10.2 MB / 0.5718 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006774/0.3325, allocations: 3.103 MB / 0.5749 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.3341, allocations: 55.88 kB / 0.5749 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004976/0.3391, allocations: 2.656 MB / 0.5775 GB, free: 4.332 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003031/0.3421, allocations: 1.21 MB / 0.5787 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008588/0.343, allocations: 351.3 kB / 0.579 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003568/0.3466, allocations: 2.544 MB / 0.5815 GB, free: 228 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002784/0.3494, allocations: 2.257 MB / 0.5837 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.3508, allocations: 1.063 MB / 0.5847 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.3529, allocations: 1.48 MB / 0.5862 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004786/0.3534, allocations: 252 kB / 0.5864 GB, free: 11.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.3548, allocations: 0.7919 MB / 0.5872 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001338/0.3561, allocations: 1.367 MB / 0.5885 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001618/0.3578, allocations: 1.553 MB / 0.5901 GB, free: 7.406 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006406/0.3642, allocations: 5.128 MB / 0.5951 GB, free: 2.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3642, allocations: 0 / 0.5951 GB, free: 2.258 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3642, allocations: 0 / 0.5951 GB, free: 2.258 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001609/0.3643, allocations: 0 / 0.5951 GB, free: 2.258 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.006536/0.3709, allocations: 3.274 MB / 0.5983 GB, free: 14.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3709, allocations: 15.97 kB / 0.5983 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004928/0.3758, allocations: 1.625 MB / 0.5999 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003429/0.3793, allocations: 1.435 MB / 0.6013 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.3794, allocations: 181 kB / 0.6014 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005009/0.3799, allocations: 235.8 kB / 0.6017 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01142/0.3913, allocations: 7.11 MB / 0.6086 GB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.888e-05/0.3914, allocations: 11.88 kB / 0.6086 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000287/0.3917, allocations: 103.9 kB / 0.6087 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002148/0.3938, allocations: 1.451 MB / 0.6101 GB, free: 2.402 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/0.405, allocations: 5.952 MB / 0.6159 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03445/0.4395, allocations: 22.25 MB / 0.6377 GB, free: 5.613 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004711/0.4442, allocations: 1.671 MB / 0.6393 GB, free: 3.926 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.4453, allocations: 0.7034 MB / 0.64 GB, free: 3.219 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00718/0.4525, allocations: 3.397 MB / 0.6433 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.4526, allocations: 39.22 kB / 0.6433 GB, free: 15.74 MB / 494.1 MB Notification: Performance of pre-optimization done (n=87): time 3.457e-06/0.4526, allocations: 0 / 0.6433 GB, free: 15.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=87): time 0.006166/0.4587, allocations: 2.261 MB / 0.6456 GB, free: 13.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.4588, allocations: 60.06 kB / 0.6456 GB, free: 13.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003434/0.4622, allocations: 2.056 MB / 0.6476 GB, free: 11.35 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.295e-05/0.4623, allocations: 41.61 kB / 0.6477 GB, free: 11.31 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001665/0.464, allocations: 2.106 MB / 0.6497 GB, free: 9.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004043/0.4644, allocations: 361.3 kB / 0.6501 GB, free: 8.824 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00094/0.4653, allocations: 0.6551 MB / 0.6507 GB, free: 8.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.4655, allocations: 369.9 kB / 0.6511 GB, free: 7.793 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.4669, allocations: 0.9352 MB / 0.652 GB, free: 6.855 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003138/0.4701, allocations: 2.868 MB / 0.6548 GB, free: 3.023 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005017/0.4751, allocations: 4.154 MB / 0.6588 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.205e-05/0.4751, allocations: 20 kB / 0.6588 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006515/0.4817, allocations: 3.707 MB / 0.6625 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.27e-05/0.4817, allocations: 32.22 kB / 0.6625 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001038/0.4818, allocations: 72 kB / 0.6626 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001003/0.4819, allocations: 92 kB / 0.6626 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/0.484, allocations: 0.6823 MB / 0.6633 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001263/0.4841, allocations: 135.5 kB / 0.6634 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002089/0.4862, allocations: 448.6 kB / 0.6639 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000321/0.4865, allocations: 196 kB / 0.6641 GB, free: 8.539 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.002326/0.4889, allocations: 1.515 MB / 0.6655 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003006/0.4892, allocations: 178.7 kB / 0.6657 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004529/0.4896, allocations: 210.2 kB / 0.6659 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.4896, allocations: 8 kB / 0.6659 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.4897, allocations: 0 / 0.6659 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.4897, allocations: 3.984 kB / 0.6659 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008956/0.4986, allocations: 4.912 MB / 0.6707 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/0.4986, allocations: 11.94 kB / 0.6707 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004567/0.4991, allocations: 119.8 kB / 0.6708 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.598e-05/0.4991, allocations: 12 kB / 0.6709 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-05/0.4992, allocations: 27.98 kB / 0.6709 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.444e-05/0.4992, allocations: 19.88 kB / 0.6709 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/0.4992, allocations: 8 kB / 0.6709 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.501, allocations: 1.426 MB / 0.6723 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005272/0.5015, allocations: 226.3 kB / 0.6725 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003063/0.5018, allocations: 27.97 kB / 0.6725 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006349/0.5025, allocations: 27.94 kB / 0.6726 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.5026, allocations: 75.72 kB / 0.6726 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.505e-05/0.5027, allocations: 32 kB / 0.6727 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002451/0.5051, allocations: 1.452 MB / 0.6741 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5051, allocations: 0 / 0.6741 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002864/0.508, allocations: 0.7747 MB / 0.6748 GB, free: 13.16 MB / 0.5137 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.0003455/0.5083, allocations: 166.8 kB / 0.675 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00335/0.5117, allocations: 2.072 MB / 0.677 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.936e-06/0.5117, allocations: 8.062 kB / 0.677 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006528/0.5123, allocations: 473.4 kB / 0.6775 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.5138, allocations: 273.2 kB / 0.6777 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.5252, allocations: 6.159 MB / 0.6838 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003577/0.5288, allocations: 2.518 MB / 0.6862 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004994/0.5293, allocations: 159.4 kB / 0.6864 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of SimCode: time 9.42e-07/0.5293, allocations: 0 / 0.6864 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of Templates: time 0.05773/0.587, allocations: 34.01 MB / 0.7196 GB, free: 15.23 MB / 0.5606 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 -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: 10.268530345056206]