Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.001795/0.001795, allocations: 124.8 kB / 18.46 MB, free: 4.605 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.001958/0.001958, allocations: 201 kB / 21.4 MB, free: 1.664 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.486/1.486, allocations: 227.4 MB / 251.6 MB, free: 56 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.2382/0.2382, allocations: 46.17 MB / 351.1 MB, free: 14.27 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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 81.39 kB / 490.2 MB, free: 27.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.132, allocations: 62.44 MB / 0.5397 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01193/0.1439, allocations: 9.52 MB / 0.549 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007314/0.1513, allocations: 2.928 MB / 0.5518 GB, free: 7.715 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.1528, allocations: 47.94 kB / 0.5519 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003956/0.1568, allocations: 2.005 MB / 0.5538 GB, free: 5.656 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002928/0.1598, allocations: 1.101 MB / 0.5549 GB, free: 4.551 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007894/0.1606, allocations: 287.4 kB / 0.5552 GB, free: 4.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003449/0.1641, allocations: 2.337 MB / 0.5575 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00283/0.1669, allocations: 2.301 MB / 0.5597 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/0.1682, allocations: 0.8839 MB / 0.5606 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001574/0.1698, allocations: 1.153 MB / 0.5617 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003847/0.1702, allocations: 196 kB / 0.5619 GB, free: 13.35 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.1716, allocations: 0.6904 MB / 0.5626 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001194/0.1728, allocations: 1.103 MB / 0.5636 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001445/0.1742, allocations: 1.308 MB / 0.5649 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005565/0.1798, allocations: 4.334 MB / 0.5691 GB, free: 5.887 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1798, allocations: 4 kB / 0.5691 GB, free: 5.883 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1798, allocations: 0 / 0.5691 GB, free: 5.883 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.941e-05/0.1799, allocations: 0 / 0.5691 GB, free: 5.883 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.006747/0.1867, allocations: 2.934 MB / 0.572 GB, free: 2.887 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.1868, allocations: 8.031 kB / 0.572 GB, free: 2.879 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005287/0.1921, allocations: 1.574 MB / 0.5736 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002618/0.1947, allocations: 1.34 MB / 0.5749 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.1949, allocations: 151.6 kB / 0.575 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003169/0.1952, allocations: 187.9 kB / 0.5752 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01026/0.2054, allocations: 6.246 MB / 0.5813 GB, free: 9.066 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.885e-05/0.2055, allocations: 11.88 kB / 0.5813 GB, free: 9.055 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002591/0.2058, allocations: 91.91 kB / 0.5814 GB, free: 8.965 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002159/0.208, allocations: 1.344 MB / 0.5827 GB, free: 7.617 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.2184, allocations: 5.338 MB / 0.5879 GB, free: 2.258 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3457/0.5641, allocations: 20.01 MB / 0.6075 GB, free: 47.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003976/0.5681, allocations: 2.08 MB / 0.6095 GB, free: 46.89 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009368/0.569, allocations: 0.6921 MB / 0.6102 GB, free: 46.87 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00549/0.5745, allocations: 3.491 MB / 0.6136 GB, free: 45.87 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.5746, allocations: 43.14 kB / 0.6136 GB, free: 45.83 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.707e-06/0.5746, allocations: 0 / 0.6136 GB, free: 45.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005589/0.5802, allocations: 1.989 MB / 0.6156 GB, free: 45.39 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.5803, allocations: 58.66 kB / 0.6156 GB, free: 45.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003037/0.5833, allocations: 1.939 MB / 0.6175 GB, free: 44.63 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.364e-05/0.5834, allocations: 36.02 kB / 0.6175 GB, free: 44.59 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001543/0.5849, allocations: 1.908 MB / 0.6194 GB, free: 43.38 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003321/0.5853, allocations: 330.3 kB / 0.6197 GB, free: 43.15 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000916/0.5862, allocations: 0.6234 MB / 0.6203 GB, free: 42.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.5863, allocations: 355.8 kB / 0.6207 GB, free: 42.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/0.5879, allocations: 0.8828 MB / 0.6215 GB, free: 42.26 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002504/0.5904, allocations: 2.757 MB / 0.6242 GB, free: 39.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004211/0.5946, allocations: 3.975 MB / 0.6281 GB, free: 36.11 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-05/0.5947, allocations: 21.92 kB / 0.6281 GB, free: 36.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00522/0.5999, allocations: 3.533 MB / 0.6316 GB, free: 34.76 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.786e-05/0.6, allocations: 33.84 kB / 0.6316 GB, free: 34.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.294e-05/0.6001, allocations: 65.69 kB / 0.6317 GB, free: 34.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001159/0.6002, allocations: 87.28 kB / 0.6318 GB, free: 34.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.6019, allocations: 0.6586 MB / 0.6324 GB, free: 34.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.859e-05/0.602, allocations: 134.1 kB / 0.6325 GB, free: 34.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.6038, allocations: 422.3 kB / 0.6329 GB, free: 34.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/0.604, allocations: 196.5 kB / 0.6331 GB, free: 34.35 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.001513/0.6055, allocations: 1.337 MB / 0.6344 GB, free: 33.73 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.6057, allocations: 173.6 kB / 0.6346 GB, free: 33.62 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002903/0.606, allocations: 198.9 kB / 0.6348 GB, free: 33.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.606, allocations: 11.88 kB / 0.6348 GB, free: 33.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.606, allocations: 3.938 kB / 0.6348 GB, free: 33.51 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.606, allocations: 3.328 kB / 0.6348 GB, free: 33.51 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004675/0.6107, allocations: 4.07 MB / 0.6388 GB, free: 31.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.6107, allocations: 7.312 kB / 0.6388 GB, free: 31.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003207/0.6111, allocations: 98 kB / 0.6389 GB, free: 31.85 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.6111, allocations: 11.38 kB / 0.6389 GB, free: 31.85 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.6111, allocations: 15.69 kB / 0.6389 GB, free: 31.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/0.6111, allocations: 19.56 kB / 0.6389 GB, free: 31.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.6111, allocations: 7.125 kB / 0.6389 GB, free: 31.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009564/0.6121, allocations: 1.253 MB / 0.6401 GB, free: 31.12 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.6123, allocations: 258.1 kB / 0.6404 GB, free: 30.91 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.6125, allocations: 13.22 kB / 0.6404 GB, free: 30.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004135/0.6129, allocations: 29.05 kB / 0.6404 GB, free: 30.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/0.613, allocations: 52.02 kB / 0.6405 GB, free: 30.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.613, allocations: 34.36 kB / 0.6405 GB, free: 30.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001169/0.6142, allocations: 1.27 MB / 0.6418 GB, free: 30.44 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6142, allocations: 0 / 0.6418 GB, free: 30.44 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002013/0.6162, allocations: 0.6932 MB / 0.6424 GB, free: 30.21 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.0002399/0.6165, allocations: 139.3 kB / 0.6426 GB, free: 30.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002169/0.6187, allocations: 2.037 MB / 0.6446 GB, free: 28.56 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6187, allocations: 4 kB / 0.6446 GB, free: 28.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003795/0.6191, allocations: 459.4 kB / 0.645 GB, free: 28.11 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.6201, allocations: 232.9 kB / 0.6452 GB, free: 27.89 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00582/0.6259, allocations: 5.078 MB / 0.6502 GB, free: 22.72 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/0.6275, allocations: 2.273 MB / 0.6524 GB, free: 20.42 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001567/0.6291, allocations: 0.9502 MB / 0.6533 GB, free: 19.47 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.6293, allocations: 123.4 kB / 0.6534 GB, free: 19.35 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.6293, allocations: 0 / 0.6534 GB, free: 19.35 MB / 462.1 MB Notification: Performance of Templates: time 0.02329/0.6526, allocations: 15.04 MB / 0.6681 GB, free: 4.367 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.7174628879874945]