Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.001363/0.001362, allocations: 117.2 kB / 18.46 MB, free: 4.59 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.001347/0.001346, allocations: 210.6 kB / 21.41 MB, free: 1.645 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.455/1.455, allocations: 227.4 MB / 251.7 MB, free: 252 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.2265/0.2265, allocations: 46.17 MB / 351.1 MB, free: 14.29 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 80.91 kB / 490.2 MB, free: 27.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1343, allocations: 62.45 MB / 0.5397 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01186/0.1462, allocations: 9.515 MB / 0.549 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006003/0.1523, allocations: 2.924 MB / 0.5518 GB, free: 7.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.1537, allocations: 51.88 kB / 0.5519 GB, free: 7.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003794/0.1575, allocations: 2.005 MB / 0.5538 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002661/0.1602, allocations: 1.104 MB / 0.5549 GB, free: 4.562 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007373/0.1609, allocations: 287.4 kB / 0.5552 GB, free: 4.281 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003514/0.1645, allocations: 2.33 MB / 0.5575 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002845/0.1673, allocations: 2.305 MB / 0.5597 GB, free: 15.6 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.1685, allocations: 0.884 MB / 0.5606 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.1699, allocations: 1.149 MB / 0.5617 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000308/0.1702, allocations: 192 kB / 0.5619 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.1716, allocations: 0.7021 MB / 0.5626 GB, free: 12.67 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001062/0.1726, allocations: 1.103 MB / 0.5636 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.1739, allocations: 1.316 MB / 0.5649 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00509/0.179, allocations: 4.322 MB / 0.5691 GB, free: 5.898 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1791, allocations: 0 / 0.5691 GB, free: 5.898 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1791, allocations: 0 / 0.5691 GB, free: 5.898 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.086e-05/0.1792, allocations: 4 kB / 0.5692 GB, free: 5.895 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.00541/0.1846, allocations: 2.934 MB / 0.572 GB, free: 2.898 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1846, allocations: 16.03 kB / 0.572 GB, free: 2.883 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005028/0.1897, allocations: 1.571 MB / 0.5736 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/0.1922, allocations: 1.348 MB / 0.5749 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.1923, allocations: 144 kB / 0.575 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003243/0.1927, allocations: 187.8 kB / 0.5752 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009917/0.2026, allocations: 6.246 MB / 0.5813 GB, free: 9.074 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.161e-05/0.2027, allocations: 11.88 kB / 0.5813 GB, free: 9.062 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002412/0.2029, allocations: 91.91 kB / 0.5814 GB, free: 8.973 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0021/0.205, allocations: 1.348 MB / 0.5827 GB, free: 7.621 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009802/0.2149, allocations: 5.33 MB / 0.5879 GB, free: 2.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3331/0.548, allocations: 20.02 MB / 0.6075 GB, free: 47.54 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004486/0.5526, allocations: 2.079 MB / 0.6095 GB, free: 46.92 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/0.5538, allocations: 0.6946 MB / 0.6102 GB, free: 46.9 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006597/0.5604, allocations: 3.497 MB / 0.6136 GB, free: 45.9 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/0.5605, allocations: 41.69 kB / 0.6136 GB, free: 45.86 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 5.33e-06/0.5605, allocations: 1.312 kB / 0.6136 GB, free: 45.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005713/0.5662, allocations: 1.979 MB / 0.6156 GB, free: 45.42 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.5663, allocations: 61.81 kB / 0.6156 GB, free: 45.36 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003193/0.5695, allocations: 1.939 MB / 0.6175 GB, free: 44.66 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.841e-05/0.5696, allocations: 38.17 kB / 0.6176 GB, free: 44.62 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001192/0.5708, allocations: 1.914 MB / 0.6194 GB, free: 43.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003165/0.5711, allocations: 322.3 kB / 0.6197 GB, free: 43.18 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008253/0.572, allocations: 0.6225 MB / 0.6203 GB, free: 42.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.5721, allocations: 354.8 kB / 0.6207 GB, free: 42.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/0.5737, allocations: 0.8925 MB / 0.6216 GB, free: 42.29 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002465/0.5761, allocations: 2.748 MB / 0.6242 GB, free: 39.53 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004309/0.5805, allocations: 3.973 MB / 0.6281 GB, free: 36.15 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.097e-05/0.5806, allocations: 22.03 kB / 0.6281 GB, free: 36.15 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006201/0.5868, allocations: 3.534 MB / 0.6316 GB, free: 34.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/0.5869, allocations: 41.84 kB / 0.6316 GB, free: 34.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.895e-05/0.587, allocations: 65.38 kB / 0.6317 GB, free: 34.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001041/0.5871, allocations: 87.41 kB / 0.6318 GB, free: 34.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/0.5888, allocations: 0.6561 MB / 0.6324 GB, free: 34.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.6e-05/0.5889, allocations: 129.4 kB / 0.6325 GB, free: 34.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002035/0.591, allocations: 422.1 kB / 0.6329 GB, free: 34.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000232/0.5912, allocations: 189.9 kB / 0.6331 GB, free: 34.39 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 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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.002008/0.5932, allocations: 1.342 MB / 0.6344 GB, free: 33.76 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.5935, allocations: 174 kB / 0.6346 GB, free: 33.66 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.5938, allocations: 199.4 kB / 0.6348 GB, free: 33.55 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-05/0.5939, allocations: 11.88 kB / 0.6348 GB, free: 33.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.88e-05/0.5939, allocations: 0 / 0.6348 GB, free: 33.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.5939, allocations: 5.297 kB / 0.6348 GB, free: 33.55 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005724/0.5996, allocations: 4.074 MB / 0.6388 GB, free: 31.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.5997, allocations: 7.75 kB / 0.6388 GB, free: 31.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003435/0.6, allocations: 100.4 kB / 0.6389 GB, free: 31.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.6001, allocations: 11 kB / 0.6389 GB, free: 31.88 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.033e-05/0.6001, allocations: 18.55 kB / 0.6389 GB, free: 31.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/0.6001, allocations: 7.188 kB / 0.6389 GB, free: 31.88 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.6001, allocations: 13.66 kB / 0.6389 GB, free: 31.88 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.6013, allocations: 1.248 MB / 0.6402 GB, free: 31.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003384/0.6016, allocations: 258.9 kB / 0.6404 GB, free: 30.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.6018, allocations: 22.12 kB / 0.6404 GB, free: 30.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004267/0.6022, allocations: 22.78 kB / 0.6404 GB, free: 30.94 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.999e-05/0.6023, allocations: 54.33 kB / 0.6405 GB, free: 30.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/0.6023, allocations: 27.19 kB / 0.6405 GB, free: 30.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001402/0.6038, allocations: 1.271 MB / 0.6418 GB, free: 30.47 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6038, allocations: 0 / 0.6418 GB, free: 30.47 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002574/0.6063, allocations: 0.6899 MB / 0.6424 GB, free: 30.25 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.0003065/0.6067, allocations: 146.5 kB / 0.6426 GB, free: 30.13 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002594/0.6093, allocations: 2.036 MB / 0.6446 GB, free: 28.59 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.6093, allocations: 0 / 0.6446 GB, free: 28.59 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004105/0.6097, allocations: 463.6 kB / 0.645 GB, free: 28.14 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.6109, allocations: 225 kB / 0.6452 GB, free: 27.93 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006419/0.6173, allocations: 5.091 MB / 0.6502 GB, free: 22.74 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/0.619, allocations: 2.269 MB / 0.6524 GB, free: 20.45 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00167/0.6207, allocations: 0.9529 MB / 0.6533 GB, free: 19.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.6209, allocations: 119.4 kB / 0.6534 GB, free: 19.38 MB / 462.1 MB Notification: Performance of SimCode: time 1.313e-06/0.6209, allocations: 4 kB / 0.6535 GB, free: 19.38 MB / 462.1 MB Notification: Performance of Templates: time 0.02606/0.647, allocations: 15.03 MB / 0.6681 GB, free: 4.402 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.7431465005502105]