Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001857/0.001857, 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.002003/0.002003, allocations: 165.6 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.773/1.773, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.3225/0.3225, allocations: 32.81 MB / 293.9 MB, free: 1.199 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.CutForce2,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.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.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 375.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.82e-05, allocations: 2.312 kB / 375.3 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01344/0.01346, allocations: 9.157 MB / 384.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006999/0.02046, allocations: 2.862 MB / 387.3 MB, free: 8.934 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.02157, allocations: 55.81 kB / 387.3 MB, free: 8.879 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004483/0.02605, allocations: 2.134 MB / 389.5 MB, free: 6.738 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003432/0.02948, allocations: 1.174 MB / 390.6 MB, free: 5.559 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008784/0.03036, allocations: 323.2 kB / 390.9 MB, free: 5.242 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003586/0.03395, allocations: 2.363 MB / 393.3 MB, free: 2.875 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002466/0.03641, allocations: 1.801 MB / 395.1 MB, free: 1.031 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00195/0.03836, allocations: 1.298 MB / 396.4 MB, free: 15.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002371/0.04073, allocations: 1.177 MB / 397.6 MB, free: 14.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004956/0.04123, allocations: 196 kB / 397.8 MB, free: 14.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.04257, allocations: 0.6357 MB / 398.4 MB, free: 13.72 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001308/0.04387, allocations: 1.188 MB / 399.6 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.04503, allocations: 0.7241 MB / 400.3 MB, free: 11.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005573/0.0506, allocations: 4.295 MB / 404.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.05061, allocations: 0 / 404.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.05061, allocations: 0 / 404.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.28e-05/0.0507, allocations: 4 kB / 404.6 MB, free: 7.492 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.006801/0.0575, allocations: 3.399 MB / 408 MB, free: 4.043 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.05755, allocations: 16.03 kB / 408 MB, free: 4.027 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007087/0.06463, allocations: 1.871 MB / 409.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004923/0.06956, allocations: 1.214 MB / 411.1 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002273/0.06978, allocations: 144 kB / 411.3 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007418/0.07053, allocations: 184.3 kB / 411.4 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01172/0.08224, allocations: 3.59 MB / 415 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.724e-05/0.0823, allocations: 11.88 kB / 415 MB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002932/0.08259, allocations: 91.91 kB / 415.1 MB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002462/0.08505, allocations: 1.344 MB / 416.5 MB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007376/0.09243, allocations: 2.035 MB / 418.5 MB, free: 9.125 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1955/0.2879, allocations: 24.45 MB / 443 MB, free: 93.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003295/0.2912, allocations: 0.9428 MB / 443.9 MB, free: 93.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004494/0.2916, allocations: 247.5 kB / 444.1 MB, free: 93.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005497/0.2971, allocations: 2.57 MB / 446.7 MB, free: 92.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.2972, allocations: 40.14 kB / 446.8 MB, free: 92.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.376e-06/0.2972, allocations: 0 / 446.8 MB, free: 92.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.004173/0.3013, allocations: 1.306 MB / 448.1 MB, free: 92.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.3014, allocations: 59.41 kB / 448.1 MB, free: 92.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002417/0.3038, allocations: 2.281 MB / 450.4 MB, free: 92.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.577e-05/0.3038, allocations: 36.45 kB / 450.4 MB, free: 92.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.3049, allocations: 2.108 MB / 452.5 MB, free: 91.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/0.3051, allocations: 357 kB / 452.9 MB, free: 91.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007944/0.3059, allocations: 0.7899 MB / 453.7 MB, free: 91.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.306, allocations: 0.5383 MB / 454.2 MB, free: 90.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005872/0.3066, allocations: 318.6 kB / 454.5 MB, free: 90.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.308, allocations: 3.175 MB / 457.7 MB, free: 87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002507/0.3105, allocations: 3.835 MB / 461.5 MB, free: 83.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.538e-05/0.3105, allocations: 19.28 kB / 461.6 MB, free: 83.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00341/0.314, allocations: 2.543 MB / 464.1 MB, free: 82.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.278e-05/0.314, allocations: 33 kB / 464.1 MB, free: 82.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.399e-05/0.3141, allocations: 68.59 kB / 464.2 MB, free: 82.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.592e-05/0.3141, allocations: 85.28 kB / 464.3 MB, free: 82.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/0.3158, allocations: 0.6606 MB / 464.9 MB, free: 82.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-05/0.3159, allocations: 126.9 kB / 465.1 MB, free: 82.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.3176, allocations: 415.6 kB / 465.5 MB, free: 81.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000204/0.3178, allocations: 192.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.0009344/0.3187, allocations: 479.6 kB / 466.1 MB, free: 81.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.3189, allocations: 171.5 kB / 466.3 MB, free: 81.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.3192, allocations: 157.7 kB / 466.5 MB, free: 81.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.3192, allocations: 9.844 kB / 466.5 MB, free: 81.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.3192, allocations: 0 / 466.5 MB, free: 81.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.3192, allocations: 3.234 kB / 466.5 MB, free: 81.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005612/0.3249, allocations: 3.612 MB / 470.1 MB, free: 79.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.3249, allocations: 15.8 kB / 470.1 MB, free: 79.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003685/0.3252, allocations: 98.05 kB / 470.2 MB, free: 79.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.427e-06/0.3253, allocations: 9.281 kB / 470.2 MB, free: 79.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/0.3253, allocations: 20.45 kB / 470.2 MB, free: 79.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.849e-06/0.3253, allocations: 12.66 kB / 470.2 MB, free: 79.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.3253, allocations: 9.969 kB / 470.2 MB, free: 79.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.3263, allocations: 0.9178 MB / 471.2 MB, free: 78.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003194/0.3267, allocations: 155.1 kB / 471.3 MB, free: 78.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.3268, allocations: 22.55 kB / 471.3 MB, free: 78.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/0.3272, allocations: 26.31 kB / 471.4 MB, free: 78.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.3274, allocations: 52.11 kB / 471.4 MB, free: 78.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.855e-05/0.3274, allocations: 28.12 kB / 471.4 MB, free: 78.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001222/0.3286, allocations: 0.9295 MB / 472.4 MB, free: 78.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3286, allocations: 0 / 472.4 MB, free: 78.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00233/0.331, allocations: 0.7024 MB / 473.1 MB, free: 77.9 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.000263/0.3312, allocations: 147.3 kB / 473.2 MB, free: 77.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002049/0.3333, allocations: 1.405 MB / 474.6 MB, free: 77.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3333, allocations: 0 / 474.6 MB, free: 77.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003261/0.3336, allocations: 248.4 kB / 474.9 MB, free: 77.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009563/0.3346, allocations: 185 kB / 475 MB, free: 77.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006505/0.3411, allocations: 4.421 MB / 479.5 MB, free: 74.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001818/0.3429, allocations: 1.504 MB / 481 MB, free: 74.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001856/0.3448, allocations: 0.8026 MB / 481.8 MB, free: 74.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/0.345, allocations: 114.6 kB / 481.9 MB, free: 74.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.292e-06/0.345, allocations: 0 / 481.9 MB, free: 74.14 MB / 410.7 MB Notification: Performance of Templates: time 0.0246/0.3696, allocations: 11.54 MB / 493.4 MB, free: 72.81 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.725325740990229]