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.001472/0.001472, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001639/0.001639, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.342/1.342, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] 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.2105/0.2105, allocations: 46.92 MB / 361.5 MB, free: 4.188 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.002164/0.002164, allocations: 79.88 kB / 0.4974 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2746, allocations: 66.09 MB / 0.5619 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.0114/0.286, allocations: 10.19 MB / 0.5719 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005743/0.2918, allocations: 3.107 MB / 0.5749 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007966/0.2926, allocations: 67.81 kB / 0.575 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004398/0.297, allocations: 2.636 MB / 0.5776 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002396/0.2994, allocations: 1.214 MB / 0.5788 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007295/0.3001, allocations: 359.3 kB / 0.5791 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003167/0.3033, allocations: 2.543 MB / 0.5816 GB, free: 48 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00298/0.3062, allocations: 2.256 MB / 0.5838 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.3077, allocations: 1.067 MB / 0.5848 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002053/0.3098, allocations: 1.488 MB / 0.5863 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005284/0.3103, allocations: 248 kB / 0.5865 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.3117, allocations: 0.788 MB / 0.5873 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00137/0.3131, allocations: 1.367 MB / 0.5886 GB, free: 8.789 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001887/0.315, allocations: 1.557 MB / 0.5901 GB, free: 7.223 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005123/0.3201, allocations: 5.121 MB / 0.5951 GB, free: 2.082 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3201, allocations: 0 / 0.5951 GB, free: 2.082 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3201, allocations: 0 / 0.5951 GB, free: 2.082 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.467e-05/0.3202, allocations: 0 / 0.5951 GB, free: 2.082 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.004989/0.3252, allocations: 3.286 MB / 0.5984 GB, free: 14.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3252, allocations: 8.031 kB / 0.5984 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004675/0.3299, allocations: 1.625 MB / 0.6 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002888/0.3328, allocations: 1.439 MB / 0.6014 GB, free: 11.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.3329, allocations: 184.9 kB / 0.6015 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003864/0.3333, allocations: 227.8 kB / 0.6017 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.3433, allocations: 7.11 MB / 0.6087 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.199e-05/0.3434, allocations: 15.88 kB / 0.6087 GB, free: 3.773 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00025/0.3436, allocations: 99.91 kB / 0.6088 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001982/0.3456, allocations: 1.451 MB / 0.6102 GB, free: 2.219 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009585/0.3552, allocations: 5.948 MB / 0.616 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02988/0.3851, allocations: 22.24 MB / 0.6377 GB, free: 5.441 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004348/0.3894, allocations: 1.677 MB / 0.6394 GB, free: 3.746 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.3905, allocations: 0.7034 MB / 0.6401 GB, free: 3.039 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007014/0.3975, allocations: 3.397 MB / 0.6434 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.3976, allocations: 35.22 kB / 0.6434 GB, free: 15.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=87): time 2.925e-06/0.3976, allocations: 0 / 0.6434 GB, free: 15.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=87): time 0.005973/0.4035, allocations: 2.257 MB / 0.6456 GB, free: 13.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.4036, allocations: 60.06 kB / 0.6457 GB, free: 13.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003093/0.4067, allocations: 2.06 MB / 0.6477 GB, free: 11.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.4067, allocations: 37.64 kB / 0.6477 GB, free: 11.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001544/0.4083, allocations: 2.11 MB / 0.6498 GB, free: 9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003521/0.4086, allocations: 361.3 kB / 0.6501 GB, free: 8.645 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008473/0.4095, allocations: 0.6551 MB / 0.6508 GB, free: 7.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.4097, allocations: 369.8 kB / 0.6511 GB, free: 7.613 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.411, allocations: 0.9313 MB / 0.652 GB, free: 6.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002837/0.4139, allocations: 2.864 MB / 0.6548 GB, free: 2.852 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004621/0.4185, allocations: 4.162 MB / 0.6589 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.844e-05/0.4185, allocations: 20 kB / 0.6589 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.005712/0.4243, allocations: 3.711 MB / 0.6625 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.149e-05/0.4243, allocations: 36 kB / 0.6626 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-05/0.4244, allocations: 68 kB / 0.6626 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-05/0.4245, allocations: 88 kB / 0.6627 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/0.4264, allocations: 0.6901 MB / 0.6634 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001216/0.4265, allocations: 135.4 kB / 0.6635 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/0.4283, allocations: 444.6 kB / 0.664 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002618/0.4286, allocations: 200 kB / 0.6641 GB, free: 8.348 MB / 0.4981 GB 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.002046/0.4307, allocations: 1.505 MB / 0.6656 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002699/0.4309, allocations: 178.8 kB / 0.6658 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003941/0.4313, allocations: 214.2 kB / 0.666 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/0.4313, allocations: 8 kB / 0.666 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.4313, allocations: 4 kB / 0.666 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.4314, allocations: 3.984 kB / 0.666 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008518/0.4399, allocations: 4.919 MB / 0.6708 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/0.4399, allocations: 8 kB / 0.6708 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004277/0.4403, allocations: 111.8 kB / 0.6709 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.454e-05/0.4403, allocations: 12 kB / 0.6709 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/0.4404, allocations: 19.98 kB / 0.671 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-05/0.4404, allocations: 15.94 kB / 0.671 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.968e-06/0.4404, allocations: 11.94 kB / 0.671 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.4421, allocations: 1.427 MB / 0.6724 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/0.4426, allocations: 222.4 kB / 0.6726 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002628/0.4428, allocations: 27.92 kB / 0.6726 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005684/0.4434, allocations: 35.94 kB / 0.6726 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.4435, allocations: 75.66 kB / 0.6727 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.305e-05/0.4436, allocations: 36 kB / 0.6728 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002049/0.4456, allocations: 1.448 MB / 0.6742 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4456, allocations: 3.938 kB / 0.6742 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002613/0.4482, allocations: 0.7747 MB / 0.6749 GB, free: 12.98 MB / 0.5137 GB 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.0003396/0.4486, allocations: 158.8 kB / 0.6751 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003242/0.4518, allocations: 2.079 MB / 0.6771 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.4518, allocations: 4 kB / 0.6771 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006/0.4524, allocations: 486.5 kB / 0.6776 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.4537, allocations: 278.7 kB / 0.6778 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.4644, allocations: 6.147 MB / 0.6838 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003412/0.4678, allocations: 2.522 MB / 0.6863 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005447/0.4683, allocations: 159.4 kB / 0.6865 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of SimCode: time 8.52e-07/0.4683, allocations: 0 / 0.6865 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of Templates: time 0.05465/0.523, allocations: 34.02 MB / 0.7197 GB, free: 15.04 MB / 0.5606 GB " [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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/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: 9.390459058107808]