Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.00191/0.00191, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002312/0.002312, allocations: 161.6 kB / 24.26 MB, free: 180 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.48/1.48, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.354/0.354, allocations: 34.26 MB / 295.3 MB, free: 0.6914 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.725e-05, allocations: 2.312 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01233/0.01236, allocations: 8.42 MB / 385.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006474/0.01883, allocations: 2.795 MB / 388.5 MB, free: 7.711 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.01985, allocations: 55.81 kB / 388.5 MB, free: 7.656 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004342/0.02419, allocations: 2.072 MB / 390.6 MB, free: 5.578 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002711/0.0269, allocations: 1.171 MB / 391.8 MB, free: 4.402 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007303/0.02763, allocations: 323.2 kB / 392.1 MB, free: 4.086 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00322/0.03085, allocations: 2.364 MB / 394.5 MB, free: 1.719 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002456/0.03331, allocations: 1.801 MB / 396.3 MB, free: 15.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.035, allocations: 1.282 MB / 397.5 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/0.03667, allocations: 1.138 MB / 398.7 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004206/0.03709, allocations: 196 kB / 398.9 MB, free: 13.26 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.03838, allocations: 0.6396 MB / 399.5 MB, free: 12.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001232/0.03961, allocations: 1.173 MB / 400.7 MB, free: 11.44 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009417/0.04055, allocations: 0.7163 MB / 401.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005286/0.04584, allocations: 4.291 MB / 405.7 MB, free: 6.418 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.04584, allocations: 4 kB / 405.7 MB, free: 6.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.04584, allocations: 0 / 405.7 MB, free: 6.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.157e-05/0.0459, allocations: 0 / 405.7 MB, free: 6.414 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.00555/0.05145, allocations: 2.827 MB / 408.5 MB, free: 3.543 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.05149, allocations: 8.031 kB / 408.5 MB, free: 3.535 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00595/0.05745, allocations: 1.934 MB / 410.5 MB, free: 1.598 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003045/0.06049, allocations: 1.29 MB / 411.8 MB, free: 284 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/0.06064, allocations: 148 kB / 411.9 MB, free: 136 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004365/0.06107, allocations: 188.4 kB / 412.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/0.07252, allocations: 6.255 MB / 418.3 MB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.096e-05/0.07257, allocations: 11.88 kB / 418.3 MB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002551/0.07283, allocations: 87.91 kB / 418.4 MB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002366/0.07519, allocations: 1.34 MB / 419.8 MB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01065/0.08585, allocations: 5.332 MB / 425.1 MB, free: 2.625 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2021/0.2879, allocations: 18.37 MB / 443.5 MB, free: 94.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003778/0.2917, allocations: 1.648 MB / 445.1 MB, free: 94.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007678/0.2925, allocations: 0.6373 MB / 445.8 MB, free: 94.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005277/0.2978, allocations: 2.968 MB / 448.7 MB, free: 93.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.2978, allocations: 40.41 kB / 448.8 MB, free: 93.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.796e-06/0.2978, allocations: 0.5625 kB / 448.8 MB, free: 93.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.005044/0.3028, allocations: 2.126 MB / 450.9 MB, free: 93.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.3029, allocations: 61.38 kB / 451 MB, free: 93.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/0.305, allocations: 1.939 MB / 452.9 MB, free: 92.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.305, allocations: 33.27 kB / 452.9 MB, free: 92.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008303/0.3059, allocations: 1.901 MB / 454.8 MB, free: 91.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/0.3061, allocations: 328.1 kB / 455.1 MB, free: 91.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006407/0.3067, allocations: 0.613 MB / 455.8 MB, free: 91.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.994e-05/0.3068, allocations: 344.8 kB / 456.1 MB, free: 90.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009919/0.3078, allocations: 0.8841 MB / 457 MB, free: 90.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.3092, allocations: 2.753 MB / 459.7 MB, free: 87.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002859/0.3121, allocations: 3.97 MB / 463.7 MB, free: 84.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.646e-05/0.3121, allocations: 19.41 kB / 463.7 MB, free: 84.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004251/0.3164, allocations: 3.681 MB / 467.4 MB, free: 83.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.552e-05/0.3164, allocations: 34.94 kB / 467.4 MB, free: 83.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.477e-05/0.3165, allocations: 70.16 kB / 467.5 MB, free: 83.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.567e-05/0.3166, allocations: 86.5 kB / 467.6 MB, free: 83.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.3181, allocations: 0.6551 MB / 468.2 MB, free: 82.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.844e-05/0.3182, allocations: 128.2 kB / 468.4 MB, free: 82.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/0.32, allocations: 422.2 kB / 468.8 MB, free: 82.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/0.3202, allocations: 186.9 kB / 469 MB, free: 82.65 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.001676/0.3219, allocations: 1.34 MB / 470.3 MB, free: 82.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.3221, allocations: 175.8 kB / 470.5 MB, free: 81.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.3223, allocations: 185.5 kB / 470.7 MB, free: 81.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.3224, allocations: 11.08 kB / 470.7 MB, free: 81.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.3224, allocations: 0 / 470.7 MB, free: 81.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.3224, allocations: 6.266 kB / 470.7 MB, free: 81.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004408/0.3268, allocations: 3.131 MB / 473.8 MB, free: 80.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.3268, allocations: 9.875 kB / 473.8 MB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003761/0.3272, allocations: 99.59 kB / 473.9 MB, free: 80.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.398e-05/0.3272, allocations: 8.031 kB / 473.9 MB, free: 80.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/0.3272, allocations: 18.2 kB / 473.9 MB, free: 80.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.144e-05/0.3273, allocations: 9.469 kB / 473.9 MB, free: 80.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.3273, allocations: 10.69 kB / 474 MB, free: 80.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.3286, allocations: 1.247 MB / 475.2 MB, free: 79.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002231/0.3288, allocations: 156.1 kB / 475.4 MB, free: 79.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.329, allocations: 18.56 kB / 475.4 MB, free: 79.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004185/0.3294, allocations: 24.61 kB / 475.4 MB, free: 79.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/0.3295, allocations: 52.25 kB / 475.5 MB, free: 79.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.748e-05/0.3296, allocations: 31.94 kB / 475.5 MB, free: 79.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001342/0.3309, allocations: 1.117 MB / 476.6 MB, free: 79.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3309, allocations: 0 / 476.6 MB, free: 79.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002565/0.3335, allocations: 0.7026 MB / 477.3 MB, free: 79.08 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.0002873/0.3337, allocations: 149.8 kB / 477.4 MB, free: 78.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002676/0.3364, allocations: 1.955 MB / 479.4 MB, free: 78.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.3364, allocations: 1.188 kB / 479.4 MB, free: 78.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004931/0.3369, allocations: 427.9 kB / 479.8 MB, free: 78.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009998/0.3379, allocations: 191.4 kB / 480 MB, free: 78.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006982/0.3449, allocations: 5.123 MB / 485.1 MB, free: 75.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/0.3466, allocations: 1.705 MB / 486.8 MB, free: 75.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001608/0.3482, allocations: 0.9347 MB / 487.8 MB, free: 75.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.3485, allocations: 108.8 kB / 487.9 MB, free: 75.1 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.3485, allocations: 4 kB / 487.9 MB, free: 75.09 MB / 410.7 MB Notification: Performance of Templates: time 0.02195/0.3704, allocations: 11.7 MB / 499.6 MB, free: 71.73 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.443006681045517]