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.00228/0.00228, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002549/0.002549, allocations: 169.3 kB / 24.27 MB, free: 156 kB / 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 1.626/1.626, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.3548/0.3548, allocations: 32.8 MB / 293.9 MB, free: 1.223 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.3.|cutForce.force.2.|cutForce.force.1.",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.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 375.3 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.671e-05, allocations: 5.688 kB / 375.3 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01369/0.01371, allocations: 9.169 MB / 384.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006785/0.0205, allocations: 2.858 MB / 387.3 MB, free: 8.918 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009381/0.02144, allocations: 55.81 kB / 387.3 MB, free: 8.863 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004635/0.02607, allocations: 2.13 MB / 389.5 MB, free: 6.727 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004275/0.03035, allocations: 1.174 MB / 390.6 MB, free: 5.547 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008573/0.0312, allocations: 319.2 kB / 391 MB, free: 5.234 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003986/0.03519, allocations: 2.36 MB / 393.3 MB, free: 2.867 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002392/0.03758, allocations: 1.809 MB / 395.1 MB, free: 1.016 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001821/0.0394, allocations: 1.29 MB / 396.4 MB, free: 15.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/0.04122, allocations: 1.177 MB / 397.6 MB, free: 14.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003564/0.04158, allocations: 196 kB / 397.8 MB, free: 14.35 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.04314, allocations: 0.6358 MB / 398.4 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001272/0.04442, allocations: 1.184 MB / 399.6 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001005/0.04542, allocations: 0.7241 MB / 400.3 MB, free: 11.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005491/0.05091, allocations: 4.298 MB / 404.6 MB, free: 7.488 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.05092, allocations: 0 / 404.6 MB, free: 7.488 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.05092, allocations: 0 / 404.6 MB, free: 7.488 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.952e-05/0.051, allocations: 4 kB / 404.6 MB, free: 7.484 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.006628/0.05763, allocations: 3.399 MB / 408 MB, free: 4.035 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.05767, allocations: 12.03 kB / 408 MB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00608/0.06375, allocations: 1.875 MB / 409.9 MB, free: 2.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003307/0.06706, allocations: 1.21 MB / 411.1 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.0672, allocations: 144 kB / 411.3 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004347/0.06764, allocations: 192.3 kB / 411.5 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008419/0.07606, allocations: 3.582 MB / 415 MB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.473e-05/0.07611, allocations: 11.88 kB / 415 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002492/0.07636, allocations: 87.91 kB / 415.1 MB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002472/0.07883, allocations: 1.348 MB / 416.5 MB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007416/0.08625, allocations: 2.039 MB / 418.5 MB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2005/0.2867, allocations: 24.45 MB / 443 MB, free: 93.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003256/0.29, allocations: 0.9395 MB / 443.9 MB, free: 93.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000491/0.2905, allocations: 254.1 kB / 444.2 MB, free: 93.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005549/0.296, allocations: 2.559 MB / 446.7 MB, free: 92.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.296, allocations: 42.08 kB / 446.8 MB, free: 92.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.737e-06/0.296, allocations: 2.406 kB / 446.8 MB, free: 92.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.004271/0.3003, allocations: 1.317 MB / 448.1 MB, free: 92.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.3004, allocations: 57.19 kB / 448.1 MB, free: 92.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002596/0.3029, allocations: 2.274 MB / 450.4 MB, free: 92.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.405e-05/0.303, allocations: 29.58 kB / 450.4 MB, free: 92.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001245/0.3042, allocations: 2.115 MB / 452.5 MB, free: 91.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002558/0.3045, allocations: 361.7 kB / 452.9 MB, free: 91.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008397/0.3053, allocations: 0.7867 MB / 453.7 MB, free: 91.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3055, allocations: 0.5378 MB / 454.2 MB, free: 90.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005796/0.306, allocations: 317.4 kB / 454.5 MB, free: 90.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.3077, allocations: 3.175 MB / 457.7 MB, free: 87.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002878/0.3106, allocations: 3.834 MB / 461.5 MB, free: 83.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.364e-05/0.3106, allocations: 19.03 kB / 461.6 MB, free: 83.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004858/0.3155, allocations: 2.543 MB / 464.1 MB, free: 82.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.322e-05/0.3155, allocations: 35.94 kB / 464.1 MB, free: 82.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.898e-05/0.3156, allocations: 65.97 kB / 464.2 MB, free: 82.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001006/0.3157, allocations: 86.62 kB / 464.3 MB, free: 82.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.3173, allocations: 0.6564 MB / 464.9 MB, free: 82.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.403e-05/0.3174, allocations: 130.9 kB / 465.1 MB, free: 82.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/0.3193, allocations: 421.9 kB / 465.5 MB, free: 81.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/0.3194, allocations: 189.1 kB / 465.7 MB, free: 81.73 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.0009632/0.3204, allocations: 471.4 kB / 466.1 MB, free: 81.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.3206, allocations: 179 kB / 466.3 MB, free: 81.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002898/0.3209, allocations: 161.7 kB / 466.5 MB, free: 81.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.3209, allocations: 9.766 kB / 466.5 MB, free: 81.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.3209, allocations: 0 / 466.5 MB, free: 81.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3209, allocations: 2.656 kB / 466.5 MB, free: 81.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005592/0.3265, allocations: 3.615 MB / 470.1 MB, free: 79.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/0.3265, allocations: 3.031 kB / 470.1 MB, free: 79.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003609/0.3269, allocations: 99.69 kB / 470.2 MB, free: 79.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/0.3269, allocations: 8.969 kB / 470.2 MB, free: 79.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.986e-05/0.3269, allocations: 17.06 kB / 470.2 MB, free: 79.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/0.327, allocations: 16.34 kB / 470.2 MB, free: 79.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.327, allocations: 10 kB / 470.2 MB, free: 79.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009734/0.3279, allocations: 0.9201 MB / 471.2 MB, free: 78.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/0.3282, allocations: 155.2 kB / 471.3 MB, free: 78.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.3283, allocations: 19.62 kB / 471.3 MB, free: 78.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004203/0.3288, allocations: 25.73 kB / 471.4 MB, free: 78.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.367e-05/0.3288, allocations: 57.78 kB / 471.4 MB, free: 78.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.014e-05/0.3289, allocations: 32.98 kB / 471.4 MB, free: 78.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001079/0.33, allocations: 0.9232 MB / 472.4 MB, free: 78.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.33, allocations: 0 / 472.4 MB, free: 78.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002387/0.3324, allocations: 0.7058 MB / 473.1 MB, free: 77.91 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.0002994/0.3327, allocations: 144.8 kB / 473.2 MB, free: 77.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002094/0.3348, allocations: 1.404 MB / 474.6 MB, free: 77.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3348, allocations: 7.938 kB / 474.6 MB, free: 77.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.3351, allocations: 234.6 kB / 474.9 MB, free: 77.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009257/0.336, allocations: 192 kB / 475 MB, free: 77.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006466/0.3425, allocations: 4.417 MB / 479.5 MB, free: 74.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001807/0.3443, allocations: 1.507 MB / 481 MB, free: 74.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001745/0.346, allocations: 0.7988 MB / 481.8 MB, free: 74.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/0.3463, allocations: 116.1 kB / 481.9 MB, free: 74.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.884e-06/0.3463, allocations: 0 / 481.9 MB, free: 74.16 MB / 410.7 MB Notification: Performance of Templates: time 0.02421/0.3705, allocations: 11.55 MB / 493.4 MB, free: 72.82 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.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: 5.715369462966919]