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.001292/0.001292, 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.001349/0.001349, allocations: 203.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.436/1.436, allocations: 227.4 MB / 251.6 MB, free: 60 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.2415/0.2415, allocations: 46.16 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.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.002272/0.002272, allocations: 73.61 kB / 490.2 MB, free: 27.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1202, allocations: 62.45 MB / 0.5397 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01203/0.1322, allocations: 10.1 MB / 0.5495 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006596/0.1388, allocations: 3.085 MB / 0.5526 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.1401, allocations: 59.88 kB / 0.5526 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004747/0.1448, allocations: 2.605 MB / 0.5552 GB, free: 4.312 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002943/0.1478, allocations: 1.171 MB / 0.5563 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008772/0.1487, allocations: 355.3 kB / 0.5566 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003595/0.1523, allocations: 2.544 MB / 0.5591 GB, free: 248 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003678/0.156, allocations: 2.995 MB / 0.562 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.1576, allocations: 1.059 MB / 0.5631 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/0.1594, allocations: 1.367 MB / 0.5644 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000453/0.1598, allocations: 252 kB / 0.5647 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.1614, allocations: 0.7529 MB / 0.5654 GB, free: 9.773 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00131/0.1627, allocations: 1.333 MB / 0.5667 GB, free: 8.438 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001617/0.1643, allocations: 1.557 MB / 0.5682 GB, free: 6.871 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006809/0.1711, allocations: 5.12 MB / 0.5732 GB, free: 1.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/0.1712, allocations: 4 kB / 0.5732 GB, free: 1.727 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1712, allocations: 0 / 0.5732 GB, free: 1.727 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001099/0.1713, allocations: 0 / 0.5732 GB, free: 1.727 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.006724/0.178, allocations: 3.345 MB / 0.5765 GB, free: 14.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/0.1781, allocations: 11.97 kB / 0.5765 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005324/0.1834, allocations: 1.625 MB / 0.5781 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002986/0.1864, allocations: 1.501 MB / 0.5795 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.1866, allocations: 180.9 kB / 0.5797 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004143/0.187, allocations: 239.8 kB / 0.58 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01217/0.1992, allocations: 7.106 MB / 0.5869 GB, free: 3.277 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.147e-05/0.1993, allocations: 11.88 kB / 0.5869 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002765/0.1996, allocations: 111.9 kB / 0.587 GB, free: 3.156 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002209/0.2018, allocations: 1.447 MB / 0.5884 GB, free: 1.707 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/0.2128, allocations: 5.945 MB / 0.5942 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2987/0.5115, allocations: 22.33 MB / 0.616 GB, free: 45.51 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004597/0.5162, allocations: 2.195 MB / 0.6182 GB, free: 44.72 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.5173, allocations: 0.7656 MB / 0.6189 GB, free: 44.45 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006791/0.5241, allocations: 3.86 MB / 0.6227 GB, free: 42.58 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.5241, allocations: 43.27 kB / 0.6227 GB, free: 42.53 MB / 462.1 MB Notification: Performance of pre-optimization done (n=87): time 3.116e-06/0.5241, allocations: 3.531 kB / 0.6227 GB, free: 42.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=87): time 0.006016/0.5302, allocations: 2.25 MB / 0.6249 GB, free: 41.99 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.5302, allocations: 58.34 kB / 0.625 GB, free: 41.92 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002886/0.5331, allocations: 2.065 MB / 0.627 GB, free: 41.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.5332, allocations: 40.7 kB / 0.6271 GB, free: 41.16 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00099/0.5342, allocations: 2.107 MB / 0.6291 GB, free: 39.83 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/0.5344, allocations: 362.1 kB / 0.6295 GB, free: 39.58 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007101/0.5351, allocations: 0.6549 MB / 0.6301 GB, free: 39.26 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.5352, allocations: 371.9 kB / 0.6304 GB, free: 38.92 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.5366, allocations: 0.9335 MB / 0.6314 GB, free: 38.64 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/0.5385, allocations: 2.869 MB / 0.6342 GB, free: 35.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003239/0.5418, allocations: 4.153 MB / 0.6382 GB, free: 32.11 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.366e-05/0.5418, allocations: 22.88 kB / 0.6382 GB, free: 32.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.004736/0.5466, allocations: 3.71 MB / 0.6419 GB, free: 30.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.603e-05/0.5466, allocations: 36.69 kB / 0.6419 GB, free: 30.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.327e-05/0.5467, allocations: 67.25 kB / 0.642 GB, free: 30.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.7e-05/0.5468, allocations: 91.28 kB / 0.642 GB, free: 30.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/0.5484, allocations: 0.6875 MB / 0.6427 GB, free: 30.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.232e-05/0.5485, allocations: 138.9 kB / 0.6429 GB, free: 30.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.5503, allocations: 446.2 kB / 0.6433 GB, free: 30.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/0.5505, allocations: 199.9 kB / 0.6435 GB, free: 30.26 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.001786/0.5523, allocations: 1.505 MB / 0.6449 GB, free: 29.57 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.5525, allocations: 177.6 kB / 0.6451 GB, free: 29.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000307/0.5528, allocations: 211 kB / 0.6453 GB, free: 29.35 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.5528, allocations: 15.27 kB / 0.6453 GB, free: 29.35 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.5528, allocations: 0 / 0.6453 GB, free: 29.35 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.5529, allocations: 0 / 0.6453 GB, free: 29.35 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006701/0.5596, allocations: 4.941 MB / 0.6501 GB, free: 26.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/0.5596, allocations: 7.625 kB / 0.6502 GB, free: 26.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.56, allocations: 124.2 kB / 0.6503 GB, free: 26.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/0.56, allocations: 11.25 kB / 0.6503 GB, free: 26.54 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.183e-05/0.5601, allocations: 22.94 kB / 0.6503 GB, free: 26.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.768e-06/0.5601, allocations: 15.23 kB / 0.6503 GB, free: 26.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.5601, allocations: 12.88 kB / 0.6503 GB, free: 26.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.5613, allocations: 1.424 MB / 0.6517 GB, free: 25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/0.5617, allocations: 291.5 kB / 0.652 GB, free: 24.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/0.5618, allocations: 20 kB / 0.652 GB, free: 24.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004874/0.5623, allocations: 35.92 kB / 0.6521 GB, free: 24.64 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.118e-05/0.5624, allocations: 72.44 kB / 0.6521 GB, free: 24.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.124e-05/0.5625, allocations: 34.19 kB / 0.6522 GB, free: 24.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001535/0.564, allocations: 1.448 MB / 0.6536 GB, free: 23.07 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.564, allocations: 0 / 0.6536 GB, free: 23.07 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002357/0.5664, allocations: 0.7746 MB / 0.6543 GB, free: 22.3 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.0002868/0.5667, allocations: 149.3 kB / 0.6545 GB, free: 22.15 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002531/0.5692, allocations: 2.174 MB / 0.6566 GB, free: 19.99 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.5693, allocations: 1 kB / 0.6566 GB, free: 19.99 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004623/0.5697, allocations: 0.4999 MB / 0.6571 GB, free: 19.49 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.5711, allocations: 275 kB / 0.6573 GB, free: 19.24 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007222/0.5783, allocations: 5.804 MB / 0.663 GB, free: 13.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001822/0.5802, allocations: 2.506 MB / 0.6655 GB, free: 10.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001831/0.5821, allocations: 1.027 MB / 0.6665 GB, free: 9.742 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/0.5823, allocations: 139.4 kB / 0.6666 GB, free: 9.605 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5823, allocations: 0 / 0.6666 GB, free: 9.605 MB / 462.1 MB Notification: Performance of Templates: time 0.03141/0.6137, allocations: 17.06 MB / 0.6833 GB, free: 8.598 MB / 478.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.726123495027423]