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.00198/0.00198, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.003512/0.003512, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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.592/1.592, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 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.3652/0.3652, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] 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.803e-06/1.803e-06, allocations: 0 / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.253e-05/3.433e-05, allocations: 2.312 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01874/0.01877, allocations: 13.05 MB / 390.3 MB, free: 5.797 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01299/0.03176, allocations: 4.843 MB / 395.1 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003307/0.03507, allocations: 147.3 kB / 395.2 MB, free: 0.793 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01659/0.05166, allocations: 6.215 MB / 401.5 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01384/0.06549, allocations: 2.92 MB / 404.4 MB, free: 7.625 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007073/0.07257, allocations: 1.774 MB / 406.2 MB, free: 5.848 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.02064/0.09321, allocations: 9.129 MB / 415.3 MB, free: 12.71 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01723/0.1104, allocations: 6.572 MB / 421.9 MB, free: 6.043 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01439/0.1248, allocations: 4.479 MB / 426.3 MB, free: 1.555 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009363/0.1342, allocations: 4.334 MB / 430.7 MB, free: 13.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002687/0.1369, allocations: 0.5898 MB / 431.3 MB, free: 12.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004653/0.1415, allocations: 1.369 MB / 432.6 MB, free: 11.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006192/0.1477, allocations: 3.791 MB / 436.4 MB, free: 7.449 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006278/0.154, allocations: 2.27 MB / 438.7 MB, free: 5.172 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1968/0.3508, allocations: 11.72 MB / 450.4 MB, free: 67.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3508, allocations: 0 / 450.4 MB, free: 67.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.3508, allocations: 3.031 kB / 450.4 MB, free: 67.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004991/0.3513, allocations: 0 / 450.4 MB, free: 67.29 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.02404/0.3753, allocations: 8.742 MB / 459.2 MB, free: 64.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3754, allocations: 8.938 kB / 459.2 MB, free: 64.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01216/0.3876, allocations: 3.479 MB / 462.6 MB, free: 63.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008974/0.3965, allocations: 4.446 MB / 467.1 MB, free: 62.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003175/0.3968, allocations: 420.8 kB / 467.5 MB, free: 62.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002343/0.3992, allocations: 0.5449 MB / 468 MB, free: 62.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03651/0.4357, allocations: 16.84 MB / 484.9 MB, free: 56.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006038/0.4363, allocations: 71.16 kB / 485 MB, free: 56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002764/0.4391, allocations: 265.9 kB / 485.2 MB, free: 55.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00529/0.4444, allocations: 2.928 MB / 488.1 MB, free: 55.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02835/0.4727, allocations: 12.88 MB / 0.4893 GB, free: 51.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07326/0.546, allocations: 60.55 MB / 0.5484 GB, free: 12.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01773/0.5637, allocations: 5.21 MB / 0.5535 GB, free: 7.238 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003859/0.5676, allocations: 1.994 MB / 0.5554 GB, free: 5.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01918/0.5867, allocations: 7.997 MB / 0.5632 GB, free: 13.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.867e-05/0.5868, allocations: 51.88 kB / 0.5633 GB, free: 13.24 MB / 442.7 MB Notification: Performance of pre-optimization done (n=182): time 4.739e-06/0.5868, allocations: 4 kB / 0.5633 GB, free: 13.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=206): time 0.04994/0.6367, allocations: 15.53 MB / 0.5785 GB, free: 13.78 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.6369, allocations: 149.8 kB / 0.5786 GB, free: 13.61 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01199/0.6489, allocations: 6.291 MB / 0.5848 GB, free: 7.344 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004403/0.6493, allocations: 56.52 kB / 0.5848 GB, free: 7.285 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005541/0.6549, allocations: 5.254 MB / 0.5899 GB, free: 2.078 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001263/0.6561, allocations: 0.8469 MB / 0.5908 GB, free: 1.242 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002702/0.6588, allocations: 1.664 MB / 0.5924 GB, free: 15.57 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.659, allocations: 304 kB / 0.5927 GB, free: 15.27 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004775/0.6638, allocations: 2.362 MB / 0.595 GB, free: 12.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01161/0.6754, allocations: 7.712 MB / 0.6025 GB, free: 2.605 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1886/0.864, allocations: 10.91 MB / 0.6132 GB, free: 136.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001401/0.8641, allocations: 53.44 kB / 0.6132 GB, free: 136.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01769/0.8818, allocations: 10.16 MB / 0.6232 GB, free: 132.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.8819, allocations: 89.59 kB / 0.6232 GB, free: 132.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002194/0.8822, allocations: 187.7 kB / 0.6234 GB, free: 132.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002052/0.8824, allocations: 248.3 kB / 0.6237 GB, free: 132.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006264/0.8886, allocations: 1.953 MB / 0.6256 GB, free: 132.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003617/0.889, allocations: 383.2 kB / 0.6259 GB, free: 132.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00921/0.8982, allocations: 0.6858 MB / 0.6266 GB, free: 132.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001723/0.8999, allocations: 0.5195 MB / 0.6271 GB, free: 132.4 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.005716/0.9056, allocations: 3.288 MB / 0.6303 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/0.9069, allocations: 0.5575 MB / 0.6309 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.908, allocations: 0.5793 MB / 0.6314 GB, free: 130.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.543e-05/0.9081, allocations: 32.02 kB / 0.6315 GB, free: 130.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/0.9081, allocations: 0 / 0.6315 GB, free: 130.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.9081, allocations: 9.891 kB / 0.6315 GB, free: 130.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0211/0.9292, allocations: 14.55 MB / 0.6457 GB, free: 125 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.764e-05/0.9293, allocations: 39.12 kB / 0.6457 GB, free: 125 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.9305, allocations: 384.9 kB / 0.6461 GB, free: 125 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-05/0.9305, allocations: 50.16 kB / 0.6461 GB, free: 125 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001606/0.9307, allocations: 83.75 kB / 0.6462 GB, free: 124.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-05/0.9307, allocations: 76.39 kB / 0.6463 GB, free: 124.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.712e-05/0.9308, allocations: 59.62 kB / 0.6463 GB, free: 124.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003909/0.9347, allocations: 3.9 MB / 0.6502 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/0.9361, allocations: 0.5834 MB / 0.6507 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007418/0.9368, allocations: 93.09 kB / 0.6508 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002743/0.9396, allocations: 250.9 kB / 0.6511 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003761/0.9399, allocations: 268.2 kB / 0.6513 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/0.9401, allocations: 114.5 kB / 0.6514 GB, free: 122.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006567/0.9467, allocations: 3.733 MB / 0.6551 GB, free: 120.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9467, allocations: 0 / 0.6551 GB, free: 120.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007758/0.9544, allocations: 1.489 MB / 0.6565 GB, free: 119.3 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.0006268/0.955, allocations: 268.6 kB / 0.6568 GB, free: 119.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007816/0.9629, allocations: 5.25 MB / 0.6619 GB, free: 114.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.083e-05/0.9629, allocations: 8 kB / 0.6619 GB, free: 114.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.9644, allocations: 1.082 MB / 0.663 GB, free: 113.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005824/0.9703, allocations: 0.8012 MB / 0.6637 GB, free: 113 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02577/0.996, allocations: 15.1 MB / 0.6785 GB, free: 98.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007182/1.003, allocations: 4.589 MB / 0.683 GB, free: 94.39 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005809/1.009, allocations: 2.483 MB / 0.6854 GB, free: 91.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009915/1.01, allocations: 340.4 kB / 0.6857 GB, free: 91.57 MB / 474.7 MB Notification: Performance of SimCode: time 1.292e-06/1.01, allocations: 0 / 0.6857 GB, free: 91.57 MB / 474.7 MB Notification: Performance of Templates: time 0.0692/1.079, allocations: 33.75 MB / 0.7187 GB, free: 58.62 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=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.689980978961103]