Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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.001975/0.001975, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.002376/0.002376, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.561/1.561, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2423/0.2423, allocations: 46.92 MB / 357.1 MB, free: 10.31 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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.91 kB / 0.4914 GB, free: 7.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1324, allocations: 66 MB / 0.5558 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01224/0.1446, allocations: 9.566 MB / 0.5652 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005983/0.1506, allocations: 2.934 MB / 0.5681 GB, free: 8.773 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008475/0.1515, allocations: 59.81 kB / 0.5681 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003776/0.1552, allocations: 2.017 MB / 0.5701 GB, free: 6.691 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002412/0.1576, allocations: 1.125 MB / 0.5712 GB, free: 5.562 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006912/0.1583, allocations: 295.4 kB / 0.5715 GB, free: 5.273 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002924/0.1613, allocations: 2.337 MB / 0.5737 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002265/0.1635, allocations: 1.907 MB / 0.5756 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.1646, allocations: 0.8956 MB / 0.5765 GB, free: 88 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.1662, allocations: 1.25 MB / 0.5777 GB, free: 14.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002942/0.1665, allocations: 192 kB / 0.5779 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.1677, allocations: 0.7293 MB / 0.5786 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001085/0.1688, allocations: 1.137 MB / 0.5797 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001309/0.1701, allocations: 1.305 MB / 0.581 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005548/0.1757, allocations: 4.334 MB / 0.5852 GB, free: 7.109 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1757, allocations: 0 / 0.5852 GB, free: 7.109 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1757, allocations: 0 / 0.5852 GB, free: 7.109 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.211e-05/0.1757, allocations: 0 / 0.5852 GB, free: 7.109 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.005253/0.181, allocations: 2.945 MB / 0.5881 GB, free: 4.102 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.181, allocations: 8.031 kB / 0.5881 GB, free: 4.094 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005447/0.1865, allocations: 1.582 MB / 0.5896 GB, free: 2.508 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/0.189, allocations: 1.336 MB / 0.5909 GB, free: 1.125 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.1892, allocations: 148 kB / 0.5911 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003707/0.1895, allocations: 191.8 kB / 0.5913 GB, free: 0.793 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3191/0.5086, allocations: 6.249 MB / 0.5974 GB, free: 32.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.025e-05/0.5087, allocations: 13.09 kB / 0.5974 GB, free: 32.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000278/0.509, allocations: 85.61 kB / 0.5975 GB, free: 32.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0025/0.5115, allocations: 1.345 MB / 0.5988 GB, free: 31.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01246/0.5239, allocations: 5.327 MB / 0.604 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02991/0.5538, allocations: 20.08 MB / 0.6236 GB, free: 17.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003822/0.5577, allocations: 1.943 MB / 0.6255 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000708/0.5584, allocations: 0.6321 MB / 0.6261 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005449/0.5638, allocations: 3.626 MB / 0.6296 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.5638, allocations: 35 kB / 0.6297 GB, free: 13.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.796e-06/0.5638, allocations: 0 / 0.6297 GB, free: 13.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004936/0.5688, allocations: 1.99 MB / 0.6316 GB, free: 11.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.5688, allocations: 63.84 kB / 0.6317 GB, free: 11.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/0.5709, allocations: 1.944 MB / 0.6336 GB, free: 9.184 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/0.571, allocations: 31.73 kB / 0.6336 GB, free: 9.148 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009788/0.572, allocations: 1.915 MB / 0.6355 GB, free: 7.355 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/0.5722, allocations: 323.6 kB / 0.6358 GB, free: 7.043 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000665/0.5728, allocations: 0.6273 MB / 0.6364 GB, free: 6.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.35e-05/0.5729, allocations: 357.9 kB / 0.6367 GB, free: 6.055 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009736/0.5739, allocations: 0.8881 MB / 0.6376 GB, free: 5.164 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/0.5756, allocations: 2.747 MB / 0.6403 GB, free: 1.484 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004261/0.5798, allocations: 3.968 MB / 0.6442 GB, free: 12.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.36e-05/0.5799, allocations: 23.75 kB / 0.6442 GB, free: 12.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005692/0.5855, allocations: 3.528 MB / 0.6476 GB, free: 9.039 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.039e-05/0.5856, allocations: 36.95 kB / 0.6477 GB, free: 9.004 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.701e-05/0.5857, allocations: 64 kB / 0.6477 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.82e-05/0.5858, allocations: 91.94 kB / 0.6478 GB, free: 8.852 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/0.5877, allocations: 0.655 MB / 0.6485 GB, free: 8.195 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001199/0.5878, allocations: 127.5 kB / 0.6486 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/0.5898, allocations: 425.5 kB / 0.649 GB, free: 7.652 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002732/0.5901, allocations: 189.2 kB / 0.6492 GB, free: 7.469 MB / 462.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.002357/0.5925, allocations: 1.359 MB / 0.6505 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003142/0.5928, allocations: 162.9 kB / 0.6507 GB, free: 5.941 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004299/0.5932, allocations: 196.9 kB / 0.6508 GB, free: 5.742 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.408e-05/0.5932, allocations: 11.94 kB / 0.6508 GB, free: 5.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.5933, allocations: 0 / 0.6508 GB, free: 5.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.5933, allocations: 3.984 kB / 0.6509 GB, free: 5.727 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007409/0.6007, allocations: 4.034 MB / 0.6548 GB, free: 1.551 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.6007, allocations: 8 kB / 0.6548 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004559/0.6011, allocations: 103.8 kB / 0.6549 GB, free: 1.441 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.81e-05/0.6012, allocations: 12 kB / 0.6549 GB, free: 1.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-05/0.6012, allocations: 16 kB / 0.6549 GB, free: 1.414 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/0.6012, allocations: 8 kB / 0.6549 GB, free: 1.406 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.331e-05/0.6012, allocations: 11.94 kB / 0.6549 GB, free: 1.395 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.6033, allocations: 1.275 MB / 0.6562 GB, free: 12 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004765/0.6038, allocations: 259.7 kB / 0.6564 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.604, allocations: 23.98 kB / 0.6565 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004847/0.6044, allocations: 27.94 kB / 0.6565 GB, free: 15.69 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.6046, allocations: 55.81 kB / 0.6565 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.13e-05/0.6046, allocations: 32 kB / 0.6566 GB, free: 15.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002056/0.6067, allocations: 1.263 MB / 0.6578 GB, free: 14.35 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6067, allocations: 0 / 0.6578 GB, free: 14.35 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003151/0.6098, allocations: 0.6968 MB / 0.6585 GB, free: 13.65 MB / 478.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.0003658/0.6102, allocations: 147 kB / 0.6586 GB, free: 13.49 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003833/0.614, allocations: 1.957 MB / 0.6605 GB, free: 11.55 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.614, allocations: 0 / 0.6605 GB, free: 11.55 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007425/0.6148, allocations: 434.2 kB / 0.661 GB, free: 11.13 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.6163, allocations: 233.5 kB / 0.6612 GB, free: 10.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/0.6279, allocations: 5.13 MB / 0.6662 GB, free: 5.652 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002819/0.6307, allocations: 2.271 MB / 0.6684 GB, free: 3.348 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002493/0.6332, allocations: 0.9569 MB / 0.6693 GB, free: 2.387 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/0.6335, allocations: 123.4 kB / 0.6695 GB, free: 2.266 MB / 478.1 MB Notification: Performance of SimCode: time 1.163e-06/0.6335, allocations: 0 / 0.6695 GB, free: 2.266 MB / 478.1 MB Notification: Performance of Templates: time 0.03549/0.669, allocations: 15.24 MB / 0.6843 GB, free: 3.074 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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: 6.031339257955551]