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.001978/0.001978, allocations: 89.14 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002215/0.002215, allocations: 159.2 kB / 23.95 MB, free: 4.152 MB / 14.72 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.492/1.492, allocations: 177 MB / 204.1 MB, free: 9.141 MB / 190.1 MB " [Timeout remaining time 178] 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.2158/0.2158, allocations: 34.26 MB / 294.8 MB, free: 14.51 MB / 286.1 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.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 442.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/3.018e-05, allocations: 2.281 kB / 442.7 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.2117/0.2117, allocations: 13.04 MB / 455.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.2223, allocations: 4.843 MB / 460.5 MB, free: 9.164 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003138/0.2254, allocations: 141.4 kB / 460.7 MB, free: 9.121 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01182/0.2373, allocations: 6.128 MB / 466.8 MB, free: 6.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007945/0.2452, allocations: 2.9 MB / 469.7 MB, free: 5.129 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003379/0.2486, allocations: 1.754 MB / 471.5 MB, free: 3.996 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0108/0.2594, allocations: 9.126 MB / 480.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009663/0.2691, allocations: 6.371 MB / 487 MB, free: 9.539 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00917/0.2782, allocations: 4.479 MB / 491.4 MB, free: 5.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007518/0.2857, allocations: 4.341 MB / 495.8 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001448/0.2872, allocations: 0.5859 MB / 496.4 MB, free: 120 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003215/0.2904, allocations: 1.362 MB / 497.7 MB, free: 14.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004605/0.295, allocations: 3.795 MB / 0.4898 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00507/0.3001, allocations: 2.274 MB / 0.492 GB, free: 8.668 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01654/0.3166, allocations: 11.72 MB / 0.5034 GB, free: 12.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3166, allocations: 3.938 kB / 0.5034 GB, free: 12.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3166, allocations: 0 / 0.5034 GB, free: 12.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003764/0.317, allocations: 0 / 0.5034 GB, free: 12.91 MB / 414.1 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.02098/0.338, allocations: 8.743 MB / 0.512 GB, free: 4.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.338, allocations: 8.031 kB / 0.512 GB, free: 4.082 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01865/0.3567, allocations: 2.788 MB / 0.5147 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01056/0.3672, allocations: 4.411 MB / 0.519 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004105/0.3677, allocations: 418.9 kB / 0.5194 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001648/0.3693, allocations: 0.5393 MB / 0.5199 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03585/0.4052, allocations: 16.84 MB / 0.5364 GB, free: 9.859 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002086/0.4054, allocations: 69.16 kB / 0.5365 GB, free: 9.793 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008507/0.4062, allocations: 267.8 kB / 0.5367 GB, free: 9.531 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004873/0.4111, allocations: 2.92 MB / 0.5396 GB, free: 6.605 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03152/0.4426, allocations: 12.88 MB / 0.5521 GB, free: 9.707 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09353/0.5361, allocations: 60.43 MB / 0.6111 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01778/0.5539, allocations: 5.205 MB / 0.6162 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003615/0.5575, allocations: 2.001 MB / 0.6182 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01796/0.5755, allocations: 7.98 MB / 0.626 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.917e-05/0.5756, allocations: 55.8 kB / 0.626 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 7.424e-06/0.5756, allocations: 3.984 kB / 0.626 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.3916/0.9671, allocations: 15.45 MB / 0.6411 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.9672, allocations: 156.9 kB / 0.6413 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009518/0.9767, allocations: 6.285 MB / 0.6474 GB, free: 163.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003133/0.977, allocations: 57.48 kB / 0.6475 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003295/0.9803, allocations: 5.248 MB / 0.6526 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009127/0.9812, allocations: 0.8444 MB / 0.6534 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002049/0.9833, allocations: 1.662 MB / 0.655 GB, free: 158.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.928e-05/0.9833, allocations: 302.8 kB / 0.6553 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004072/0.9874, allocations: 2.366 MB / 0.6576 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005823/0.9932, allocations: 7.712 MB / 0.6652 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009602/1.003, allocations: 10.92 MB / 0.6758 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001988/1.003, allocations: 52.19 kB / 0.6759 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01565/1.019, allocations: 9.701 MB / 0.6854 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001604/1.019, allocations: 85.88 kB / 0.6854 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002777/1.019, allocations: 195.8 kB / 0.6856 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002091/1.019, allocations: 257.8 kB / 0.6859 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006197/1.026, allocations: 1.956 MB / 0.6878 GB, free: 136.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002199/1.026, allocations: 374.8 kB / 0.6881 GB, free: 136.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007929/1.034, allocations: 0.6947 MB / 0.6888 GB, free: 136.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001043/1.035, allocations: 0.5101 MB / 0.6893 GB, free: 136 MB / 0.5294 GB 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.004274/1.039, allocations: 3.298 MB / 0.6925 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009483/1.04, allocations: 0.5044 MB / 0.693 GB, free: 132.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007861/1.041, allocations: 0.578 MB / 0.6936 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/1.041, allocations: 24 kB / 0.6936 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.327e-05/1.041, allocations: 3.938 kB / 0.6936 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/1.041, allocations: 11.41 kB / 0.6936 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01717/1.058, allocations: 14.54 MB / 0.7078 GB, free: 118.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.894e-05/1.058, allocations: 40.66 kB / 0.7079 GB, free: 118.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/1.059, allocations: 383.2 kB / 0.7082 GB, free: 118.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-05/1.059, allocations: 52 kB / 0.7083 GB, free: 118 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/1.059, allocations: 84 kB / 0.7084 GB, free: 117.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.278e-05/1.059, allocations: 71.72 kB / 0.7084 GB, free: 117.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.36e-05/1.059, allocations: 67.67 kB / 0.7085 GB, free: 117.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003533/1.063, allocations: 3.845 MB / 0.7122 GB, free: 113.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/1.064, allocations: 0.5827 MB / 0.7128 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000598/1.065, allocations: 95.73 kB / 0.7129 GB, free: 112.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002468/1.067, allocations: 251.6 kB / 0.7131 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/1.067, allocations: 275.5 kB / 0.7134 GB, free: 112.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/1.068, allocations: 104 kB / 0.7135 GB, free: 112.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004351/1.072, allocations: 3.736 MB / 0.7172 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/1.072, allocations: 0 / 0.7172 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006508/1.078, allocations: 1.496 MB / 0.7186 GB, free: 106.9 MB / 0.5294 GB 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.0004485/1.079, allocations: 258.2 kB / 0.7189 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007422/1.086, allocations: 5.249 MB / 0.724 GB, free: 101.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.693e-05/1.086, allocations: 8 kB / 0.724 GB, free: 101.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/1.088, allocations: 1.087 MB / 0.7251 GB, free: 100.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005671/1.093, allocations: 0.7588 MB / 0.7258 GB, free: 99.65 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02169/1.115, allocations: 14.87 MB / 0.7403 GB, free: 84.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004374/1.119, allocations: 4.579 MB / 0.7448 GB, free: 79.58 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00483/1.124, allocations: 2.481 MB / 0.7472 GB, free: 77.09 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007178/1.125, allocations: 340.4 kB / 0.7475 GB, free: 76.76 MB / 0.5294 GB Notification: Performance of SimCode: time 1.083e-06/1.125, allocations: 0 / 0.7475 GB, free: 76.76 MB / 0.5294 GB Notification: Performance of Templates: time 0.06964/1.195, allocations: 33.53 MB / 0.7803 GB, free: 43.99 MB / 0.5294 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.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: 7.592063337564468]