Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.001118/0.001118, allocations: 80.11 kB / 9.934 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001403/0.002521, allocations: 449.7 kB / 10.37 MB, free: 320 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.001564/0.001564, allocations: 165.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001631/0.003195, allocations: 463.6 kB / 11.72 MB, free: 2.449 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 1.017/1.017, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09526/1.113, allocations: 53.86 MB / 243.7 MB, free: 14.9 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.2549/0.2549, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02552/0.2804, allocations: 13.23 MB / 292.6 MB, free: 6.473 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 293.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.332e-05, allocations: 4.422 kB / 293.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.007262/0.007285, allocations: 9.107 MB / 303 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005577/0.01286, allocations: 2.986 MB / 306 MB, free: 9.047 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.01407, allocations: 55.81 kB / 306 MB, free: 8.992 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002387/0.01645, allocations: 2.036 MB / 308.1 MB, free: 6.949 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002329/0.01878, allocations: 1.159 MB / 309.2 MB, free: 5.785 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006133/0.0194, allocations: 303.2 kB / 309.5 MB, free: 5.488 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002633/0.02203, allocations: 2.211 MB / 311.7 MB, free: 3.273 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.02349, allocations: 1.766 MB / 313.5 MB, free: 1.449 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.0252, allocations: 1.352 MB / 314.8 MB, free: 92 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.02626, allocations: 1.114 MB / 315.9 MB, free: 14.97 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002045/0.02646, allocations: 192 kB / 316.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008643/0.02732, allocations: 0.6513 MB / 316.8 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000646/0.02797, allocations: 1.068 MB / 317.9 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005271/0.0285, allocations: 0.5919 MB / 318.4 MB, free: 12.47 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002266/0.03076, allocations: 2.553 MB / 321 MB, free: 9.906 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.668e-05/0.03078, allocations: 0 / 321 MB, free: 9.906 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.03078, allocations: 0 / 321 MB, free: 9.906 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.804e-05/0.03085, allocations: 0 / 321 MB, free: 9.906 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.00323/0.03408, allocations: 3.257 MB / 324.3 MB, free: 6.594 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.03411, allocations: 8.922 kB / 324.3 MB, free: 6.586 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001731/0.03585, allocations: 0.746 MB / 325 MB, free: 5.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.03708, allocations: 1.049 MB / 326.1 MB, free: 4.758 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.944e-05/0.03716, allocations: 148 kB / 326.2 MB, free: 4.613 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/0.03736, allocations: 184.3 kB / 326.4 MB, free: 4.434 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003229/0.04059, allocations: 2.844 MB / 329.2 MB, free: 1.312 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/0.04062, allocations: 11.88 kB / 329.2 MB, free: 1.301 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.04077, allocations: 91.91 kB / 329.3 MB, free: 1.211 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001003/0.04177, allocations: 1.204 MB / 330.5 MB, free: 4 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002308/0.04408, allocations: 1.518 MB / 332.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01291/0.05698, allocations: 15.27 MB / 347.3 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.05872, allocations: 0.8871 MB / 348.2 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.05893, allocations: 160.8 kB / 348.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002857/0.06178, allocations: 2.08 MB / 350.4 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.06181, allocations: 39.06 kB / 350.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 2.625e-06/0.06181, allocations: 4 kB / 350.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.002229/0.06404, allocations: 1.058 MB / 351.5 MB, free: 10.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.06408, allocations: 55.91 kB / 351.6 MB, free: 10.26 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.06511, allocations: 1.424 MB / 353 MB, free: 8.824 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.06514, allocations: 33.7 kB / 353.1 MB, free: 8.785 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007468/0.06588, allocations: 1.846 MB / 354.9 MB, free: 6.918 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.06604, allocations: 321.6 kB / 355.2 MB, free: 6.602 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004223/0.06647, allocations: 0.5723 MB / 355.8 MB, free: 6.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.18e-05/0.06656, allocations: 345.9 kB / 356.1 MB, free: 5.676 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.0669, allocations: 314.2 kB / 356.4 MB, free: 5.363 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.06828, allocations: 2.095 MB / 358.5 MB, free: 2.336 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/0.07027, allocations: 2.743 MB / 361.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-05/0.0703, allocations: 20 kB / 361.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002321/0.07262, allocations: 1.967 MB / 363.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/0.07266, allocations: 36 kB / 363.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.161e-05/0.0727, allocations: 64 kB / 363.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.409e-05/0.07275, allocations: 88.72 kB / 363.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.07392, allocations: 0.7213 MB / 364.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.39e-05/0.07398, allocations: 127.5 kB / 364.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.07503, allocations: 405 kB / 364.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/0.07518, allocations: 164 kB / 364.8 MB, free: 11.09 MB / 362.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.0008255/0.076, allocations: 361.6 kB / 365.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.07612, allocations: 99.84 kB / 365.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.07628, allocations: 160 kB / 365.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.0763, allocations: 15.97 kB / 365.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.07631, allocations: 0 / 365.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.07631, allocations: 0 / 365.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/0.07862, allocations: 1.86 MB / 367.3 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.07863, allocations: 4.75 kB / 367.3 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.07884, allocations: 103.8 kB / 367.4 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.07898, allocations: 146.8 kB / 367.6 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/0.07899, allocations: 8 kB / 367.6 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.07902, allocations: 19.98 kB / 367.6 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.07902, allocations: 11.94 kB / 367.6 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.07903, allocations: 11.94 kB / 367.6 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/0.07951, allocations: 0.6135 MB / 368.2 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.962e-05/0.0796, allocations: 23.98 kB / 368.3 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.0798, allocations: 20 kB / 368.3 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.07985, allocations: 47.81 kB / 368.3 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.07988, allocations: 27.98 kB / 368.4 MB, free: 7.359 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004226/0.0803, allocations: 0.5448 MB / 368.9 MB, free: 6.816 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0803, allocations: 3.938 kB / 368.9 MB, free: 6.812 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001787/0.08209, allocations: 0.7083 MB / 369.6 MB, free: 6.102 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.000239/0.08233, allocations: 124.1 kB / 369.7 MB, free: 5.973 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.08338, allocations: 1.108 MB / 370.8 MB, free: 4.871 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.633e-05/0.08347, allocations: 55.92 kB / 370.9 MB, free: 4.809 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.08362, allocations: 156.3 kB / 371.1 MB, free: 4.656 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006201/0.08424, allocations: 288 kB / 371.3 MB, free: 4.379 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005635/0.08988, allocations: 4.582 MB / 375.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.09091, allocations: 0.7541 MB / 376.7 MB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005802/0.09149, allocations: 249.6 kB / 376.9 MB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003181/0.09181, allocations: 275.3 kB / 377.2 MB, free: 14.37 MB / 378.7 MB Notification: Performance of SimCode: time 2.224e-06/0.09181, allocations: 0 / 377.2 MB, free: 14.37 MB / 378.7 MB Notification: Performance of Templates: time 0.02207/0.1139, allocations: 12.64 MB / 389.8 MB, free: 1.906 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.061753665097058]