Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.001572/0.001572, allocations: 117 kB / 19.13 MB, free: 3.922 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.001776/0.001776, allocations: 206.5 kB / 22.07 MB, free: 0.9766 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.513/1.513, allocations: 227.4 MB / 252.3 MB, free: 100 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.2304/0.2304, allocations: 46.16 MB / 351.8 MB, free: 14.3 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.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002391, allocations: 77.02 kB / 490.9 MB, free: 28.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1316, allocations: 62.45 MB / 0.5403 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01228/0.1439, allocations: 10.1 MB / 0.5502 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007228/0.1512, allocations: 3.076 MB / 0.5532 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001618/0.1529, allocations: 63.81 kB / 0.5533 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005079/0.158, allocations: 2.601 MB / 0.5558 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003445/0.1615, allocations: 1.179 MB / 0.557 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.1626, allocations: 351.4 kB / 0.5573 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00418/0.1668, allocations: 2.552 MB / 0.5598 GB, free: 280 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004482/0.1713, allocations: 2.984 MB / 0.5627 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.1734, allocations: 1.071 MB / 0.5637 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00238/0.1758, allocations: 1.363 MB / 0.5651 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008679/0.1767, allocations: 252 kB / 0.5653 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001808/0.1786, allocations: 0.7528 MB / 0.5661 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001526/0.1801, allocations: 1.329 MB / 0.5674 GB, free: 8.477 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001834/0.1819, allocations: 1.561 MB / 0.5689 GB, free: 6.906 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006227/0.1882, allocations: 5.117 MB / 0.5739 GB, free: 1.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1882, allocations: 0 / 0.5739 GB, free: 1.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1882, allocations: 0 / 0.5739 GB, free: 1.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000139/0.1884, allocations: 0 / 0.5739 GB, free: 1.77 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.006908/0.1953, allocations: 3.353 MB / 0.5772 GB, free: 14.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1954, allocations: 12.03 kB / 0.5772 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005413/0.2008, allocations: 1.625 MB / 0.5787 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00307/0.2039, allocations: 1.505 MB / 0.5802 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/0.2041, allocations: 173 kB / 0.5804 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005192/0.2046, allocations: 243.8 kB / 0.5806 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01328/0.2179, allocations: 7.106 MB / 0.5876 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.695e-05/0.218, allocations: 15.88 kB / 0.5876 GB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007508/0.2188, allocations: 103.9 kB / 0.5877 GB, free: 3.195 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002496/0.2213, allocations: 1.451 MB / 0.5891 GB, free: 1.742 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01274/0.234, allocations: 5.941 MB / 0.5949 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3251/0.5592, allocations: 22.34 MB / 0.6167 GB, free: 46.19 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004974/0.5642, allocations: 2.188 MB / 0.6188 GB, free: 45.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.5655, allocations: 0.7692 MB / 0.6196 GB, free: 45.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00708/0.5726, allocations: 3.863 MB / 0.6234 GB, free: 43.26 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.5726, allocations: 42.34 kB / 0.6234 GB, free: 43.21 MB / 462.1 MB Notification: Performance of pre-optimization done (n=87): time 5.982e-06/0.5727, allocations: 3.891 kB / 0.6234 GB, free: 43.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=87): time 0.006397/0.5791, allocations: 2.252 MB / 0.6256 GB, free: 42.67 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.5791, allocations: 62.55 kB / 0.6257 GB, free: 42.6 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003711/0.5829, allocations: 2.062 MB / 0.6277 GB, free: 41.83 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.358e-05/0.5829, allocations: 45.94 kB / 0.6277 GB, free: 41.79 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001222/0.5842, allocations: 2.111 MB / 0.6298 GB, free: 40.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003375/0.5845, allocations: 360.2 kB / 0.6301 GB, free: 39.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009299/0.5854, allocations: 0.6534 MB / 0.6308 GB, free: 39.61 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5856, allocations: 362.8 kB / 0.6311 GB, free: 39.28 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.587, allocations: 0.9352 MB / 0.632 GB, free: 39 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002417/0.5895, allocations: 2.867 MB / 0.6348 GB, free: 36.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00375/0.5932, allocations: 4.154 MB / 0.6389 GB, free: 32.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001035/0.5934, allocations: 22.69 kB / 0.6389 GB, free: 32.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006013/0.5994, allocations: 3.714 MB / 0.6425 GB, free: 31.04 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.716e-05/0.5995, allocations: 35.78 kB / 0.6426 GB, free: 31.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.282e-05/0.5996, allocations: 66.06 kB / 0.6426 GB, free: 31.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.832e-05/0.5996, allocations: 96.36 kB / 0.6427 GB, free: 31.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/0.6015, allocations: 0.6835 MB / 0.6434 GB, free: 30.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.614e-05/0.6016, allocations: 135.6 kB / 0.6435 GB, free: 30.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/0.6037, allocations: 450.9 kB / 0.6439 GB, free: 30.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002744/0.604, allocations: 197.3 kB / 0.6441 GB, free: 30.61 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (382): * Single equations (assignments): 377 * 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.001971/0.606, allocations: 1.501 MB / 0.6456 GB, free: 29.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002574/0.6063, allocations: 177.9 kB / 0.6458 GB, free: 29.81 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003676/0.6066, allocations: 215.2 kB / 0.646 GB, free: 29.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/0.6067, allocations: 10.28 kB / 0.646 GB, free: 29.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/0.6067, allocations: 5.188 kB / 0.646 GB, free: 29.69 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.6067, allocations: 3.469 kB / 0.646 GB, free: 29.69 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007996/0.6147, allocations: 4.932 MB / 0.6508 GB, free: 26.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/0.6148, allocations: 8.562 kB / 0.6508 GB, free: 26.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004457/0.6152, allocations: 116.7 kB / 0.6509 GB, free: 26.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.394e-05/0.6152, allocations: 14.66 kB / 0.6509 GB, free: 26.89 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.6153, allocations: 29.56 kB / 0.651 GB, free: 26.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/0.6153, allocations: 10.75 kB / 0.651 GB, free: 26.88 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/0.6153, allocations: 20.44 kB / 0.651 GB, free: 26.88 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.6166, allocations: 1.414 MB / 0.6524 GB, free: 25.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004794/0.6171, allocations: 303.3 kB / 0.6527 GB, free: 25.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003311/0.6174, allocations: 23.98 kB / 0.6527 GB, free: 25.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006848/0.6181, allocations: 31.94 kB / 0.6527 GB, free: 25.15 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.471e-05/0.6182, allocations: 68.5 kB / 0.6528 GB, free: 25.08 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.896e-05/0.6183, allocations: 39.92 kB / 0.6528 GB, free: 25.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001925/0.6202, allocations: 1.448 MB / 0.6542 GB, free: 23.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6203, allocations: 0 / 0.6542 GB, free: 23.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002908/0.6232, allocations: 0.7776 MB / 0.655 GB, free: 22.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.0003651/0.6235, allocations: 143 kB / 0.6551 GB, free: 22.65 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002947/0.6265, allocations: 2.17 MB / 0.6573 GB, free: 20.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/0.6265, allocations: 4 kB / 0.6573 GB, free: 20.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004999/0.627, allocations: 0.5048 MB / 0.6578 GB, free: 19.99 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/0.6287, allocations: 272.2 kB / 0.658 GB, free: 19.74 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009705/0.6384, allocations: 6.149 MB / 0.664 GB, free: 13.45 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002644/0.6411, allocations: 2.517 MB / 0.6665 GB, free: 10.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005012/0.6416, allocations: 163.4 kB / 0.6666 GB, free: 10.75 MB / 462.1 MB Notification: Performance of SimCode: time 1.193e-06/0.6416, allocations: 0 / 0.6666 GB, free: 10.75 MB / 462.1 MB Notification: Performance of Templates: time 0.05432/0.6959, allocations: 33.87 MB / 0.6997 GB, free: 8.938 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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: 10.723272796953097]