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.0009203/0.0009203, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001041/0.001041, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 0.9594/0.9594, allocations: 177 MB / 205.2 MB, free: 5.051 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.2559/0.2559, allocations: 34.86 MB / 296.6 MB, free: 476 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 1.493e-06/1.493e-06, allocations: 0 / 326 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.027e-05, allocations: 2.312 kB / 326 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01019/0.01021, allocations: 14.12 MB / 340.1 MB, free: 8.941 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008772/0.01899, allocations: 5.155 MB / 345.2 MB, free: 3.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/0.02087, allocations: 147.3 kB / 345.4 MB, free: 3.625 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006348/0.02722, allocations: 6.316 MB / 351.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005275/0.03249, allocations: 2.896 MB / 354.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002906/0.0354, allocations: 1.793 MB / 356.4 MB, free: 8.582 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008985/0.04438, allocations: 9.088 MB / 365.5 MB, free: 15.49 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007479/0.05186, allocations: 6.316 MB / 371.8 MB, free: 9.047 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007758/0.05962, allocations: 4.444 MB / 376.2 MB, free: 4.594 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005788/0.06541, allocations: 4.256 MB / 380.5 MB, free: 336 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001778/0.06719, allocations: 0.5821 MB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003051/0.07024, allocations: 1.4 MB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003556/0.07379, allocations: 3.818 MB / 386.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003313/0.07711, allocations: 2.29 MB / 388.6 MB, free: 8.219 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008139/0.08524, allocations: 7.582 MB / 396.2 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.08525, allocations: 0 / 396.2 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.08525, allocations: 4 kB / 396.2 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003487/0.0856, allocations: 0 / 396.2 MB, free: 0.6055 MB / 362.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.0104/0.09601, allocations: 7.827 MB / 404 MB, free: 8.703 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.09605, allocations: 8.031 kB / 404 MB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00427/0.1003, allocations: 1.64 MB / 405.6 MB, free: 7.055 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00564/0.106, allocations: 3.654 MB / 409.3 MB, free: 3.301 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002923/0.1063, allocations: 411 kB / 409.7 MB, free: 2.898 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00114/0.1074, allocations: 0.543 MB / 410.2 MB, free: 2.355 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0132/0.1206, allocations: 8.289 MB / 418.5 MB, free: 8.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001701/0.1208, allocations: 71.39 kB / 418.6 MB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000517/0.1213, allocations: 259.8 kB / 418.9 MB, free: 8.605 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002353/0.1236, allocations: 2.682 MB / 421.5 MB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01009/0.1337, allocations: 4.071 MB / 425.6 MB, free: 1.812 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3024/0.4361, allocations: 51.08 MB / 476.7 MB, free: 71.25 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006808/0.4429, allocations: 3.122 MB / 479.8 MB, free: 70.16 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007589/0.4437, allocations: 0.5236 MB / 480.3 MB, free: 69.64 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007259/0.4509, allocations: 5.681 MB / 486 MB, free: 64.24 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.451, allocations: 55.44 kB / 486.1 MB, free: 64.18 MB / 410.8 MB Notification: Performance of pre-optimization done (n=182): time 4.037e-06/0.451, allocations: 0 / 486.1 MB, free: 64.18 MB / 410.8 MB Notification: Performance of matching and sorting (n=206): time 0.01587/0.4669, allocations: 7.205 MB / 493.3 MB, free: 57.68 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.4669, allocations: 149.8 kB / 493.4 MB, free: 57.5 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003334/0.4702, allocations: 4.937 MB / 498.4 MB, free: 52.98 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001698/0.4704, allocations: 61.67 kB / 498.4 MB, free: 52.92 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001326/0.4717, allocations: 4.83 MB / 0.4915 GB, free: 48.26 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004114/0.4721, allocations: 0.8451 MB / 0.4923 GB, free: 47.41 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009049/0.473, allocations: 1.596 MB / 0.4938 GB, free: 45.8 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.926e-05/0.4731, allocations: 305.1 kB / 0.4941 GB, free: 45.5 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.4742, allocations: 0.9537 MB / 0.4951 GB, free: 44.53 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002151/0.4764, allocations: 6.126 MB / 0.501 GB, free: 35.84 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004082/0.4805, allocations: 7.96 MB / 0.5088 GB, free: 25.41 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-05/0.4805, allocations: 56 kB / 0.5089 GB, free: 25.35 MB / 410.8 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.00576/0.4863, allocations: 5.666 MB / 0.5144 GB, free: 19.65 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.028e-05/0.4864, allocations: 88 kB / 0.5145 GB, free: 19.57 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.785e-05/0.4865, allocations: 188 kB / 0.5147 GB, free: 19.38 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001098/0.4866, allocations: 248 kB / 0.5149 GB, free: 19.14 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003047/0.4896, allocations: 1.989 MB / 0.5168 GB, free: 17.15 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001477/0.4898, allocations: 374.5 kB / 0.5172 GB, free: 16.78 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003555/0.4933, allocations: 371.2 kB / 0.5176 GB, free: 16.42 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003899/0.4937, allocations: 460 kB / 0.518 GB, free: 15.97 MB / 410.8 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.001576/0.4953, allocations: 0.8268 MB / 0.5188 GB, free: 15.13 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000571/0.4959, allocations: 323.5 kB / 0.5191 GB, free: 14.82 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/0.4962, allocations: 494 kB / 0.5196 GB, free: 14.32 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.4962, allocations: 20 kB / 0.5196 GB, free: 14.3 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4963, allocations: 8 kB / 0.5196 GB, free: 14.3 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.4963, allocations: 11.95 kB / 0.5196 GB, free: 14.29 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007786/0.504, allocations: 7.929 MB / 0.5274 GB, free: 5.664 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.106e-05/0.5041, allocations: 36 kB / 0.5274 GB, free: 5.629 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006942/0.5048, allocations: 375.3 kB / 0.5278 GB, free: 5.262 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.34e-05/0.5048, allocations: 52 kB / 0.5278 GB, free: 5.211 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.597e-05/0.5049, allocations: 83.98 kB / 0.5279 GB, free: 5.129 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.407e-05/0.5049, allocations: 75.66 kB / 0.528 GB, free: 5.055 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-05/0.5049, allocations: 60.25 kB / 0.528 GB, free: 4.996 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.5066, allocations: 2.93 MB / 0.5309 GB, free: 1.398 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006883/0.5073, allocations: 0.5393 MB / 0.5314 GB, free: 0.8555 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003321/0.5077, allocations: 87.97 kB / 0.5315 GB, free: 0.7695 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.5087, allocations: 83.98 kB / 0.5316 GB, free: 0.6875 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.5089, allocations: 258.7 kB / 0.5318 GB, free: 444 kB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.9e-05/0.5089, allocations: 95.98 kB / 0.5319 GB, free: 348 kB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002037/0.511, allocations: 2.152 MB / 0.534 GB, free: 14.21 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.511, allocations: 0 / 0.534 GB, free: 14.21 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.005147/0.5161, allocations: 1.492 MB / 0.5355 GB, free: 12.72 MB / 426.8 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.0004222/0.5165, allocations: 243.4 kB / 0.5357 GB, free: 12.47 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.003687/0.5202, allocations: 3.204 MB / 0.5388 GB, free: 9.289 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.000221/0.5205, allocations: 129.4 kB / 0.5389 GB, free: 9.156 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006636/0.5211, allocations: 0.5757 MB / 0.5395 GB, free: 8.59 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00316/0.5243, allocations: 0.7905 MB / 0.5403 GB, free: 7.836 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/0.5421, allocations: 13.46 MB / 0.5534 GB, free: 9.656 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002383/0.5445, allocations: 2.078 MB / 0.5554 GB, free: 7.543 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.002389/0.5469, allocations: 0.7468 MB / 0.5562 GB, free: 6.793 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/0.548, allocations: 0.7979 MB / 0.557 GB, free: 5.992 MB / 442.8 MB Notification: Performance of SimCode: time 1.853e-06/0.548, allocations: 0 / 0.557 GB, free: 5.992 MB / 442.8 MB Notification: Performance of Templates: time 0.06293/0.6109, allocations: 37.37 MB / 0.5935 GB, free: 1.09 MB / 474.8 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 -s gbode -gbm=radauIIA3 -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: 4.527854523155838]