Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001073/0.001073, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001367/0.001367, allocations: 165.7 kB / 24.99 MB, free: 8.324 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.9745/0.9745, allocations: 177.1 MB / 205.3 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2628/0.2628, allocations: 32.81 MB / 294.6 MB, free: 1.293 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 3.938 kB / 376 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.9e-05, allocations: 2.312 kB / 376 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.008146/0.008175, allocations: 9.2 MB / 385.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004416/0.01259, allocations: 2.862 MB / 388 MB, free: 8.887 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008417/0.01343, allocations: 55.81 kB / 388.1 MB, free: 8.832 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002327/0.01576, allocations: 2.142 MB / 390.2 MB, free: 6.684 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00205/0.01781, allocations: 1.175 MB / 391.4 MB, free: 5.504 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.01831, allocations: 311.2 kB / 391.7 MB, free: 5.199 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002238/0.02055, allocations: 2.364 MB / 394.1 MB, free: 2.828 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.02202, allocations: 1.801 MB / 395.9 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.02306, allocations: 1.294 MB / 397.2 MB, free: 15.69 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009798/0.02403, allocations: 1.177 MB / 398.4 MB, free: 14.51 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.02421, allocations: 196 kB / 398.5 MB, free: 14.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007575/0.02497, allocations: 0.6357 MB / 399.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009288/0.0259, allocations: 1.192 MB / 400.4 MB, free: 12.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005223/0.02642, allocations: 0.7203 MB / 401.1 MB, free: 11.76 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.02862, allocations: 2.716 MB / 403.8 MB, free: 9.035 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.02863, allocations: 0 / 403.8 MB, free: 9.035 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.02863, allocations: 0 / 403.8 MB, free: 9.035 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.192e-05/0.02866, allocations: 4 kB / 403.8 MB, free: 9.031 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.003315/0.03198, allocations: 3.134 MB / 407 MB, free: 5.848 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.03202, allocations: 8.031 kB / 407 MB, free: 5.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003204/0.03523, allocations: 1.879 MB / 408.8 MB, free: 3.957 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.03678, allocations: 1.223 MB / 410.1 MB, free: 2.699 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-05/0.03686, allocations: 140 kB / 410.2 MB, free: 2.562 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/0.03706, allocations: 192.3 kB / 410.4 MB, free: 2.375 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004388/0.04145, allocations: 3.313 MB / 413.7 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.506e-05/0.04149, allocations: 15.88 kB / 413.7 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.04165, allocations: 87.91 kB / 413.8 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001257/0.04291, allocations: 1.344 MB / 415.1 MB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004103/0.04701, allocations: 1.798 MB / 416.9 MB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01657/0.06359, allocations: 20.57 MB / 437.5 MB, free: 6.191 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/0.0657, allocations: 0.9266 MB / 438.4 MB, free: 5.234 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/0.06603, allocations: 221.9 kB / 438.7 MB, free: 5.008 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002982/0.06901, allocations: 2.443 MB / 441.1 MB, free: 2.539 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.06903, allocations: 45.89 kB / 441.1 MB, free: 2.484 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.855e-06/0.06904, allocations: 0 / 441.1 MB, free: 2.484 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.003031/0.07207, allocations: 1.28 MB / 442.4 MB, free: 1.199 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.0721, allocations: 63.89 kB / 442.5 MB, free: 1.125 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1573/0.2294, allocations: 1.789 MB / 444.3 MB, free: 101.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.2295, allocations: 41.14 kB / 444.3 MB, free: 101.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007534/0.2303, allocations: 2.01 MB / 446.3 MB, free: 100.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/0.2305, allocations: 334.7 kB / 446.7 MB, free: 100.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004864/0.231, allocations: 0.6735 MB / 447.3 MB, free: 100.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.1e-05/0.2311, allocations: 0.5199 MB / 447.8 MB, free: 99.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004894/0.2316, allocations: 293.9 kB / 448.1 MB, free: 99.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.2327, allocations: 3.054 MB / 451.2 MB, free: 96.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002052/0.2348, allocations: 3.693 MB / 454.9 MB, free: 92.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.143e-05/0.2348, allocations: 19.75 kB / 454.9 MB, free: 92.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002884/0.2377, allocations: 2.498 MB / 457.4 MB, free: 91.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/0.2378, allocations: 33.75 kB / 457.4 MB, free: 91.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.766e-05/0.2378, allocations: 64.38 kB / 457.5 MB, free: 91.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.252e-05/0.2379, allocations: 90 kB / 457.6 MB, free: 91.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.239, allocations: 0.6577 MB / 458.2 MB, free: 91.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-05/0.2391, allocations: 131.1 kB / 458.4 MB, free: 91.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.2403, allocations: 414.3 kB / 458.8 MB, free: 91.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/0.2405, allocations: 190.1 kB / 459 MB, free: 91.2 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.0007479/0.2412, allocations: 412.8 kB / 459.4 MB, free: 90.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.2414, allocations: 171.7 kB / 459.5 MB, free: 90.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.2415, allocations: 157.5 kB / 459.7 MB, free: 90.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.2415, allocations: 15.36 kB / 459.7 MB, free: 90.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2416, allocations: 0 / 459.7 MB, free: 90.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.2416, allocations: 3.188 kB / 459.7 MB, free: 90.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003235/0.2448, allocations: 2.838 MB / 462.5 MB, free: 89.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.2448, allocations: 3.156 kB / 462.5 MB, free: 89.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.245, allocations: 104.4 kB / 462.6 MB, free: 89.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.245, allocations: 6.406 kB / 462.7 MB, free: 89.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.245, allocations: 21.22 kB / 462.7 MB, free: 89.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.2451, allocations: 13.88 kB / 462.7 MB, free: 89.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.2451, allocations: 6.344 kB / 462.7 MB, free: 89.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006652/0.2457, allocations: 0.8654 MB / 463.6 MB, free: 88.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.2459, allocations: 155.2 kB / 463.7 MB, free: 88.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.858e-05/0.246, allocations: 20.89 kB / 463.7 MB, free: 88.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.2462, allocations: 23.44 kB / 463.8 MB, free: 88.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.939e-05/0.2463, allocations: 55.06 kB / 463.8 MB, free: 88.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.2463, allocations: 26.62 kB / 463.8 MB, free: 88.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006843/0.247, allocations: 0.7763 MB / 464.6 MB, free: 88.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.247, allocations: 0 / 464.6 MB, free: 88.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001811/0.2488, allocations: 0.7095 MB / 465.3 MB, free: 87.8 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.0002998/0.2491, allocations: 143.8 kB / 465.5 MB, free: 87.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.2509, allocations: 1.252 MB / 466.7 MB, free: 87.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.2509, allocations: 5.094 kB / 466.7 MB, free: 87.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.2511, allocations: 198.8 kB / 466.9 MB, free: 87.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000747/0.2518, allocations: 200.5 kB / 467.1 MB, free: 87.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00525/0.2571, allocations: 4.342 MB / 471.4 MB, free: 84.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/0.2576, allocations: 0.7635 MB / 472.2 MB, free: 84.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001133/0.2588, allocations: 0.7979 MB / 473 MB, free: 84.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.259, allocations: 115.2 kB / 473.1 MB, free: 84.39 MB / 410.7 MB Notification: Performance of SimCode: time 1.934e-06/0.259, allocations: 0 / 473.1 MB, free: 84.39 MB / 410.7 MB Notification: Performance of Templates: time 0.02388/0.2828, allocations: 11.56 MB / 484.7 MB, free: 83.07 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.5884319490287453]