Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 120.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.544/1.544, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2497/0.2497, allocations: 46.92 MB / 357.1 MB, free: 10.34 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 63.91 kB / 0.4914 GB, free: 7.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1418, allocations: 66 MB / 0.5558 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01327/0.1551, allocations: 10.15 MB / 0.5658 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007118/0.1622, allocations: 3.097 MB / 0.5688 GB, free: 8.059 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001997/0.1642, allocations: 63.81 kB / 0.5688 GB, free: 7.996 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005315/0.1695, allocations: 2.633 MB / 0.5714 GB, free: 5.355 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003561/0.1731, allocations: 1.195 MB / 0.5726 GB, free: 4.156 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000991/0.1741, allocations: 355.3 kB / 0.5729 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003942/0.178, allocations: 2.543 MB / 0.5754 GB, free: 1.262 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003196/0.1812, allocations: 2.488 MB / 0.5778 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.1827, allocations: 1.067 MB / 0.5789 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002077/0.1847, allocations: 1.488 MB / 0.5803 GB, free: 12.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004945/0.1852, allocations: 252 kB / 0.5806 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.1867, allocations: 0.7763 MB / 0.5813 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001446/0.1881, allocations: 1.367 MB / 0.5827 GB, free: 9.777 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001521/0.1896, allocations: 1.553 MB / 0.5842 GB, free: 8.215 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006497/0.1961, allocations: 5.132 MB / 0.5892 GB, free: 3.062 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1961, allocations: 4 kB / 0.5892 GB, free: 3.059 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1961, allocations: 0 / 0.5892 GB, free: 3.059 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001336/0.1963, allocations: 0 / 0.5892 GB, free: 3.059 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.3137/0.51, allocations: 3.344 MB / 0.5925 GB, free: 34.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.51, allocations: 10.77 kB / 0.5925 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006181/0.5162, allocations: 1.628 MB / 0.5941 GB, free: 33.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003336/0.5196, allocations: 1.512 MB / 0.5955 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.5197, allocations: 177.2 kB / 0.5957 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005255/0.5202, allocations: 232.1 kB / 0.5959 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01445/0.5347, allocations: 7.107 MB / 0.6029 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-05/0.5348, allocations: 16.97 kB / 0.6029 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008135/0.5356, allocations: 109.6 kB / 0.603 GB, free: 30.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002966/0.5385, allocations: 1.448 MB / 0.6044 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01295/0.5515, allocations: 5.938 MB / 0.6102 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02899/0.5805, allocations: 22.35 MB / 0.632 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004065/0.5845, allocations: 2.126 MB / 0.6341 GB, free: 8.113 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008572/0.5854, allocations: 0.7073 MB / 0.6348 GB, free: 7.402 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005716/0.5911, allocations: 3.853 MB / 0.6386 GB, free: 3.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.5911, allocations: 47.12 kB / 0.6386 GB, free: 3.355 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 2.665e-06/0.5911, allocations: 0 / 0.6386 GB, free: 3.355 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.005639/0.5968, allocations: 2.256 MB / 0.6408 GB, free: 1.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.5968, allocations: 57.75 kB / 0.6409 GB, free: 1.023 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003301/0.6001, allocations: 2.064 MB / 0.6429 GB, free: 14.96 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.612e-05/0.6002, allocations: 33.7 kB / 0.6429 GB, free: 14.92 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001794/0.602, allocations: 2.106 MB / 0.645 GB, free: 12.79 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004321/0.6024, allocations: 369.2 kB / 0.6453 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009697/0.6034, allocations: 0.6535 MB / 0.646 GB, free: 11.77 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.6036, allocations: 361.9 kB / 0.6463 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/0.6051, allocations: 0.9313 MB / 0.6472 GB, free: 10.48 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00325/0.6083, allocations: 2.876 MB / 0.65 GB, free: 6.637 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006281/0.6146, allocations: 4.158 MB / 0.6541 GB, free: 1.527 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.195e-05/0.6147, allocations: 20 kB / 0.6541 GB, free: 1.508 MB / 462.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.007691/0.6224, allocations: 3.702 MB / 0.6577 GB, free: 13.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.412e-05/0.6225, allocations: 36 kB / 0.6577 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001161/0.6226, allocations: 68 kB / 0.6578 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001119/0.6227, allocations: 92.75 kB / 0.6579 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/0.6249, allocations: 0.6862 MB / 0.6586 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001433/0.625, allocations: 143.4 kB / 0.6587 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/0.6275, allocations: 444.6 kB / 0.6591 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003569/0.6279, allocations: 200 kB / 0.6593 GB, free: 12.15 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.002556/0.6304, allocations: 1.498 MB / 0.6608 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003339/0.6308, allocations: 186.7 kB / 0.661 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005013/0.6313, allocations: 206.2 kB / 0.6612 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.396e-05/0.6313, allocations: 12 kB / 0.6612 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.6313, allocations: 4.875 kB / 0.6612 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.6313, allocations: 3.984 kB / 0.6612 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009626/0.6409, allocations: 4.94 MB / 0.666 GB, free: 5.125 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.22e-05/0.6409, allocations: 11.94 kB / 0.666 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004972/0.6414, allocations: 115.8 kB / 0.6661 GB, free: 5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.618e-05/0.6415, allocations: 12.03 kB / 0.6661 GB, free: 4.988 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.437e-05/0.6415, allocations: 32.8 kB / 0.6662 GB, free: 4.957 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.456e-05/0.6415, allocations: 11.94 kB / 0.6662 GB, free: 4.945 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/0.6415, allocations: 12 kB / 0.6662 GB, free: 4.934 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.6435, allocations: 1.415 MB / 0.6676 GB, free: 3.395 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006127/0.6441, allocations: 299.4 kB / 0.6679 GB, free: 3.082 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003555/0.6445, allocations: 31.91 kB / 0.6679 GB, free: 3.051 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006908/0.6452, allocations: 31.94 kB / 0.6679 GB, free: 3.02 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.6453, allocations: 68.56 kB / 0.668 GB, free: 2.953 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.257e-05/0.6454, allocations: 35.98 kB / 0.668 GB, free: 2.918 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002765/0.6481, allocations: 1.448 MB / 0.6694 GB, free: 1.449 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6481, allocations: 0 / 0.6694 GB, free: 1.449 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003322/0.6515, allocations: 0.7785 MB / 0.6702 GB, free: 0.668 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.0004458/0.6519, allocations: 154.8 kB / 0.6703 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004009/0.6559, allocations: 2.076 MB / 0.6724 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.6559, allocations: 0 / 0.6724 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007865/0.6567, allocations: 482.7 kB / 0.6728 GB, free: 13.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001931/0.6586, allocations: 267.1 kB / 0.6731 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/0.6713, allocations: 5.809 MB / 0.6788 GB, free: 7.773 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004003/0.6753, allocations: 2.506 MB / 0.6812 GB, free: 5.234 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002651/0.678, allocations: 1.026 MB / 0.6822 GB, free: 4.207 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004744/0.6785, allocations: 135.4 kB / 0.6823 GB, free: 4.074 MB / 494.1 MB Notification: Performance of SimCode: time 1.302e-06/0.6785, allocations: 4 kB / 0.6823 GB, free: 4.07 MB / 494.1 MB Notification: Performance of Templates: time 0.04026/0.7187, allocations: 17.33 MB / 0.6993 GB, free: 2.781 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 6.21762964874506]