Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009477/0.0009477, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 166.7 kB / 24.99 MB, free: 8.793 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9709/0.9709, allocations: 177.1 MB / 205.3 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.27/0.27, allocations: 34.26 MB / 296 MB, free: 0.7617 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 3.938 kB / 378 MB, free: 3.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.85e-05, allocations: 2.312 kB / 378 MB, free: 3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.007985/0.008014, allocations: 9.207 MB / 387.2 MB, free: 9.746 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004933/0.01295, allocations: 2.865 MB / 390.1 MB, free: 6.871 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008926/0.01384, allocations: 55.81 kB / 390.1 MB, free: 6.816 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002264/0.0161, allocations: 2.138 MB / 392.3 MB, free: 4.672 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002293/0.0184, allocations: 1.175 MB / 393.4 MB, free: 3.492 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007021/0.0191, allocations: 323.2 kB / 393.8 MB, free: 3.176 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002486/0.02158, allocations: 2.352 MB / 396.1 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.02304, allocations: 1.801 MB / 397.9 MB, free: 14.97 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.02419, allocations: 1.29 MB / 399.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.0253, allocations: 1.173 MB / 400.4 MB, free: 12.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000222/0.02552, allocations: 196 kB / 400.6 MB, free: 12.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007932/0.02631, allocations: 0.6474 MB / 401.2 MB, free: 11.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006989/0.02701, allocations: 1.184 MB / 402.4 MB, free: 10.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007214/0.02773, allocations: 0.7203 MB / 403.1 MB, free: 9.754 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002585/0.03032, allocations: 2.717 MB / 405.8 MB, free: 7.027 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.03032, allocations: 7.922 kB / 405.8 MB, free: 7.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.03033, allocations: 0 / 405.8 MB, free: 7.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.971e-05/0.03037, allocations: 0 / 405.8 MB, free: 7.02 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.003196/0.03356, allocations: 3.13 MB / 409 MB, free: 3.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.0336, allocations: 12.03 kB / 409 MB, free: 3.828 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003159/0.03676, allocations: 1.879 MB / 410.9 MB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.03851, allocations: 1.219 MB / 412.1 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.268e-05/0.03858, allocations: 152 kB / 412.2 MB, free: 0.543 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/0.03879, allocations: 184.3 kB / 412.4 MB, free: 372 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00447/0.04326, allocations: 3.317 MB / 415.7 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.788e-05/0.0433, allocations: 11.88 kB / 415.7 MB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.04346, allocations: 87.91 kB / 415.8 MB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00136/0.04482, allocations: 1.344 MB / 417.2 MB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003895/0.04871, allocations: 1.794 MB / 419 MB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01546/0.06417, allocations: 20.58 MB / 439.5 MB, free: 4.176 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002063/0.06623, allocations: 0.9227 MB / 440.5 MB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.06656, allocations: 217.9 kB / 440.7 MB, free: 3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003093/0.06965, allocations: 2.451 MB / 443.1 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.06968, allocations: 37.89 kB / 443.2 MB, free: 488 kB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.885e-06/0.06968, allocations: 0 / 443.2 MB, free: 488 kB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.1466/0.2162, allocations: 1.275 MB / 444.4 MB, free: 100.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.2163, allocations: 62.19 kB / 444.5 MB, free: 100 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.218, allocations: 1.801 MB / 446.3 MB, free: 99.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.2181, allocations: 34.33 kB / 446.3 MB, free: 99.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000697/0.2188, allocations: 2.016 MB / 448.4 MB, free: 98.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.2189, allocations: 333.4 kB / 448.7 MB, free: 98.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004833/0.2194, allocations: 0.6736 MB / 449.4 MB, free: 98.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.935e-05/0.2195, allocations: 0.5223 MB / 449.9 MB, free: 98.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004473/0.22, allocations: 290 kB / 450.2 MB, free: 98.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.221, allocations: 3.049 MB / 453.2 MB, free: 94.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/0.223, allocations: 3.693 MB / 456.9 MB, free: 90.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-05/0.223, allocations: 17.25 kB / 456.9 MB, free: 90.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002716/0.2258, allocations: 2.496 MB / 459.4 MB, free: 89.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.026e-05/0.2258, allocations: 38.06 kB / 459.5 MB, free: 89.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.266e-05/0.2258, allocations: 64.31 kB / 459.5 MB, free: 89.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.805e-05/0.2259, allocations: 90.78 kB / 459.6 MB, free: 89.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.227, allocations: 0.6606 MB / 460.3 MB, free: 89.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.65e-05/0.2271, allocations: 131.9 kB / 460.4 MB, free: 89.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.2282, allocations: 417.5 kB / 460.8 MB, free: 88.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/0.2284, allocations: 190.3 kB / 461 MB, free: 88.95 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.0006511/0.229, allocations: 413.5 kB / 461.4 MB, free: 88.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.2291, allocations: 173.4 kB / 461.6 MB, free: 88.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.2293, allocations: 166.2 kB / 461.7 MB, free: 88.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.2293, allocations: 9.562 kB / 461.7 MB, free: 88.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.2293, allocations: 0 / 461.7 MB, free: 88.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.2293, allocations: 3.328 kB / 461.7 MB, free: 88.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002983/0.2323, allocations: 2.839 MB / 464.6 MB, free: 86.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.2323, allocations: 5.75 kB / 464.6 MB, free: 86.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.2325, allocations: 96.06 kB / 464.7 MB, free: 86.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.2325, allocations: 6.125 kB / 464.7 MB, free: 86.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.2325, allocations: 25.23 kB / 464.7 MB, free: 86.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.2325, allocations: 13.47 kB / 464.7 MB, free: 86.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.2325, allocations: 6.312 kB / 464.7 MB, free: 86.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006018/0.2331, allocations: 0.8638 MB / 465.6 MB, free: 86.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.2333, allocations: 152.2 kB / 465.7 MB, free: 86.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.611e-05/0.2334, allocations: 17.88 kB / 465.8 MB, free: 86.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.2336, allocations: 23.64 kB / 465.8 MB, free: 86.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.2336, allocations: 55.81 kB / 465.8 MB, free: 86.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/0.2337, allocations: 36.03 kB / 465.9 MB, free: 86.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006532/0.2343, allocations: 0.7767 MB / 466.6 MB, free: 85.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2343, allocations: 0 / 466.6 MB, free: 85.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001578/0.2359, allocations: 0.7047 MB / 467.3 MB, free: 85.55 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.0002285/0.2361, allocations: 149.9 kB / 467.5 MB, free: 85.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.2376, allocations: 1.245 MB / 468.7 MB, free: 85.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2376, allocations: 4.25 kB / 468.7 MB, free: 85.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.2378, allocations: 201.9 kB / 468.9 MB, free: 84.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006303/0.2385, allocations: 193.7 kB / 469.1 MB, free: 84.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004463/0.2429, allocations: 4.348 MB / 473.5 MB, free: 82.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/0.2434, allocations: 0.7603 MB / 474.2 MB, free: 82.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001094/0.2445, allocations: 0.7951 MB / 475 MB, free: 82.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.2447, allocations: 119.9 kB / 475.1 MB, free: 82.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.683e-06/0.2447, allocations: 0 / 475.1 MB, free: 82.14 MB / 410.7 MB Notification: Performance of Templates: time 0.02081/0.2655, allocations: 11.56 MB / 486.7 MB, free: 80.83 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.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.5777885739225894]