Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.0008946/0.0008946, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003469/0.003469, allocations: 160.9 kB / 24.7 MB, free: 9.426 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.8753/0.8753, allocations: 177.1 MB / 205 MB, free: 5.73 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.2228/0.2228, allocations: 32.79 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.CutForce3,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.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,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.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 440.8 MB, free: 3.785 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.123e-05, allocations: 2.281 kB / 440.8 MB, free: 3.781 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.1909/0.1909, allocations: 8.411 MB / 449.2 MB, free: 42.13 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003188/0.1941, allocations: 2.786 MB / 452 MB, free: 40.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004107/0.1945, allocations: 58.34 kB / 452.1 MB, free: 40.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.1962, allocations: 2.04 MB / 454.1 MB, free: 39.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.1973, allocations: 1.166 MB / 455.3 MB, free: 39.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.1977, allocations: 319.8 kB / 455.6 MB, free: 39.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.1989, allocations: 2.359 MB / 458 MB, free: 38.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.1999, allocations: 1.75 MB / 459.7 MB, free: 37.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006947/0.2006, allocations: 1.288 MB / 461 MB, free: 36.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006846/0.2013, allocations: 1.141 MB / 462.1 MB, free: 36.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.2015, allocations: 192.8 kB / 462.3 MB, free: 36.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005356/0.202, allocations: 0.6411 MB / 463 MB, free: 36.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004575/0.2025, allocations: 1.179 MB / 464.2 MB, free: 35.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003787/0.2028, allocations: 0.7142 MB / 464.9 MB, free: 35.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.2048, allocations: 4.293 MB / 469.2 MB, free: 34.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2048, allocations: 0 / 469.2 MB, free: 34.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2048, allocations: 0 / 469.2 MB, free: 34.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.674e-05/0.2049, allocations: 3.25 kB / 469.2 MB, free: 34.07 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.002356/0.2072, allocations: 2.819 MB / 472 MB, free: 32.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2073, allocations: 12.59 kB / 472 MB, free: 32.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002318/0.2096, allocations: 1.598 MB / 473.6 MB, free: 32.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.2108, allocations: 1.28 MB / 474.9 MB, free: 31.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/0.2108, allocations: 142.6 kB / 475 MB, free: 31.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.211, allocations: 187.4 kB / 475.2 MB, free: 31.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004499/0.2155, allocations: 6.259 MB / 481.5 MB, free: 28.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/0.2155, allocations: 17.19 kB / 481.5 MB, free: 28.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/0.2157, allocations: 86.84 kB / 481.6 MB, free: 28.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001265/0.2169, allocations: 1.343 MB / 482.9 MB, free: 28.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005873/0.2228, allocations: 5.334 MB / 488.2 MB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/0.2353, allocations: 18.32 MB / 0.4947 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/0.2378, allocations: 1.645 MB / 0.4963 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006736/0.2385, allocations: 0.6369 MB / 0.4969 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003281/0.2418, allocations: 2.973 MB / 0.4998 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.38e-05/0.2418, allocations: 39.06 kB / 0.4999 GB, free: 12.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.346e-06/0.2418, allocations: 0 / 0.4999 GB, free: 12.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002801/0.2446, allocations: 2.102 MB / 0.5019 GB, free: 10.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.2447, allocations: 59.91 kB / 0.502 GB, free: 10.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.2459, allocations: 1.939 MB / 0.5039 GB, free: 8.523 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.2459, allocations: 41.69 kB / 0.5039 GB, free: 8.477 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004268/0.2463, allocations: 1.895 MB / 0.5057 GB, free: 6.559 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.2464, allocations: 333.5 kB / 0.5061 GB, free: 6.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003772/0.2468, allocations: 0.6078 MB / 0.5067 GB, free: 5.613 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.4e-05/0.2468, allocations: 345.9 kB / 0.507 GB, free: 5.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006681/0.2475, allocations: 0.8881 MB / 0.5079 GB, free: 4.379 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.2485, allocations: 2.748 MB / 0.5105 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002524/0.2511, allocations: 3.964 MB / 0.5144 GB, free: 11.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.866e-05/0.2511, allocations: 20 kB / 0.5144 GB, free: 11.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00316/0.2542, allocations: 3.525 MB / 0.5179 GB, free: 8.258 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.2543, allocations: 37.41 kB / 0.5179 GB, free: 8.223 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.32e-05/0.2543, allocations: 68.78 kB / 0.518 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.508e-05/0.2544, allocations: 91.98 kB / 0.5181 GB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.2554, allocations: 0.6658 MB / 0.5187 GB, free: 7.402 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.404e-05/0.2555, allocations: 133.2 kB / 0.5188 GB, free: 7.273 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009771/0.2564, allocations: 409 kB / 0.5192 GB, free: 6.871 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/0.2566, allocations: 192 kB / 0.5194 GB, free: 6.684 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.001285/0.2579, allocations: 1.334 MB / 0.5207 GB, free: 5.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.258, allocations: 162.9 kB / 0.5209 GB, free: 5.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.2581, allocations: 192 kB / 0.5211 GB, free: 4.984 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.2582, allocations: 8 kB / 0.5211 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.2582, allocations: 4 kB / 0.5211 GB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.2582, allocations: 0 / 0.5211 GB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003402/0.2616, allocations: 3.139 MB / 0.5241 GB, free: 1.711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.2616, allocations: 4.75 kB / 0.5241 GB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.2618, allocations: 95.88 kB / 0.5242 GB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.2618, allocations: 15.94 kB / 0.5242 GB, free: 1.598 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.2618, allocations: 16 kB / 0.5243 GB, free: 1.582 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.2618, allocations: 8 kB / 0.5243 GB, free: 1.574 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.2618, allocations: 11.94 kB / 0.5243 GB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008797/0.2627, allocations: 1.215 MB / 0.5255 GB, free: 260 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.2628, allocations: 150.8 kB / 0.5256 GB, free: 108 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.841e-05/0.2629, allocations: 19.94 kB / 0.5256 GB, free: 88 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.2631, allocations: 31.97 kB / 0.5257 GB, free: 56 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.117e-05/0.2632, allocations: 59.78 kB / 0.5257 GB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.2632, allocations: 31.94 kB / 0.5257 GB, free: 15.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000902/0.2641, allocations: 1.118 MB / 0.5268 GB, free: 14.85 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2641, allocations: 0 / 0.5268 GB, free: 14.85 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001435/0.2656, allocations: 0.7006 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.0002374/0.2658, allocations: 151 kB / 0.5277 GB, free: 13.99 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001624/0.2674, allocations: 1.952 MB / 0.5296 GB, free: 12.06 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2674, allocations: 4 kB / 0.5296 GB, free: 12.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003264/0.2678, allocations: 433.8 kB / 0.53 GB, free: 11.63 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006239/0.2684, allocations: 186 kB / 0.5302 GB, free: 11.46 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00492/0.2733, allocations: 5.355 MB / 0.5354 GB, free: 5.984 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001378/0.2747, allocations: 1.708 MB / 0.5371 GB, free: 4.242 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/0.2749, allocations: 136.5 kB / 0.5372 GB, free: 4.109 MB / 442.7 MB Notification: Performance of SimCode: time 9.81e-07/0.2749, allocations: 0 / 0.5372 GB, free: 4.109 MB / 442.7 MB Notification: Performance of Templates: time 0.025/0.2999, allocations: 30.02 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.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.453421427868307]