Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001424/0.001424, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.001505/0.001505, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.555/1.555, 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.2561/0.2561, allocations: 46.92 MB / 357.1 MB, free: 10.29 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.CutTorque3,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.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.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 71.89 kB / 0.4914 GB, free: 7.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1274, allocations: 65.99 MB / 0.5558 GB, free: 5.305 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01221/0.1396, allocations: 9.562 MB / 0.5652 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006394/0.146, allocations: 2.94 MB / 0.5681 GB, free: 8.738 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009159/0.1469, allocations: 59.81 kB / 0.5681 GB, free: 8.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003762/0.1507, allocations: 2.013 MB / 0.5701 GB, free: 6.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002471/0.1532, allocations: 1.133 MB / 0.5712 GB, free: 5.523 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006735/0.1539, allocations: 287.5 kB / 0.5715 GB, free: 5.242 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002929/0.1568, allocations: 2.337 MB / 0.5737 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0023/0.1591, allocations: 1.91 MB / 0.5756 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.1601, allocations: 0.8879 MB / 0.5765 GB, free: 60 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.1617, allocations: 1.258 MB / 0.5777 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003078/0.162, allocations: 192 kB / 0.5779 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.1633, allocations: 0.7292 MB / 0.5786 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001142/0.1644, allocations: 1.133 MB / 0.5797 GB, free: 12.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.1658, allocations: 1.305 MB / 0.581 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00504/0.1708, allocations: 4.342 MB / 0.5852 GB, free: 7.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1708, allocations: 0 / 0.5852 GB, free: 7.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1708, allocations: 0 / 0.5852 GB, free: 7.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.725e-05/0.1709, allocations: 0 / 0.5852 GB, free: 7.07 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.005058/0.176, allocations: 2.938 MB / 0.5881 GB, free: 4.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.176, allocations: 8.031 kB / 0.5881 GB, free: 4.062 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005586/0.1816, allocations: 1.582 MB / 0.5896 GB, free: 2.477 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002602/0.1842, allocations: 1.336 MB / 0.5909 GB, free: 1.094 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.1843, allocations: 148 kB / 0.5911 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003598/0.1847, allocations: 191.8 kB / 0.5913 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2457/0.4303, allocations: 6.244 MB / 0.5974 GB, free: 31.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.858e-05/0.4304, allocations: 16.81 kB / 0.5974 GB, free: 31.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002557/0.4307, allocations: 88.22 kB / 0.5975 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002455/0.4331, allocations: 1.339 MB / 0.5988 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01335/0.4465, allocations: 5.329 MB / 0.604 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02519/0.4717, allocations: 20.07 MB / 0.6236 GB, free: 16.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003822/0.4755, allocations: 1.949 MB / 0.6255 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007842/0.4763, allocations: 0.6356 MB / 0.6261 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005729/0.482, allocations: 3.625 MB / 0.6296 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.482, allocations: 39 kB / 0.6297 GB, free: 12.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.637e-06/0.482, allocations: 5.031 kB / 0.6297 GB, free: 12.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.00501/0.487, allocations: 1.984 MB / 0.6316 GB, free: 10.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.4871, allocations: 63.83 kB / 0.6317 GB, free: 10.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002206/0.4893, allocations: 1.944 MB / 0.6336 GB, free: 8.977 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.4893, allocations: 29.7 kB / 0.6336 GB, free: 8.941 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007233/0.49, allocations: 1.915 MB / 0.6355 GB, free: 7.152 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.4902, allocations: 325.5 kB / 0.6358 GB, free: 6.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005847/0.4908, allocations: 0.6253 MB / 0.6364 GB, free: 6.207 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.186e-05/0.4909, allocations: 357.9 kB / 0.6367 GB, free: 5.852 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000954/0.4918, allocations: 0.8842 MB / 0.6376 GB, free: 4.965 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.4933, allocations: 2.747 MB / 0.6403 GB, free: 1.285 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004206/0.4975, allocations: 3.978 MB / 0.6442 GB, free: 12.38 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.064e-05/0.4975, allocations: 16 kB / 0.6442 GB, free: 12.37 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005545/0.5031, allocations: 3.533 MB / 0.6476 GB, free: 8.832 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.945e-05/0.5031, allocations: 32 kB / 0.6477 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.569e-05/0.5032, allocations: 64 kB / 0.6477 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.902e-05/0.5033, allocations: 91.94 kB / 0.6478 GB, free: 8.648 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/0.5052, allocations: 0.6511 MB / 0.6485 GB, free: 7.996 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001208/0.5053, allocations: 131.5 kB / 0.6486 GB, free: 7.867 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.5071, allocations: 433 kB / 0.649 GB, free: 7.441 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002575/0.5074, allocations: 187.9 kB / 0.6492 GB, free: 7.262 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.00204/0.5094, allocations: 1.346 MB / 0.6505 GB, free: 5.906 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002562/0.5097, allocations: 162.9 kB / 0.6506 GB, free: 5.746 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004149/0.5101, allocations: 196.9 kB / 0.6508 GB, free: 5.547 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-05/0.5101, allocations: 15.92 kB / 0.6508 GB, free: 5.531 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.5101, allocations: 0 / 0.6508 GB, free: 5.531 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.5101, allocations: 7.984 kB / 0.6509 GB, free: 5.523 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006678/0.5168, allocations: 4.033 MB / 0.6548 GB, free: 1.348 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.5168, allocations: 8 kB / 0.6548 GB, free: 1.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004206/0.5172, allocations: 104.7 kB / 0.6549 GB, free: 1.238 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.59e-05/0.5172, allocations: 12 kB / 0.6549 GB, free: 1.227 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/0.5173, allocations: 20 kB / 0.6549 GB, free: 1.207 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.237e-05/0.5173, allocations: 11.98 kB / 0.6549 GB, free: 1.195 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/0.5173, allocations: 11.94 kB / 0.655 GB, free: 1.184 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.519, allocations: 1.271 MB / 0.6562 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004005/0.5194, allocations: 259.7 kB / 0.6564 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.5196, allocations: 16 kB / 0.6565 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004866/0.52, allocations: 31.92 kB / 0.6565 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.5202, allocations: 51.83 kB / 0.6565 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.176e-05/0.5202, allocations: 32 kB / 0.6566 GB, free: 15.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001854/0.5221, allocations: 1.267 MB / 0.6578 GB, free: 14.14 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5221, allocations: 0 / 0.6578 GB, free: 14.14 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002435/0.5245, allocations: 0.6968 MB / 0.6585 GB, free: 13.45 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.0003086/0.5248, allocations: 143 kB / 0.6586 GB, free: 13.29 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003252/0.5281, allocations: 1.958 MB / 0.6605 GB, free: 11.36 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5281, allocations: 0 / 0.6605 GB, free: 11.36 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005991/0.5287, allocations: 437.7 kB / 0.661 GB, free: 10.93 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.5299, allocations: 238.6 kB / 0.6612 GB, free: 10.71 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008266/0.5381, allocations: 5.122 MB / 0.6662 GB, free: 5.457 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002626/0.5407, allocations: 2.275 MB / 0.6684 GB, free: 3.148 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002178/0.5429, allocations: 0.9569 MB / 0.6693 GB, free: 2.188 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/0.5432, allocations: 119.4 kB / 0.6695 GB, free: 2.07 MB / 478.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5432, allocations: 4 kB / 0.6695 GB, free: 2.066 MB / 478.1 MB Notification: Performance of Templates: time 0.0342/0.5774, allocations: 15.24 MB / 0.6843 GB, free: 2.875 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.931090265512466]