Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.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.002511/0.002511, allocations: 99.53 kB / 20.96 MB, free: 3.457 MB / 18.57 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.002838/0.002838, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.6/1.6, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 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.3706/0.3706, allocations: 34.25 MB / 295.2 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] 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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.681e-05/3.882e-05, allocations: 8.781 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.03052/0.03056, allocations: 14.36 MB / 391.6 MB, free: 4.504 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01304/0.0436, allocations: 4.952 MB / 396.5 MB, free: 15.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003335/0.04693, allocations: 139.3 kB / 396.7 MB, free: 15.4 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01446/0.0614, allocations: 6.414 MB / 403.1 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008903/0.0703, allocations: 2.92 MB / 406 MB, free: 6.031 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00442/0.07472, allocations: 1.789 MB / 407.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01642/0.09114, allocations: 9.128 MB / 416.9 MB, free: 11.1 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01192/0.1031, allocations: 6.576 MB / 423.5 MB, free: 4.43 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01123/0.1143, allocations: 4.51 MB / 428 MB, free: 15.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008936/0.1232, allocations: 4.451 MB / 432.4 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002744/0.126, allocations: 0.5859 MB / 433 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005038/0.131, allocations: 1.365 MB / 434.4 MB, free: 9.496 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006612/0.1376, allocations: 3.822 MB / 438.2 MB, free: 5.664 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006516/0.1441, allocations: 2.294 MB / 440.5 MB, free: 3.363 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2016/0.3457, allocations: 11.75 MB / 452.3 MB, free: 66.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3457, allocations: 0 / 452.3 MB, free: 66.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3457, allocations: 0 / 452.3 MB, free: 66.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005305/0.3463, allocations: 0 / 452.3 MB, free: 66.93 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.02224/0.3685, allocations: 9.997 MB / 462.3 MB, free: 63.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3685, allocations: 9.781 kB / 462.3 MB, free: 63.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/0.3801, allocations: 3.341 MB / 465.6 MB, free: 63.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01034/0.3904, allocations: 4.075 MB / 469.7 MB, free: 62.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003191/0.3907, allocations: 412.5 kB / 470.1 MB, free: 62.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001944/0.3927, allocations: 0.5398 MB / 470.6 MB, free: 62.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02635/0.419, allocations: 11.05 MB / 481.7 MB, free: 55.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00023/0.4193, allocations: 68.19 kB / 481.7 MB, free: 55.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009316/0.4202, allocations: 266.9 kB / 482 MB, free: 55.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005348/0.4255, allocations: 2.927 MB / 484.9 MB, free: 55.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02172/0.4473, allocations: 5.536 MB / 490.5 MB, free: 54.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08504/0.5323, allocations: 78.09 MB / 0.5552 GB, free: 5.688 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01467/0.547, allocations: 3.672 MB / 0.5588 GB, free: 1.977 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0021/0.5491, allocations: 0.8123 MB / 0.5596 GB, free: 1.152 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01897/0.568, allocations: 6.459 MB / 0.5659 GB, free: 10.76 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.481e-05/0.5681, allocations: 57.52 kB / 0.566 GB, free: 10.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=182): time 5.931e-06/0.5681, allocations: 0 / 0.566 GB, free: 10.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=206): time 0.06588/0.634, allocations: 13.3 MB / 0.579 GB, free: 13.47 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001755/0.6342, allocations: 161.6 kB / 0.5791 GB, free: 13.29 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01724/0.6514, allocations: 6.81 MB / 0.5858 GB, free: 6.492 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003862/0.6518, allocations: 53.7 kB / 0.5858 GB, free: 6.434 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006798/0.6586, allocations: 5.79 MB / 0.5915 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001476/0.6601, allocations: 0.9171 MB / 0.5924 GB, free: 15.78 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003819/0.6639, allocations: 2.115 MB / 0.5944 GB, free: 13.65 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002703/0.6642, allocations: 480.8 kB / 0.5949 GB, free: 13.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002417/0.6666, allocations: 0.8712 MB / 0.5957 GB, free: 12.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1828/0.8494, allocations: 9.043 MB / 0.6046 GB, free: 131.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/0.8608, allocations: 10.89 MB / 0.6152 GB, free: 120.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002745/0.8611, allocations: 53.16 kB / 0.6153 GB, free: 120.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01541/0.8765, allocations: 7.23 MB / 0.6223 GB, free: 118.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.8767, allocations: 88.83 kB / 0.6224 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002157/0.8769, allocations: 189.2 kB / 0.6226 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002306/0.8771, allocations: 251.1 kB / 0.6228 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005784/0.8829, allocations: 1.94 MB / 0.6247 GB, free: 118.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002335/0.8831, allocations: 371 kB / 0.6251 GB, free: 118.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00676/0.8899, allocations: 0.6311 MB / 0.6257 GB, free: 118.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000929/0.8908, allocations: 0.5145 MB / 0.6262 GB, free: 118.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1032 * Array equations: 11 * 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.002877/0.8937, allocations: 0.9836 MB / 0.6272 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/0.8947, allocations: 0.5618 MB / 0.6277 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.8957, allocations: 498.2 kB / 0.6282 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-05/0.8958, allocations: 25.28 kB / 0.6282 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.8958, allocations: 2.781 kB / 0.6282 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/0.8958, allocations: 10.73 kB / 0.6282 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02355/0.9193, allocations: 11.44 MB / 0.6394 GB, free: 115.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.813e-05/0.9194, allocations: 38.5 kB / 0.6394 GB, free: 115.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/0.9207, allocations: 382.9 kB / 0.6398 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.747e-05/0.9207, allocations: 50.84 kB / 0.6398 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/0.9209, allocations: 95.41 kB / 0.6399 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.852e-05/0.921, allocations: 72.66 kB / 0.64 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-05/0.921, allocations: 63.45 kB / 0.6401 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004043/0.925, allocations: 3.712 MB / 0.6437 GB, free: 112.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001691/0.9267, allocations: 0.5776 MB / 0.6442 GB, free: 112.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006572/0.9274, allocations: 94.09 kB / 0.6443 GB, free: 112.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002357/0.9297, allocations: 224.9 kB / 0.6446 GB, free: 112.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002723/0.93, allocations: 263.6 kB / 0.6448 GB, free: 112.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.9302, allocations: 112 kB / 0.6449 GB, free: 112.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005156/0.9353, allocations: 2.858 MB / 0.6477 GB, free: 111.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.9353, allocations: 0 / 0.6477 GB, free: 111.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008857/0.9442, allocations: 1.493 MB / 0.6492 GB, free: 111.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.000779/0.9449, allocations: 261 kB / 0.6494 GB, free: 111.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008176/0.9531, allocations: 3.988 MB / 0.6533 GB, free: 109.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.89e-05/0.9532, allocations: 7.625 kB / 0.6533 GB, free: 109.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00134/0.9545, allocations: 0.7244 MB / 0.654 GB, free: 109.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006/0.9605, allocations: 0.8038 MB / 0.6548 GB, free: 109.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02372/0.9842, allocations: 13.47 MB / 0.668 GB, free: 97.61 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005819/0.9901, allocations: 4.157 MB / 0.672 GB, free: 94.67 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005354/0.9954, allocations: 2.174 MB / 0.6741 GB, free: 93.39 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009078/0.9963, allocations: 341.7 kB / 0.6745 GB, free: 93.08 MB / 474.7 MB Notification: Performance of SimCode: time 2.444e-06/0.9963, allocations: 0 / 0.6745 GB, free: 93.08 MB / 474.7 MB Notification: Performance of Templates: time 0.06944/1.066, allocations: 33.28 MB / 0.707 GB, free: 61.67 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.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: 7.867791348020546]