Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001106/0.001106, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001591/0.002696, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00104/0.00104, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001412/0.002452, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9619/0.9619, allocations: 177.5 MB / 190 MB, free: 4.754 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09388/1.056, allocations: 53.87 MB / 243.9 MB, free: 14.81 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2543/0.2543, allocations: 34.87 MB / 279.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02907/0.2834, allocations: 13.25 MB / 292.8 MB, free: 6.348 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 294.1 MB, free: 5.062 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.498e-05, allocations: 6.625 kB / 294.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01021/0.01022, allocations: 9.128 MB / 303.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005631/0.01585, allocations: 2.971 MB / 306.2 MB, free: 8.902 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007351/0.01659, allocations: 55.81 kB / 306.2 MB, free: 8.848 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002593/0.01918, allocations: 2.044 MB / 308.3 MB, free: 6.797 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001896/0.02108, allocations: 1.155 MB / 309.4 MB, free: 5.637 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005487/0.02162, allocations: 299.3 kB / 309.7 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002306/0.02393, allocations: 2.216 MB / 312 MB, free: 3.125 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/0.02572, allocations: 1.766 MB / 313.7 MB, free: 1.301 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/0.0271, allocations: 1.359 MB / 315.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.0284, allocations: 1.099 MB / 316.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002712/0.02867, allocations: 195.9 kB / 316.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009767/0.02964, allocations: 0.6553 MB / 317 MB, free: 13.99 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008193/0.03046, allocations: 1.068 MB / 318.1 MB, free: 12.92 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006275/0.03109, allocations: 0.5958 MB / 318.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002426/0.03352, allocations: 2.549 MB / 321.2 MB, free: 9.762 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.264e-05/0.03353, allocations: 4 kB / 321.2 MB, free: 9.758 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.03353, allocations: 0 / 321.2 MB, free: 9.758 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.755e-05/0.03357, allocations: 4 kB / 321.2 MB, free: 9.754 MB / 314.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.003898/0.03747, allocations: 3.249 MB / 324.5 MB, free: 6.449 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.0375, allocations: 8.922 kB / 324.5 MB, free: 6.441 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003191/0.04069, allocations: 0.7499 MB / 325.3 MB, free: 5.691 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/0.04224, allocations: 1.049 MB / 326.3 MB, free: 4.609 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.04235, allocations: 144 kB / 326.4 MB, free: 4.469 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002977/0.04265, allocations: 184.3 kB / 326.6 MB, free: 4.289 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004319/0.04697, allocations: 2.855 MB / 329.5 MB, free: 1.156 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.624e-05/0.04701, allocations: 11.88 kB / 329.5 MB, free: 1.145 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000235/0.04725, allocations: 87.91 kB / 329.6 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001531/0.04878, allocations: 1.141 MB / 330.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003587/0.05236, allocations: 1.499 MB / 332.2 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01454/0.0669, allocations: 15.29 MB / 347.5 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002446/0.06935, allocations: 0.8919 MB / 348.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.06954, allocations: 156.8 kB / 348.6 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002786/0.07232, allocations: 2.088 MB / 350.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.07235, allocations: 43.05 kB / 350.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 1.823e-06/0.07235, allocations: 0 / 350.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.00209/0.07444, allocations: 1.066 MB / 351.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.07446, allocations: 59.89 kB / 351.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008289/0.07529, allocations: 1.424 MB / 353.2 MB, free: 8.711 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.07532, allocations: 41.7 kB / 353.3 MB, free: 8.664 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006808/0.076, allocations: 1.842 MB / 355.1 MB, free: 6.801 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.07616, allocations: 317.6 kB / 355.4 MB, free: 6.488 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004197/0.07658, allocations: 0.5841 MB / 356 MB, free: 5.895 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.911e-05/0.07668, allocations: 349.8 kB / 356.4 MB, free: 5.547 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.07691, allocations: 217.9 kB / 356.6 MB, free: 5.332 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009949/0.07791, allocations: 2.143 MB / 358.7 MB, free: 2.227 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.07978, allocations: 3.03 MB / 361.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/0.07979, allocations: 20 kB / 361.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.001693/0.08149, allocations: 1.99 MB / 363.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.08152, allocations: 38.81 kB / 363.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-05/0.08156, allocations: 79.98 kB / 363.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.019e-05/0.08161, allocations: 88 kB / 363.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.08268, allocations: 0.7409 MB / 364.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-05/0.08273, allocations: 131.5 kB / 364.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008018/0.08354, allocations: 409.1 kB / 365.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.08366, allocations: 164 kB / 365.4 MB, free: 10.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 311 * 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 (372): * Single equations (assignments): 369 * 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 prepare postOptimizeDAE: time 0.0004089/0.08407, allocations: 369.6 kB / 365.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.088e-05/0.08416, allocations: 95.83 kB / 365.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.0843, allocations: 156 kB / 366 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.08431, allocations: 8 kB / 366 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.08431, allocations: 0 / 366 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.08432, allocations: 3.984 kB / 366 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.0861, allocations: 1.876 MB / 367.9 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.08612, allocations: 16 kB / 367.9 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.08631, allocations: 95.83 kB / 368 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.08641, allocations: 154.8 kB / 368.1 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.08642, allocations: 8 kB / 368.1 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.08644, allocations: 19.98 kB / 368.2 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.08645, allocations: 8.469 kB / 368.2 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.08645, allocations: 11.94 kB / 368.2 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/0.08686, allocations: 0.6212 MB / 368.8 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.082e-05/0.08693, allocations: 20 kB / 368.8 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.08712, allocations: 8 kB / 368.8 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.08717, allocations: 55.8 kB / 368.9 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.0872, allocations: 24 kB / 368.9 MB, free: 6.848 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000373/0.08757, allocations: 0.5487 MB / 369.5 MB, free: 6.301 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08757, allocations: 4 kB / 369.5 MB, free: 6.297 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001202/0.08877, allocations: 0.7122 MB / 370.2 MB, free: 5.582 MB / 362.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.0001849/0.08896, allocations: 124.1 kB / 370.3 MB, free: 5.453 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000899/0.08986, allocations: 1.177 MB / 371.5 MB, free: 4.297 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.88e-05/0.08994, allocations: 56.7 kB / 371.5 MB, free: 4.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.09014, allocations: 201.2 kB / 371.7 MB, free: 4.031 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008138/0.09096, allocations: 1.065 MB / 372.8 MB, free: 2.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/0.09526, allocations: 4.583 MB / 377.4 MB, free: 14.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005322/0.09579, allocations: 0.7463 MB / 378.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004279/0.09622, allocations: 238.8 kB / 378.3 MB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.09646, allocations: 263.3 kB / 378.6 MB, free: 12.86 MB / 378.7 MB Notification: Performance of SimCode: time 7.92e-07/0.09646, allocations: 0 / 378.6 MB, free: 12.86 MB / 378.7 MB Notification: Performance of Templates: time 0.02079/0.1172, allocations: 9.874 MB / 388.5 MB, free: 3.012 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0190514577552676]