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.001355/0.001355, allocations: 120 kB / 18.46 MB, free: 4.617 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.002113/0.002113, allocations: 212.3 kB / 21.42 MB, free: 1.664 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.551/1.551, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.2416/0.2416, allocations: 46.92 MB / 357.8 MB, free: 10.32 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.001917/0.001917, allocations: 63.89 kB / 0.4921 GB, free: 7.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1482, allocations: 65.99 MB / 0.5565 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01329/0.1615, allocations: 10.16 MB / 0.5664 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007713/0.1692, allocations: 3.084 MB / 0.5694 GB, free: 8.043 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.171, allocations: 63.81 kB / 0.5695 GB, free: 7.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005121/0.1761, allocations: 2.64 MB / 0.5721 GB, free: 5.332 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003534/0.1797, allocations: 1.203 MB / 0.5733 GB, free: 4.125 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009426/0.1806, allocations: 351.3 kB / 0.5736 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003877/0.1845, allocations: 2.544 MB / 0.5761 GB, free: 1.234 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003362/0.1878, allocations: 2.492 MB / 0.5785 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001767/0.1896, allocations: 1.063 MB / 0.5795 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/0.1916, allocations: 1.495 MB / 0.581 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004441/0.192, allocations: 252 kB / 0.5812 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.1935, allocations: 0.7762 MB / 0.582 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001421/0.1949, allocations: 1.36 MB / 0.5833 GB, free: 9.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002068/0.197, allocations: 1.557 MB / 0.5848 GB, free: 8.184 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006785/0.2038, allocations: 5.124 MB / 0.5899 GB, free: 3.039 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2038, allocations: 0 / 0.5899 GB, free: 3.039 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2038, allocations: 4 kB / 0.5899 GB, free: 3.035 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001595/0.2039, allocations: 0 / 0.5899 GB, free: 3.035 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.3424/0.5464, allocations: 3.351 MB / 0.5931 GB, free: 33.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.5464, allocations: 9.25 kB / 0.5931 GB, free: 33.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005904/0.5523, allocations: 1.622 MB / 0.5947 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/0.5551, allocations: 1.503 MB / 0.5962 GB, free: 33.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/0.5553, allocations: 186.2 kB / 0.5964 GB, free: 33.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004336/0.5557, allocations: 228.2 kB / 0.5966 GB, free: 33.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01319/0.5689, allocations: 7.111 MB / 0.6035 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-05/0.569, allocations: 17.8 kB / 0.6035 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003039/0.5693, allocations: 109.5 kB / 0.6037 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00276/0.572, allocations: 1.445 MB / 0.6051 GB, free: 30.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01345/0.5855, allocations: 5.941 MB / 0.6109 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03072/0.6162, allocations: 22.35 MB / 0.6327 GB, free: 9.945 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004341/0.6206, allocations: 2.13 MB / 0.6348 GB, free: 7.691 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009446/0.6215, allocations: 0.7034 MB / 0.6355 GB, free: 6.984 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006105/0.6276, allocations: 3.859 MB / 0.6392 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.6276, allocations: 43.11 kB / 0.6393 GB, free: 2.984 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 4.298e-06/0.6276, allocations: 0 / 0.6393 GB, free: 2.984 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.005772/0.6334, allocations: 2.253 MB / 0.6415 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.6334, allocations: 59.97 kB / 0.6415 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003768/0.6372, allocations: 2.06 MB / 0.6435 GB, free: 14.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.776e-05/0.6373, allocations: 33.7 kB / 0.6436 GB, free: 14.55 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001887/0.6392, allocations: 2.11 MB / 0.6456 GB, free: 12.42 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004927/0.6397, allocations: 361.3 kB / 0.646 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001259/0.6409, allocations: 0.6592 MB / 0.6466 GB, free: 11.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.6411, allocations: 357.9 kB / 0.647 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/0.6428, allocations: 0.9352 MB / 0.6479 GB, free: 10.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004509/0.6473, allocations: 2.874 MB / 0.6507 GB, free: 6.273 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007904/0.6552, allocations: 4.147 MB / 0.6547 GB, free: 1.172 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.89e-05/0.6553, allocations: 27.94 kB / 0.6548 GB, free: 1.145 MB / 462.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.0109/0.6662, allocations: 3.715 MB / 0.6584 GB, free: 13.42 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.945e-05/0.6663, allocations: 38.03 kB / 0.6584 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001528/0.6664, allocations: 68 kB / 0.6585 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001709/0.6666, allocations: 92 kB / 0.6586 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003587/0.6702, allocations: 0.6823 MB / 0.6592 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000197/0.6704, allocations: 135.5 kB / 0.6594 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003834/0.6742, allocations: 444.6 kB / 0.6598 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007099/0.6749, allocations: 196 kB / 0.66 GB, free: 11.79 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.004222/0.6791, allocations: 1.513 MB / 0.6615 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000584/0.6797, allocations: 182.7 kB / 0.6616 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00077/0.6805, allocations: 210.1 kB / 0.6618 GB, free: 9.871 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.305e-05/0.6805, allocations: 12 kB / 0.6618 GB, free: 9.859 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.6805, allocations: 3.938 kB / 0.6618 GB, free: 9.855 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.6806, allocations: 3.984 kB / 0.6619 GB, free: 9.852 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01458/0.6951, allocations: 4.944 MB / 0.6667 GB, free: 4.746 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.881e-05/0.6952, allocations: 8 kB / 0.6667 GB, free: 4.738 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000799/0.696, allocations: 119.7 kB / 0.6668 GB, free: 4.621 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.446e-05/0.696, allocations: 12 kB / 0.6668 GB, free: 4.609 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.944e-05/0.6961, allocations: 27.94 kB / 0.6668 GB, free: 4.582 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-05/0.6961, allocations: 11.98 kB / 0.6669 GB, free: 4.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.497e-05/0.6961, allocations: 12.41 kB / 0.6669 GB, free: 4.559 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002956/0.6991, allocations: 1.419 MB / 0.6682 GB, free: 3.016 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008383/0.6999, allocations: 295.5 kB / 0.6685 GB, free: 2.707 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005624/0.7005, allocations: 27.92 kB / 0.6686 GB, free: 2.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.7017, allocations: 31.94 kB / 0.6686 GB, free: 2.648 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.7019, allocations: 68.5 kB / 0.6687 GB, free: 2.582 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.702, allocations: 39.97 kB / 0.6687 GB, free: 2.543 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003782/0.7057, allocations: 1.444 MB / 0.6701 GB, free: 1.078 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7057, allocations: 0 / 0.6701 GB, free: 1.078 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004843/0.7106, allocations: 0.7862 MB / 0.6709 GB, free: 296 kB / 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.0004631/0.711, allocations: 143 kB / 0.671 GB, free: 144 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005049/0.7161, allocations: 2.083 MB / 0.673 GB, free: 14.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.7161, allocations: 0 / 0.673 GB, free: 14.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.7171, allocations: 478.7 kB / 0.6735 GB, free: 13.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/0.7196, allocations: 272.7 kB / 0.6738 GB, free: 13.35 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/0.7342, allocations: 6.161 MB / 0.6798 GB, free: 7.039 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003042/0.7372, allocations: 2.518 MB / 0.6822 GB, free: 4.488 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005455/0.7378, allocations: 163.4 kB / 0.6824 GB, free: 4.328 MB / 494.1 MB Notification: Performance of SimCode: time 1.593e-06/0.7378, allocations: 0 / 0.6824 GB, free: 4.328 MB / 494.1 MB Notification: Performance of Templates: time 0.06393/0.8017, allocations: 34.01 MB / 0.7156 GB, free: 2.383 MB / 0.5137 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/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_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: 11.281370734010125]