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.0008019/0.0008019, allocations: 83.69 kB / 21.43 MB, free: 3.125 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.003194/0.003194, allocations: 162.1 kB / 24.7 MB, free: 9.41 MB / 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 0.8812/0.8812, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2567/0.2567, allocations: 32.78 MB / 294.2 MB, free: 1.215 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.202e-06/1.202e-06, allocations: 0 / 440.8 MB, free: 3.754 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/1.98e-05, allocations: 5.094 kB / 440.8 MB, free: 3.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.1872/0.1872, allocations: 8.407 MB / 449.3 MB, free: 42.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003254/0.1905, allocations: 2.778 MB / 452 MB, free: 40.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004924/0.191, allocations: 57.94 kB / 452.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001609/0.1926, allocations: 2.038 MB / 454.1 MB, free: 39.83 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.1937, allocations: 1.174 MB / 455.3 MB, free: 39.31 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.194, allocations: 310.9 kB / 455.6 MB, free: 39.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001247/0.1952, allocations: 2.367 MB / 458 MB, free: 38.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009622/0.1962, allocations: 1.746 MB / 459.7 MB, free: 37.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006608/0.1969, allocations: 1.286 MB / 461 MB, free: 36.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006575/0.1975, allocations: 1.141 MB / 462.1 MB, free: 36.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.1977, allocations: 194.6 kB / 462.3 MB, free: 36.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005288/0.1982, allocations: 0.6418 MB / 463 MB, free: 36.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004304/0.1986, allocations: 1.175 MB / 464.1 MB, free: 35.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000373/0.199, allocations: 0.7163 MB / 464.9 MB, free: 35.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001882/0.2009, allocations: 4.285 MB / 469.2 MB, free: 34.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.2009, allocations: 3.938 kB / 469.2 MB, free: 34.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2009, allocations: 0 / 469.2 MB, free: 34.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.485e-05/0.2009, allocations: 0 / 469.2 MB, free: 34.12 MB / 410.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.002161/0.2031, allocations: 2.829 MB / 472 MB, free: 32.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.2031, allocations: 11.91 kB / 472 MB, free: 32.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002318/0.2054, allocations: 1.593 MB / 473.6 MB, free: 32.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.2067, allocations: 1.282 MB / 474.9 MB, free: 31.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.535e-05/0.2067, allocations: 146.3 kB / 475 MB, free: 31.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/0.2069, allocations: 190.3 kB / 475.2 MB, free: 31.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0049/0.2118, allocations: 6.255 MB / 481.5 MB, free: 28.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/0.2119, allocations: 17.28 kB / 481.5 MB, free: 28.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/0.212, allocations: 86.84 kB / 481.6 MB, free: 28.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001471/0.2135, allocations: 1.34 MB / 482.9 MB, free: 28.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006268/0.2198, allocations: 5.339 MB / 488.2 MB, free: 26.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01364/0.2334, allocations: 18.32 MB / 0.4947 GB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/0.2359, allocations: 1.643 MB / 0.4963 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005945/0.2365, allocations: 0.6358 MB / 0.4969 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003175/0.2397, allocations: 2.963 MB / 0.4998 GB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.2397, allocations: 44.03 kB / 0.4998 GB, free: 12.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.696e-06/0.2397, allocations: 0 / 0.4998 GB, free: 12.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.00275/0.2425, allocations: 2.107 MB / 0.5019 GB, free: 10.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.2425, allocations: 55.91 kB / 0.502 GB, free: 10.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.2438, allocations: 1.931 MB / 0.5038 GB, free: 8.539 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.2438, allocations: 41.69 kB / 0.5039 GB, free: 8.492 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004405/0.2442, allocations: 1.907 MB / 0.5057 GB, free: 6.562 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.2443, allocations: 321.6 kB / 0.5061 GB, free: 6.246 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003885/0.2447, allocations: 0.6078 MB / 0.5066 GB, free: 5.629 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.447e-05/0.2448, allocations: 345.9 kB / 0.507 GB, free: 5.285 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006359/0.2454, allocations: 0.892 MB / 0.5078 GB, free: 4.391 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.2464, allocations: 2.751 MB / 0.5105 GB, free: 0.707 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002527/0.249, allocations: 3.961 MB / 0.5144 GB, free: 11.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.131e-05/0.249, allocations: 20 kB / 0.5144 GB, free: 11.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003675/0.2526, allocations: 3.542 MB / 0.5179 GB, free: 8.254 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/0.2527, allocations: 33.72 kB / 0.5179 GB, free: 8.223 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-05/0.2527, allocations: 68 kB / 0.518 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.028e-05/0.2528, allocations: 84 kB / 0.5181 GB, free: 8.074 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.2538, allocations: 0.6596 MB / 0.5187 GB, free: 7.414 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.439e-05/0.2539, allocations: 129.2 kB / 0.5188 GB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009664/0.2548, allocations: 425.3 kB / 0.5192 GB, free: 6.871 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/0.255, allocations: 184 kB / 0.5194 GB, free: 6.691 MB / 426.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.001306/0.2563, allocations: 1.338 MB / 0.5207 GB, free: 5.344 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.955e-05/0.2564, allocations: 158.9 kB / 0.5209 GB, free: 5.188 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.2566, allocations: 188 kB / 0.521 GB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.2566, allocations: 11.98 kB / 0.5211 GB, free: 4.984 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.2566, allocations: 3.125 kB / 0.5211 GB, free: 4.984 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.2566, allocations: 7.984 kB / 0.5211 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003133/0.2597, allocations: 3.127 MB / 0.5241 GB, free: 1.727 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.2597, allocations: 11.98 kB / 0.5241 GB, free: 1.715 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.2599, allocations: 95.83 kB / 0.5242 GB, free: 1.621 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.2599, allocations: 8 kB / 0.5242 GB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.2599, allocations: 19.98 kB / 0.5242 GB, free: 1.594 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.26, allocations: 12.53 kB / 0.5243 GB, free: 1.582 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.26, allocations: 11.94 kB / 0.5243 GB, free: 1.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.261, allocations: 1.222 MB / 0.5255 GB, free: 260 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.2611, allocations: 146.8 kB / 0.5256 GB, free: 112 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.519e-05/0.2612, allocations: 23.92 kB / 0.5256 GB, free: 88 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.2614, allocations: 23.98 kB / 0.5256 GB, free: 64 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.2615, allocations: 47.81 kB / 0.5257 GB, free: 16 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.882e-05/0.2615, allocations: 32.03 kB / 0.5257 GB, free: 15.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008429/0.2623, allocations: 1.122 MB / 0.5268 GB, free: 14.87 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2623, allocations: 0 / 0.5268 GB, free: 14.87 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001463/0.2638, allocations: 0.7122 MB / 0.5275 GB, free: 14.15 MB / 442.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.0002297/0.264, allocations: 135 kB / 0.5276 GB, free: 14.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.2656, allocations: 1.959 MB / 0.5296 GB, free: 12.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2656, allocations: 0.875 kB / 0.5296 GB, free: 12.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.2659, allocations: 436.5 kB / 0.53 GB, free: 11.64 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006257/0.2666, allocations: 185 kB / 0.5302 GB, free: 11.47 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004944/0.2715, allocations: 5.36 MB / 0.5354 GB, free: 5.992 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/0.2728, allocations: 1.704 MB / 0.5371 GB, free: 4.254 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.273, allocations: 140.5 kB / 0.5372 GB, free: 4.117 MB / 442.7 MB Notification: Performance of SimCode: time 9.92e-07/0.273, allocations: 0 / 0.5372 GB, free: 4.117 MB / 442.7 MB Notification: Performance of Templates: time 0.02458/0.2976, allocations: 30.03 MB / 0.5665 GB, free: 6.168 MB / 474.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: 6.409860054962337]