Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001668/0.001668, allocations: 118 kB / 18.46 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002121/0.002121, allocations: 207.4 kB / 21.4 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 227.4 MB / 251.6 MB, free: 80 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2463/0.2463, allocations: 46.16 MB / 351.1 MB, free: 14.38 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 81.23 kB / 490.2 MB, free: 27.85 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1182, allocations: 62.45 MB / 0.5397 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01178/0.1301, allocations: 9.523 MB / 0.549 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006089/0.1362, allocations: 2.92 MB / 0.5518 GB, free: 7.754 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.1373, allocations: 55.88 kB / 0.5519 GB, free: 7.699 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003764/0.1411, allocations: 1.994 MB / 0.5538 GB, free: 5.699 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002677/0.1439, allocations: 1.109 MB / 0.5549 GB, free: 4.586 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006951/0.1446, allocations: 287.5 kB / 0.5552 GB, free: 4.305 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003039/0.1476, allocations: 2.336 MB / 0.5575 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002681/0.1503, allocations: 2.301 MB / 0.5597 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.1514, allocations: 0.8762 MB / 0.5606 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.153, allocations: 1.156 MB / 0.5617 GB, free: 13.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003523/0.1533, allocations: 192 kB / 0.5619 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.1546, allocations: 0.6982 MB / 0.5626 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001182/0.1558, allocations: 1.107 MB / 0.5636 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001345/0.1572, allocations: 1.305 MB / 0.5649 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004961/0.1622, allocations: 4.338 MB / 0.5691 GB, free: 5.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1622, allocations: 0 / 0.5691 GB, free: 5.918 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1622, allocations: 0 / 0.5691 GB, free: 5.918 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.899e-05/0.1623, allocations: 0 / 0.5691 GB, free: 5.918 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.005943/0.1683, allocations: 2.934 MB / 0.572 GB, free: 2.922 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.1683, allocations: 8.031 kB / 0.572 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005113/0.1734, allocations: 1.578 MB / 0.5736 GB, free: 1.332 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002586/0.176, allocations: 1.34 MB / 0.5749 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.1762, allocations: 140 kB / 0.575 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003344/0.1765, allocations: 199.8 kB / 0.5752 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/0.1865, allocations: 6.254 MB / 0.5813 GB, free: 9.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.424e-05/0.1866, allocations: 15.88 kB / 0.5813 GB, free: 9.074 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002396/0.1869, allocations: 87.91 kB / 0.5814 GB, free: 8.988 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002176/0.189, allocations: 1.344 MB / 0.5827 GB, free: 7.641 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009858/0.1989, allocations: 5.33 MB / 0.5879 GB, free: 2.289 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2949/0.4939, allocations: 20.06 MB / 0.6075 GB, free: 47.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004094/0.498, allocations: 2.005 MB / 0.6095 GB, free: 46.56 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.4991, allocations: 0.6947 MB / 0.6101 GB, free: 46.54 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006886/0.506, allocations: 3.619 MB / 0.6137 GB, free: 45.54 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.506, allocations: 38.66 kB / 0.6137 GB, free: 45.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.797e-06/0.5061, allocations: 0 / 0.6137 GB, free: 45.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005525/0.5116, allocations: 1.993 MB / 0.6157 GB, free: 45.35 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.5117, allocations: 58 kB / 0.6157 GB, free: 45.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002634/0.5143, allocations: 1.939 MB / 0.6176 GB, free: 44.6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.176e-05/0.5144, allocations: 37.14 kB / 0.6176 GB, free: 44.56 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009865/0.5154, allocations: 1.911 MB / 0.6195 GB, free: 43.34 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/0.5156, allocations: 324.8 kB / 0.6198 GB, free: 43.12 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006793/0.5163, allocations: 0.6253 MB / 0.6204 GB, free: 42.81 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.009e-05/0.5164, allocations: 357.8 kB / 0.6208 GB, free: 42.49 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.5177, allocations: 0.8887 MB / 0.6216 GB, free: 42.22 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001878/0.5196, allocations: 2.747 MB / 0.6243 GB, free: 39.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003507/0.5232, allocations: 3.973 MB / 0.6282 GB, free: 36.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.295e-05/0.5232, allocations: 18.75 kB / 0.6282 GB, free: 36.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005247/0.5285, allocations: 3.533 MB / 0.6317 GB, free: 34.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.225e-05/0.5286, allocations: 32.47 kB / 0.6317 GB, free: 34.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.839e-05/0.5287, allocations: 71.23 kB / 0.6318 GB, free: 34.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001066/0.5288, allocations: 86.78 kB / 0.6318 GB, free: 34.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/0.5304, allocations: 0.6541 MB / 0.6325 GB, free: 34.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.961e-05/0.5305, allocations: 142.3 kB / 0.6326 GB, free: 34.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.5322, allocations: 422.2 kB / 0.633 GB, free: 34.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.5324, allocations: 188.4 kB / 0.6332 GB, free: 34.32 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.001452/0.5339, allocations: 1.337 MB / 0.6345 GB, free: 33.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.534, allocations: 171.4 kB / 0.6347 GB, free: 33.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003002/0.5344, allocations: 200.2 kB / 0.6349 GB, free: 33.49 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/0.5344, allocations: 9.188 kB / 0.6349 GB, free: 33.49 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/0.5344, allocations: 3.938 kB / 0.6349 GB, free: 33.49 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.5344, allocations: 5.984 kB / 0.6349 GB, free: 33.49 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004987/0.5394, allocations: 4.025 MB / 0.6388 GB, free: 31.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.5394, allocations: 7.5 kB / 0.6388 GB, free: 31.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/0.5398, allocations: 103.6 kB / 0.6389 GB, free: 31.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.5398, allocations: 7.062 kB / 0.6389 GB, free: 31.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.883e-05/0.5399, allocations: 26.44 kB / 0.639 GB, free: 31.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.5399, allocations: 14.8 kB / 0.639 GB, free: 31.79 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.5399, allocations: 12.34 kB / 0.639 GB, free: 31.79 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009728/0.5409, allocations: 1.27 MB / 0.6402 GB, free: 31.06 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002907/0.5412, allocations: 258.5 kB / 0.6405 GB, free: 30.85 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.5413, allocations: 17.73 kB / 0.6405 GB, free: 30.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004505/0.5418, allocations: 32.41 kB / 0.6405 GB, free: 30.83 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.396e-05/0.5419, allocations: 60.94 kB / 0.6406 GB, free: 30.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.938e-05/0.5419, allocations: 32.19 kB / 0.6406 GB, free: 30.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001342/0.5433, allocations: 1.265 MB / 0.6418 GB, free: 30.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.5433, allocations: 3.562 kB / 0.6418 GB, free: 30.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002204/0.5455, allocations: 0.6875 MB / 0.6425 GB, free: 30.14 MB / 462.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.0002628/0.5458, allocations: 139.5 kB / 0.6426 GB, free: 30.03 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002287/0.5481, allocations: 2.053 MB / 0.6447 GB, free: 28.38 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.5481, allocations: 8.125 kB / 0.6447 GB, free: 28.38 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003938/0.5485, allocations: 465.1 kB / 0.6451 GB, free: 27.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.5496, allocations: 237.3 kB / 0.6453 GB, free: 27.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005768/0.5554, allocations: 5.119 MB / 0.6503 GB, free: 22.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/0.557, allocations: 2.274 MB / 0.6526 GB, free: 20.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001606/0.5586, allocations: 0.9592 MB / 0.6535 GB, free: 19.22 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.5588, allocations: 127.4 kB / 0.6536 GB, free: 19.1 MB / 462.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5588, allocations: 0 / 0.6536 GB, free: 19.1 MB / 462.1 MB Notification: Performance of Templates: time 0.02531/0.5841, allocations: 15 MB / 0.6683 GB, free: 4.156 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.749087325297296]