Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.001916/0.001916, allocations: 84.34 kB / 20.95 MB, free: 3.449 MB / 18.57 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.00244/0.00244, allocations: 165.3 kB / 24.27 MB, free: 144 kB / 18.57 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.526/1.526, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.339/0.339, allocations: 32.81 MB / 293.9 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.344e-05/3.528e-05, allocations: 6.25 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01223/0.01226, allocations: 8.409 MB / 383.7 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006619/0.01888, allocations: 2.791 MB / 386.5 MB, free: 9.707 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.0202, allocations: 55.81 kB / 386.5 MB, free: 9.652 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004588/0.02479, allocations: 2.075 MB / 388.6 MB, free: 7.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003328/0.02812, allocations: 1.171 MB / 389.8 MB, free: 6.395 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009081/0.02903, allocations: 323.2 kB / 390.1 MB, free: 6.078 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003739/0.03276, allocations: 2.367 MB / 392.4 MB, free: 3.707 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003291/0.03606, allocations: 1.793 MB / 394.2 MB, free: 1.871 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002794/0.03885, allocations: 1.29 MB / 395.5 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002284/0.04113, allocations: 1.134 MB / 396.7 MB, free: 15.44 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005963/0.04173, allocations: 196 kB / 396.8 MB, free: 15.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.04347, allocations: 0.6396 MB / 397.5 MB, free: 14.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00193/0.0454, allocations: 1.176 MB / 398.7 MB, free: 13.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002004/0.0474, allocations: 0.7163 MB / 399.4 MB, free: 12.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007137/0.05454, allocations: 4.287 MB / 403.7 MB, free: 8.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.05454, allocations: 0 / 403.7 MB, free: 8.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.05455, allocations: 0 / 403.7 MB, free: 8.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000174/0.05472, allocations: 0 / 403.7 MB, free: 8.41 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.008219/0.06294, allocations: 2.835 MB / 406.5 MB, free: 5.531 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.06299, allocations: 8.031 kB / 406.5 MB, free: 5.523 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005979/0.06897, allocations: 1.934 MB / 408.4 MB, free: 3.586 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002973/0.07194, allocations: 1.282 MB / 409.7 MB, free: 2.273 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.07209, allocations: 148 kB / 409.9 MB, free: 2.129 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000356/0.07245, allocations: 184.3 kB / 410.1 MB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01111/0.08356, allocations: 6.266 MB / 416.3 MB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.138e-05/0.08362, allocations: 15.81 kB / 416.3 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003941/0.08401, allocations: 87.91 kB / 416.4 MB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002371/0.08638, allocations: 1.344 MB / 417.8 MB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01147/0.09785, allocations: 5.33 MB / 423.1 MB, free: 4.609 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03284/0.1307, allocations: 18.37 MB / 441.5 MB, free: 1.695 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005157/0.1358, allocations: 1.64 MB / 443.1 MB, free: 36 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1498/0.2857, allocations: 0.6378 MB / 443.7 MB, free: 101.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005219/0.2909, allocations: 2.967 MB / 446.7 MB, free: 101.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.2909, allocations: 37.94 kB / 446.7 MB, free: 101 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.976e-06/0.2909, allocations: 0 / 446.7 MB, free: 101 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.004942/0.2959, allocations: 2.131 MB / 448.9 MB, free: 100.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.2959, allocations: 57.16 kB / 448.9 MB, free: 100.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002102/0.298, allocations: 1.937 MB / 450.9 MB, free: 99.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/0.2981, allocations: 38.58 kB / 450.9 MB, free: 99.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007841/0.2988, allocations: 1.899 MB / 452.8 MB, free: 98.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.299, allocations: 330.4 kB / 453.1 MB, free: 98.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006239/0.2997, allocations: 0.6082 MB / 453.7 MB, free: 98.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.567e-05/0.2997, allocations: 349.9 kB / 454.1 MB, free: 97.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.3008, allocations: 0.888 MB / 455 MB, free: 97.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.3024, allocations: 2.749 MB / 457.7 MB, free: 94.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002938/0.3053, allocations: 3.965 MB / 461.7 MB, free: 91.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-05/0.3054, allocations: 19.53 kB / 461.7 MB, free: 91.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004589/0.31, allocations: 3.681 MB / 465.4 MB, free: 89.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.937e-05/0.31, allocations: 36.44 kB / 465.4 MB, free: 89.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.998e-05/0.3101, allocations: 68.12 kB / 465.5 MB, free: 89.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.157e-05/0.3102, allocations: 94.2 kB / 465.6 MB, free: 89.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/0.3119, allocations: 0.6502 MB / 466.2 MB, free: 89.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.129e-05/0.312, allocations: 131.4 kB / 466.3 MB, free: 89.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.3138, allocations: 423.1 kB / 466.8 MB, free: 89.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/0.314, allocations: 182.5 kB / 466.9 MB, free: 89.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.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 (362): * Single equations (assignments): 357 * 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.001507/0.3155, allocations: 1.344 MB / 468.3 MB, free: 88.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.3157, allocations: 174.2 kB / 468.5 MB, free: 88.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000278/0.316, allocations: 188.9 kB / 468.6 MB, free: 88.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.316, allocations: 17.03 kB / 468.7 MB, free: 88.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.316, allocations: 0 / 468.7 MB, free: 88.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.316, allocations: 3.375 kB / 468.7 MB, free: 88.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004446/0.3204, allocations: 3.122 MB / 471.8 MB, free: 87.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.3204, allocations: 9.703 kB / 471.8 MB, free: 87.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.3208, allocations: 107.5 kB / 471.9 MB, free: 87.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/0.3208, allocations: 6.531 kB / 471.9 MB, free: 87.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.221e-05/0.3209, allocations: 21.97 kB / 471.9 MB, free: 87.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.417e-06/0.3209, allocations: 15.52 kB / 471.9 MB, free: 87.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.3209, allocations: 9.469 kB / 471.9 MB, free: 87.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.322, allocations: 1.233 MB / 473.2 MB, free: 86.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/0.3222, allocations: 157.9 kB / 473.3 MB, free: 86.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.3223, allocations: 13.09 kB / 473.3 MB, free: 86.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/0.3228, allocations: 32.12 kB / 473.4 MB, free: 86.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.738e-05/0.3229, allocations: 50.25 kB / 473.4 MB, free: 86.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-05/0.3229, allocations: 32.5 kB / 473.5 MB, free: 86.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001276/0.3242, allocations: 1.114 MB / 474.6 MB, free: 86.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3242, allocations: 0 / 474.6 MB, free: 86.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002659/0.3268, allocations: 0.7049 MB / 475.3 MB, free: 85.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.0003557/0.3272, allocations: 143.1 kB / 475.4 MB, free: 85.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0031/0.3303, allocations: 1.954 MB / 477.4 MB, free: 85.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.3303, allocations: 5.156 kB / 477.4 MB, free: 85.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005008/0.3308, allocations: 425.5 kB / 477.8 MB, free: 85.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.3319, allocations: 196.1 kB / 478 MB, free: 85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007826/0.3397, allocations: 5.127 MB / 483.1 MB, free: 82.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00201/0.3417, allocations: 1.704 MB / 484.8 MB, free: 82.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001699/0.3434, allocations: 0.9263 MB / 485.7 MB, free: 81.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/0.3437, allocations: 119 kB / 485.9 MB, free: 81.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.713e-06/0.3437, allocations: 1.406 kB / 485.9 MB, free: 81.96 MB / 410.7 MB Notification: Performance of Templates: time 0.02343/0.3671, allocations: 11.71 MB / 497.6 MB, free: 77.16 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.540483627934009]