Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.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.001015/0.001015, allocations: 81.81 kB / 21.42 MB, free: 3.07 MB / 18.57 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.001761/0.001761, allocations: 165 kB / 24.82 MB, free: 8.918 MB / 18.57 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.002/1.002, allocations: 177 MB / 205.1 MB, free: 5.469 MB / 186.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.2791/0.2791, allocations: 34.86 MB / 296.6 MB, free: 440 kB / 266.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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 0 / 379.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.569e-05/3.851e-05, allocations: 11.23 kB / 379.2 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01147/0.01151, allocations: 14.07 MB / 393.3 MB, free: 3.668 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009776/0.02128, allocations: 4.952 MB / 398.3 MB, free: 14.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002729/0.02401, allocations: 143.3 kB / 398.4 MB, free: 14.56 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00727/0.03128, allocations: 6.332 MB / 404.7 MB, free: 8.207 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007257/0.03854, allocations: 2.924 MB / 407.7 MB, free: 5.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003284/0.04182, allocations: 1.778 MB / 409.4 MB, free: 3.488 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01027/0.0521, allocations: 9.137 MB / 418.6 MB, free: 10.34 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009854/0.06195, allocations: 6.588 MB / 425.2 MB, free: 3.656 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01004/0.07198, allocations: 4.549 MB / 429.7 MB, free: 15.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007183/0.07917, allocations: 4.451 MB / 434.2 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002441/0.08161, allocations: 0.5898 MB / 434.7 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003427/0.08504, allocations: 1.369 MB / 436.1 MB, free: 8.676 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004116/0.08915, allocations: 3.822 MB / 439.9 MB, free: 4.844 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004581/0.09373, allocations: 2.282 MB / 442.2 MB, free: 2.555 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2312/0.3249, allocations: 7.595 MB / 449.8 MB, free: 67.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.3249, allocations: 0 / 449.8 MB, free: 67.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3249, allocations: 0 / 449.8 MB, free: 67.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005254/0.3254, allocations: 0 / 449.8 MB, free: 67.46 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: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.01615/0.3416, allocations: 8.725 MB / 458.5 MB, free: 64.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.3416, allocations: 9.156 kB / 458.5 MB, free: 64.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007964/0.3496, allocations: 2.351 MB / 460.9 MB, free: 63.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007811/0.3574, allocations: 3.78 MB / 464.7 MB, free: 62.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003203/0.3577, allocations: 413.1 kB / 465.1 MB, free: 62.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001998/0.3597, allocations: 0.5435 MB / 465.6 MB, free: 62.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01698/0.3767, allocations: 9.274 MB / 474.9 MB, free: 58.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002796/0.377, allocations: 69.89 kB / 475 MB, free: 58.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001176/0.3782, allocations: 259.6 kB / 475.2 MB, free: 58.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002617/0.3808, allocations: 2.674 MB / 477.9 MB, free: 58.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01418/0.395, allocations: 3.992 MB / 481.9 MB, free: 57.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06658/0.4616, allocations: 70.92 MB / 0.5399 GB, free: 17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009823/0.4714, allocations: 3.278 MB / 0.5431 GB, free: 16.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00139/0.4728, allocations: 0.6554 MB / 0.5437 GB, free: 16.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01122/0.484, allocations: 6.017 MB / 0.5496 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.484, allocations: 59.98 kB / 0.5496 GB, free: 13.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 4.268e-06/0.484, allocations: 0 / 0.5496 GB, free: 13.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.02277/0.5068, allocations: 7.941 MB / 0.5574 GB, free: 6.922 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.5069, allocations: 154.4 kB / 0.5575 GB, free: 6.746 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005705/0.5126, allocations: 5.481 MB / 0.5629 GB, free: 2.289 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003516/0.5129, allocations: 59.81 kB / 0.5629 GB, free: 2.227 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003177/0.5161, allocations: 5.548 MB / 0.5684 GB, free: 12.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001096/0.5172, allocations: 0.8735 MB / 0.5692 GB, free: 12.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001715/0.5189, allocations: 1.859 MB / 0.571 GB, free: 10.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.5191, allocations: 478.5 kB / 0.5715 GB, free: 9.969 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.5203, allocations: 0.6984 MB / 0.5722 GB, free: 9.266 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005494/0.5258, allocations: 8.662 MB / 0.5806 GB, free: 13.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008897/0.5347, allocations: 10.31 MB / 0.5907 GB, free: 15.83 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002394/0.535, allocations: 52 kB / 0.5907 GB, free: 15.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01176/0.5467, allocations: 6.61 MB / 0.5972 GB, free: 9.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.113e-05/0.5468, allocations: 92.25 kB / 0.5973 GB, free: 9.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001842/0.547, allocations: 188 kB / 0.5975 GB, free: 8.906 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.5472, allocations: 255.2 kB / 0.5977 GB, free: 8.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00374/0.5509, allocations: 1.883 MB / 0.5995 GB, free: 6.773 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002986/0.5512, allocations: 378.5 kB / 0.5999 GB, free: 6.402 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005629/0.5568, allocations: 367.7 kB / 0.6003 GB, free: 6.043 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001006/0.5578, allocations: 462.3 kB / 0.6007 GB, free: 5.594 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1032 * Array equations: 11 * 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.003675/0.5615, allocations: 0.8637 MB / 0.6015 GB, free: 4.719 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001496/0.563, allocations: 0.5591 MB / 0.6021 GB, free: 4.156 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007911/0.5638, allocations: 498 kB / 0.6026 GB, free: 3.664 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.465e-05/0.5638, allocations: 27.98 kB / 0.6026 GB, free: 3.637 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-05/0.5639, allocations: 3.938 kB / 0.6026 GB, free: 3.633 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.5639, allocations: 11.97 kB / 0.6026 GB, free: 3.621 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2214/0.7852, allocations: 9.178 MB / 0.6116 GB, free: 134.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-05/0.7853, allocations: 36.72 kB / 0.6116 GB, free: 134.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009828/0.7863, allocations: 368.9 kB / 0.612 GB, free: 134.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.1e-05/0.7863, allocations: 48.31 kB / 0.612 GB, free: 134.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001352/0.7864, allocations: 86.42 kB / 0.6121 GB, free: 134.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.64e-05/0.7865, allocations: 73.14 kB / 0.6122 GB, free: 134.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.03e-05/0.7865, allocations: 57.38 kB / 0.6122 GB, free: 134.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003549/0.7901, allocations: 3.525 MB / 0.6156 GB, free: 132 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/0.7912, allocations: 0.5541 MB / 0.6162 GB, free: 132 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006139/0.7918, allocations: 92.48 kB / 0.6163 GB, free: 132 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/0.7935, allocations: 76.42 kB / 0.6163 GB, free: 132 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002713/0.7938, allocations: 268.5 kB / 0.6166 GB, free: 132 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.7939, allocations: 96.77 kB / 0.6167 GB, free: 132 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003114/0.797, allocations: 2.227 MB / 0.6189 GB, free: 131.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.797, allocations: 6.938 kB / 0.6189 GB, free: 131.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007242/0.8042, allocations: 1.493 MB / 0.6203 GB, free: 131.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.0008379/0.8051, allocations: 264.3 kB / 0.6206 GB, free: 131.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005711/0.8108, allocations: 3.419 MB / 0.6239 GB, free: 131 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.172e-05/0.8108, allocations: 5.875 kB / 0.6239 GB, free: 131 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009721/0.8118, allocations: 0.6097 MB / 0.6245 GB, free: 130.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004751/0.8165, allocations: 0.7954 MB / 0.6253 GB, free: 130.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02411/0.8407, allocations: 13.35 MB / 0.6383 GB, free: 124 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004604/0.8453, allocations: 2.083 MB / 0.6404 GB, free: 123.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003227/0.8485, allocations: 0.754 MB / 0.6411 GB, free: 123.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/0.8499, allocations: 0.8575 MB / 0.6419 GB, free: 123.2 MB / 474.7 MB Notification: Performance of SimCode: time 3.066e-06/0.8499, allocations: 0 / 0.6419 GB, free: 123.2 MB / 474.7 MB Notification: Performance of Templates: time 0.06792/0.9178, allocations: 37.44 MB / 0.6785 GB, free: 99.09 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.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: 5.189901025034487]