Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001571/0.001571, allocations: 114.9 kB / 19.17 MB, free: 3.871 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.002074/0.002074, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.471/1.471, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2441/0.2441, allocations: 46.89 MB / 358.1 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 79.88 kB / 0.4923 GB, free: 8.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1442, allocations: 65.98 MB / 0.5568 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01338/0.1576, allocations: 10.16 MB / 0.5667 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008172/0.1657, allocations: 3.092 MB / 0.5697 GB, free: 8.613 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00214/0.1679, allocations: 55.88 kB / 0.5698 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005618/0.1735, allocations: 2.636 MB / 0.5724 GB, free: 5.914 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003936/0.1774, allocations: 1.21 MB / 0.5735 GB, free: 4.699 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.1786, allocations: 339.4 kB / 0.5739 GB, free: 4.367 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004558/0.1832, allocations: 2.551 MB / 0.5764 GB, free: 1.812 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003666/0.1869, allocations: 2.492 MB / 0.5788 GB, free: 15.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/0.1889, allocations: 1.055 MB / 0.5798 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002513/0.1915, allocations: 1.488 MB / 0.5813 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007112/0.1922, allocations: 252 kB / 0.5815 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001766/0.1939, allocations: 0.7763 MB / 0.5823 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001628/0.1956, allocations: 1.363 MB / 0.5836 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002128/0.1977, allocations: 1.553 MB / 0.5851 GB, free: 8.777 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007429/0.2051, allocations: 5.128 MB / 0.5901 GB, free: 3.629 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/0.2051, allocations: 0 / 0.5901 GB, free: 3.629 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2051, allocations: 3.938 kB / 0.5901 GB, free: 3.625 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001882/0.2053, allocations: 0 / 0.5901 GB, free: 3.625 MB / 446.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.007956/0.2133, allocations: 3.349 MB / 0.5934 GB, free: 208 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.2133, allocations: 8.031 kB / 0.5934 GB, free: 200 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.287/0.5004, allocations: 1.619 MB / 0.595 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003528/0.5039, allocations: 1.506 MB / 0.5965 GB, free: 34.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001738/0.5041, allocations: 180.2 kB / 0.5966 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007902/0.5049, allocations: 235.4 kB / 0.5969 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01995/0.5248, allocations: 7.117 MB / 0.6038 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.705e-05/0.5249, allocations: 13.38 kB / 0.6038 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005657/0.5255, allocations: 105.8 kB / 0.6039 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003748/0.5292, allocations: 1.443 MB / 0.6053 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01821/0.5474, allocations: 5.945 MB / 0.6111 GB, free: 29.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03976/0.5872, allocations: 22.35 MB / 0.633 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005782/0.593, allocations: 2.121 MB / 0.635 GB, free: 9.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.5942, allocations: 0.7112 MB / 0.6357 GB, free: 8.305 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007779/0.602, allocations: 3.861 MB / 0.6395 GB, free: 4.363 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.602, allocations: 39.12 kB / 0.6395 GB, free: 4.316 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 5.029e-06/0.602, allocations: 0 / 0.6395 GB, free: 4.316 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.008151/0.6102, allocations: 2.253 MB / 0.6417 GB, free: 2.059 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.6102, allocations: 63.95 kB / 0.6418 GB, free: 1.984 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00339/0.6136, allocations: 2.064 MB / 0.6438 GB, free: 15.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001591/0.6138, allocations: 33.7 kB / 0.6438 GB, free: 15.89 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002309/0.6161, allocations: 2.118 MB / 0.6459 GB, free: 13.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006144/0.6167, allocations: 353.3 kB / 0.6462 GB, free: 13.4 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001388/0.6181, allocations: 0.6628 MB / 0.6469 GB, free: 12.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003043/0.6184, allocations: 364.2 kB / 0.6472 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00237/0.6208, allocations: 0.9359 MB / 0.6482 GB, free: 11.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004847/0.6256, allocations: 2.862 MB / 0.6509 GB, free: 7.609 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007686/0.6333, allocations: 4.155 MB / 0.655 GB, free: 2.492 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.096e-05/0.6334, allocations: 16 kB / 0.655 GB, free: 2.477 MB / 462.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.009794/0.6432, allocations: 3.717 MB / 0.6586 GB, free: 14.75 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.607e-05/0.6432, allocations: 36.56 kB / 0.6587 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001371/0.6434, allocations: 68 kB / 0.6587 GB, free: 14.65 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001544/0.6435, allocations: 89.66 kB / 0.6588 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003112/0.6466, allocations: 0.6862 MB / 0.6595 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001827/0.6468, allocations: 139.4 kB / 0.6596 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003412/0.6502, allocations: 452.5 kB / 0.6601 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005254/0.6508, allocations: 195.2 kB / 0.6603 GB, free: 13.11 MB / 478.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.003634/0.6544, allocations: 1.507 MB / 0.6617 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004719/0.6549, allocations: 174.8 kB / 0.6619 GB, free: 11.42 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005966/0.6555, allocations: 218.2 kB / 0.6621 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.049e-05/0.6555, allocations: 8 kB / 0.6621 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.6555, allocations: 8 kB / 0.6621 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.6555, allocations: 0 / 0.6621 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008668/0.6642, allocations: 4.936 MB / 0.6669 GB, free: 6.086 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.6642, allocations: 4 kB / 0.6669 GB, free: 6.082 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004925/0.6647, allocations: 119.7 kB / 0.6671 GB, free: 5.965 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.002e-05/0.6647, allocations: 19.97 kB / 0.6671 GB, free: 5.945 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.692e-05/0.6648, allocations: 23.98 kB / 0.6671 GB, free: 5.922 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.927e-05/0.6648, allocations: 15.94 kB / 0.6671 GB, free: 5.906 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/0.6648, allocations: 15.92 kB / 0.6671 GB, free: 5.891 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.6668, allocations: 1.415 MB / 0.6685 GB, free: 4.348 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005856/0.6674, allocations: 299.4 kB / 0.6688 GB, free: 4.035 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.6676, allocations: 20 kB / 0.6688 GB, free: 4.016 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005466/0.6681, allocations: 39.92 kB / 0.6689 GB, free: 3.977 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.6682, allocations: 64.5 kB / 0.6689 GB, free: 3.914 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-05/0.6683, allocations: 35.94 kB / 0.6689 GB, free: 3.879 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002336/0.6706, allocations: 1.448 MB / 0.6704 GB, free: 2.41 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6706, allocations: 0 / 0.6704 GB, free: 2.41 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003/0.6736, allocations: 0.7785 MB / 0.6711 GB, free: 1.629 MB / 478.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.0003763/0.674, allocations: 150.9 kB / 0.6713 GB, free: 1.473 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003623/0.6776, allocations: 2.072 MB / 0.6733 GB, free: 15.42 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.6777, allocations: 4 kB / 0.6733 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007223/0.6784, allocations: 480.9 kB / 0.6738 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/0.68, allocations: 276.7 kB / 0.674 GB, free: 14.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/0.693, allocations: 6.165 MB / 0.68 GB, free: 8.371 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004105/0.6971, allocations: 2.514 MB / 0.6825 GB, free: 5.824 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006056/0.6977, allocations: 159.4 kB / 0.6826 GB, free: 5.668 MB / 494.1 MB Notification: Performance of SimCode: time 1.432e-06/0.6977, allocations: 0 / 0.6826 GB, free: 5.668 MB / 494.1 MB Notification: Performance of Templates: time 0.06349/0.7612, allocations: 34.01 MB / 0.7159 GB, free: 3.723 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.97912565106526]