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.001075/0.001075, allocations: 81.91 kB / 21.42 MB, free: 3.074 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.001741/0.001741, allocations: 165.5 kB / 24.82 MB, free: 8.938 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.9915/0.9915, allocations: 177 MB / 205.1 MB, free: 5.461 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.3215/0.3215, allocations: 34.87 MB / 296.6 MB, free: 0.5 MB / 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.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.934e-06/1.934e-06, allocations: 0 / 379.2 MB, free: 1.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.555e-05, allocations: 2.875 kB / 379.2 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.007357/0.007382, allocations: 9.003 MB / 388.2 MB, free: 8.816 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005108/0.01249, allocations: 2.846 MB / 391.1 MB, free: 5.961 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.01381, allocations: 59.81 kB / 391.1 MB, free: 5.902 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002464/0.01627, allocations: 2.107 MB / 393.2 MB, free: 3.789 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002725/0.019, allocations: 1.175 MB / 394.4 MB, free: 2.609 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000758/0.01975, allocations: 327.2 kB / 394.7 MB, free: 2.289 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003085/0.02284, allocations: 2.363 MB / 397.1 MB, free: 15.92 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001841/0.02468, allocations: 1.789 MB / 398.9 MB, free: 14.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.02625, allocations: 1.298 MB / 400.2 MB, free: 12.79 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.02767, allocations: 1.181 MB / 401.4 MB, free: 11.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002828/0.02796, allocations: 195.9 kB / 401.5 MB, free: 11.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.02898, allocations: 0.6396 MB / 402.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008638/0.02984, allocations: 1.184 MB / 403.4 MB, free: 9.586 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008064/0.03065, allocations: 0.7241 MB / 404.1 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002998/0.03365, allocations: 2.724 MB / 406.8 MB, free: 6.125 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.03366, allocations: 0 / 406.8 MB, free: 6.125 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.03366, allocations: 0 / 406.8 MB, free: 6.125 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.008e-05/0.03371, allocations: 0 / 406.8 MB, free: 6.125 MB / 378.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.003487/0.0372, allocations: 3.114 MB / 409.9 MB, free: 2.961 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.03725, allocations: 8.031 kB / 409.9 MB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002246/0.0395, allocations: 0.9901 MB / 410.9 MB, free: 1.961 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/0.04118, allocations: 1.142 MB / 412.1 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.507e-05/0.04126, allocations: 144 kB / 412.2 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002204/0.04148, allocations: 184.3 kB / 412.4 MB, free: 472 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004359/0.04584, allocations: 3.035 MB / 415.4 MB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.135e-05/0.04588, allocations: 11.88 kB / 415.4 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.04604, allocations: 87.91 kB / 415.5 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001128/0.04717, allocations: 1.204 MB / 416.7 MB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002947/0.05011, allocations: 1.438 MB / 418.2 MB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01979/0.0699, allocations: 20.41 MB / 438.6 MB, free: 5.199 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002629/0.07253, allocations: 0.8847 MB / 439.5 MB, free: 4.289 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003443/0.07288, allocations: 188.3 kB / 439.7 MB, free: 4.102 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003947/0.07682, allocations: 2.341 MB / 442 MB, free: 1.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.07686, allocations: 49.81 kB / 442 MB, free: 1.672 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 4.228e-06/0.07686, allocations: 0 / 442 MB, free: 1.672 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.003493/0.08036, allocations: 1.218 MB / 443.3 MB, free: 460 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.08039, allocations: 59.84 kB / 443.3 MB, free: 384 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1876/0.2679, allocations: 1.788 MB / 445.1 MB, free: 94.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001466/0.2681, allocations: 35.11 kB / 445.1 MB, free: 94.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008276/0.2689, allocations: 2.034 MB / 447.2 MB, free: 93.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/0.2691, allocations: 336.1 kB / 447.5 MB, free: 93.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006925/0.2698, allocations: 0.6846 MB / 448.2 MB, free: 93.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.27, allocations: 0.5233 MB / 448.7 MB, free: 93.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.2703, allocations: 229.5 kB / 448.9 MB, free: 93.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.2714, allocations: 3.002 MB / 451.9 MB, free: 89.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00206/0.2734, allocations: 3.618 MB / 455.6 MB, free: 86.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.042e-05/0.2735, allocations: 19.62 kB / 455.6 MB, free: 86.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002368/0.2758, allocations: 2.337 MB / 457.9 MB, free: 85.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.2759, allocations: 35.22 kB / 457.9 MB, free: 85.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.032e-05/0.2759, allocations: 66.56 kB / 458 MB, free: 85.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.557e-05/0.276, allocations: 88.75 kB / 458.1 MB, free: 85.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009552/0.2769, allocations: 0.6402 MB / 458.7 MB, free: 85.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.227e-05/0.277, allocations: 131.1 kB / 458.9 MB, free: 85.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.278, allocations: 400.2 kB / 459.3 MB, free: 85.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/0.2782, allocations: 165.1 kB / 459.4 MB, free: 85.14 MB / 410.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.0007048/0.2789, allocations: 413.9 kB / 459.8 MB, free: 84.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.279, allocations: 178.1 kB / 460 MB, free: 84.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.2791, allocations: 163.7 kB / 460.2 MB, free: 84.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.2791, allocations: 8.625 kB / 460.2 MB, free: 84.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2791, allocations: 0 / 460.2 MB, free: 84.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.2791, allocations: 3.188 kB / 460.2 MB, free: 84.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.2816, allocations: 2.127 MB / 462.3 MB, free: 84.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.2816, allocations: 10.81 kB / 462.3 MB, free: 84.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.2817, allocations: 85.53 kB / 462.4 MB, free: 84.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.2817, allocations: 10.28 kB / 462.4 MB, free: 84.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.2818, allocations: 26.02 kB / 462.4 MB, free: 84.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.2818, allocations: 13.64 kB / 462.4 MB, free: 84.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.2818, allocations: 10.38 kB / 462.4 MB, free: 84.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.2822, allocations: 0.8277 MB / 463.3 MB, free: 83.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.2823, allocations: 162.1 kB / 463.4 MB, free: 83.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.51e-05/0.2824, allocations: 12.97 kB / 463.4 MB, free: 83.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.2826, allocations: 17.5 kB / 463.5 MB, free: 83.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.2827, allocations: 61.78 kB / 463.5 MB, free: 83.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.2827, allocations: 22.59 kB / 463.5 MB, free: 83.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004512/0.2831, allocations: 0.7313 MB / 464.3 MB, free: 83.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2831, allocations: 0 / 464.3 MB, free: 83.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001581/0.2847, allocations: 0.6987 MB / 465 MB, free: 83.03 MB / 410.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.0002448/0.285, allocations: 155.3 kB / 465.1 MB, free: 82.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.2863, allocations: 1.182 MB / 466.3 MB, free: 82.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.2863, allocations: 0 / 466.3 MB, free: 82.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.2865, allocations: 178 kB / 466.5 MB, free: 82.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006594/0.2872, allocations: 189 kB / 466.7 MB, free: 82.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005263/0.2924, allocations: 4.343 MB / 471 MB, free: 80.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006736/0.2931, allocations: 0.7648 MB / 471.8 MB, free: 79.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006677/0.2938, allocations: 243.3 kB / 472 MB, free: 79.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.2941, allocations: 295.2 kB / 472.3 MB, free: 79.71 MB / 410.7 MB Notification: Performance of SimCode: time 2.325e-06/0.2941, allocations: 0 / 472.3 MB, free: 79.71 MB / 410.7 MB Notification: Performance of Templates: time 0.02605/0.3201, allocations: 12.5 MB / 484.8 MB, free: 78.21 MB / 410.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 -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.6932436442002654]