Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.001786/0.001786, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002176/0.002176, allocations: 211 kB / 23.73 MB, free: 4.387 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.589/1.589, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2249/0.2249, allocations: 44.94 MB / 358.8 MB, free: 6.051 MB / 286.1 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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 63.91 kB / 0.4935 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3455, allocations: 65.47 MB / 0.5574 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01149/0.357, allocations: 8.411 MB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006499/0.3635, allocations: 2.787 MB / 0.5684 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.3645, allocations: 55.81 kB / 0.5684 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003914/0.3685, allocations: 1.943 MB / 0.5703 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00284/0.3713, allocations: 1.133 MB / 0.5714 GB, free: 9.086 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006944/0.372, allocations: 287.5 kB / 0.5717 GB, free: 8.805 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003054/0.375, allocations: 2.321 MB / 0.574 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002042/0.3771, allocations: 1.738 MB / 0.5757 GB, free: 4.699 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.3782, allocations: 0.8917 MB / 0.5765 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.3797, allocations: 1.176 MB / 0.5777 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003253/0.3801, allocations: 196 kB / 0.5779 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.3812, allocations: 0.6046 MB / 0.5785 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.3822, allocations: 1.137 MB / 0.5796 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.3832, allocations: 0.9471 MB / 0.5805 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004747/0.388, allocations: 4.338 MB / 0.5847 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.388, allocations: 4 kB / 0.5847 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.388, allocations: 0 / 0.5847 GB, free: 11.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.006e-05/0.3881, allocations: 0 / 0.5847 GB, free: 11.38 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.005169/0.3933, allocations: 2.869 MB / 0.5875 GB, free: 8.465 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3933, allocations: 8.031 kB / 0.5876 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005123/0.3984, allocations: 1.582 MB / 0.5891 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003377/0.4018, allocations: 1.286 MB / 0.5904 GB, free: 5.555 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.4019, allocations: 148 kB / 0.5905 GB, free: 5.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003706/0.4023, allocations: 187.8 kB / 0.5907 GB, free: 5.227 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01084/0.4131, allocations: 6.246 MB / 0.5968 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.777e-05/0.4132, allocations: 11.88 kB / 0.5968 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002546/0.4134, allocations: 91.89 kB / 0.5969 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002263/0.4157, allocations: 1.34 MB / 0.5982 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/0.4262, allocations: 5.326 MB / 0.6034 GB, free: 7.922 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02804/0.4543, allocations: 18.29 MB / 0.6212 GB, free: 5.074 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004164/0.4584, allocations: 1.487 MB / 0.6227 GB, free: 3.574 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.4595, allocations: 0.6367 MB / 0.6233 GB, free: 2.926 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00704/0.4665, allocations: 3.013 MB / 0.6263 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.4666, allocations: 42.98 kB / 0.6263 GB, free: 15.84 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.206e-06/0.4666, allocations: 0 / 0.6263 GB, free: 15.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005566/0.4721, allocations: 1.975 MB / 0.6282 GB, free: 13.85 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.4722, allocations: 59.84 kB / 0.6283 GB, free: 13.78 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003178/0.4754, allocations: 1.939 MB / 0.6302 GB, free: 11.83 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.666e-05/0.4754, allocations: 37.64 kB / 0.6302 GB, free: 11.79 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001639/0.4771, allocations: 1.919 MB / 0.6321 GB, free: 9.848 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004154/0.4775, allocations: 329.5 kB / 0.6324 GB, free: 9.523 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009503/0.4784, allocations: 0.6195 MB / 0.633 GB, free: 8.895 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.4786, allocations: 353.9 kB / 0.6333 GB, free: 8.543 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.4801, allocations: 0.8881 MB / 0.6342 GB, free: 7.652 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003102/0.4832, allocations: 2.747 MB / 0.6369 GB, free: 3.973 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005073/0.4882, allocations: 3.966 MB / 0.6408 GB, free: 15.08 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.287e-05/0.4883, allocations: 20 kB / 0.6408 GB, free: 15.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006206/0.4945, allocations: 3.523 MB / 0.6442 GB, free: 11.53 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.169e-05/0.4946, allocations: 39.98 kB / 0.6443 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001149/0.4947, allocations: 64 kB / 0.6443 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001135/0.4948, allocations: 88 kB / 0.6444 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002027/0.4969, allocations: 0.6511 MB / 0.645 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001358/0.497, allocations: 131.5 kB / 0.6452 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/0.4991, allocations: 421.3 kB / 0.6456 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003319/0.4994, allocations: 188 kB / 0.6458 GB, free: 9.965 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (362): * Single equations (assignments): 357 * 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.002094/0.5015, allocations: 1.346 MB / 0.6471 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/0.5018, allocations: 154.9 kB / 0.6472 GB, free: 8.453 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/0.5021, allocations: 188 kB / 0.6474 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.171e-05/0.5021, allocations: 8 kB / 0.6474 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.5021, allocations: 3.938 kB / 0.6474 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.5021, allocations: 7.984 kB / 0.6474 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005981/0.5081, allocations: 3.066 MB / 0.6504 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.5081, allocations: 8 kB / 0.6504 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/0.5086, allocations: 103.8 kB / 0.6505 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-05/0.5086, allocations: 15.94 kB / 0.6505 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/0.5086, allocations: 16 kB / 0.6505 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-05/0.5086, allocations: 8 kB / 0.6506 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.5086, allocations: 12.47 kB / 0.6506 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.5103, allocations: 1.249 MB / 0.6518 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000355/0.5107, allocations: 154.8 kB / 0.6519 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002056/0.5109, allocations: 23.92 kB / 0.652 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004773/0.5113, allocations: 27.98 kB / 0.652 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.888e-05/0.5114, allocations: 55.8 kB / 0.652 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-05/0.5115, allocations: 32 kB / 0.6521 GB, free: 3.254 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001701/0.5132, allocations: 1.114 MB / 0.6532 GB, free: 2.145 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5132, allocations: 0 / 0.6532 GB, free: 2.145 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002644/0.5158, allocations: 0.7084 MB / 0.6538 GB, free: 1.434 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0003379/0.5162, allocations: 138.9 kB / 0.654 GB, free: 1.285 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003796/0.52, allocations: 1.963 MB / 0.6559 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/0.52, allocations: 0.875 kB / 0.6559 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006455/0.5206, allocations: 444.2 kB / 0.6563 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.522, allocations: 190.9 kB / 0.6565 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.5324, allocations: 5.096 MB / 0.6615 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003457/0.5359, allocations: 1.708 MB / 0.6631 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002378/0.5382, allocations: 0.9351 MB / 0.6641 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004016/0.5386, allocations: 115.4 kB / 0.6642 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of SimCode: time 1.012e-06/0.5386, allocations: 0 / 0.6642 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of Templates: time 0.03104/0.5697, allocations: 14.13 MB / 0.678 GB, free: 8.754 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.762721296399832]