Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001742/0.001742, allocations: 92.27 kB / 20.96 MB, free: 3.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001696/0.001696, allocations: 152.9 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3517/0.3517, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.226e-05, allocations: 6.312 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.02029/0.02032, allocations: 8.417 MB / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.03128, allocations: 2.795 MB / 388.4 MB, free: 7.621 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002333/0.03361, allocations: 55.81 kB / 388.5 MB, free: 7.566 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006932/0.04054, allocations: 2.064 MB / 390.5 MB, free: 5.496 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005073/0.04561, allocations: 1.182 MB / 391.7 MB, free: 4.309 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.04696, allocations: 319.2 kB / 392 MB, free: 3.996 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00596/0.05292, allocations: 2.364 MB / 394.4 MB, free: 1.625 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003965/0.05689, allocations: 1.789 MB / 396.2 MB, free: 15.79 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00296/0.05985, allocations: 1.286 MB / 397.5 MB, free: 14.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002874/0.06272, allocations: 1.134 MB / 398.6 MB, free: 13.37 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005936/0.06331, allocations: 192 kB / 398.8 MB, free: 13.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0019/0.06521, allocations: 0.6474 MB / 399.4 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002014/0.06723, allocations: 1.176 MB / 400.6 MB, free: 11.35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.06904, allocations: 0.7124 MB / 401.3 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008501/0.07754, allocations: 4.291 MB / 405.6 MB, free: 6.332 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.07756, allocations: 3.984 kB / 405.6 MB, free: 6.328 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.07756, allocations: 0 / 405.6 MB, free: 6.328 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001332/0.07769, allocations: 0 / 405.6 MB, free: 6.328 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.00778/0.08547, allocations: 2.831 MB / 408.5 MB, free: 3.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.08551, allocations: 8.031 kB / 408.5 MB, free: 3.445 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006181/0.09169, allocations: 1.93 MB / 410.4 MB, free: 1.512 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002926/0.09462, allocations: 1.286 MB / 411.7 MB, free: 196 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.09477, allocations: 148 kB / 411.8 MB, free: 48 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003859/0.09516, allocations: 188.3 kB / 412 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01176/0.1069, allocations: 6.258 MB / 418.3 MB, free: 9.332 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.569e-05/0.107, allocations: 15.88 kB / 418.3 MB, free: 9.316 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003289/0.1073, allocations: 87.91 kB / 418.4 MB, free: 9.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002351/0.1097, allocations: 1.34 MB / 419.7 MB, free: 7.883 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/0.1203, allocations: 5.33 MB / 425 MB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1773/0.2976, allocations: 18.38 MB / 443.4 MB, free: 94.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003722/0.3014, allocations: 1.637 MB / 445.1 MB, free: 94.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007276/0.3021, allocations: 0.6366 MB / 445.7 MB, free: 94.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005269/0.3073, allocations: 2.972 MB / 448.7 MB, free: 94.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.3074, allocations: 37.31 kB / 448.7 MB, free: 93.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.675e-06/0.3074, allocations: 0 / 448.7 MB, free: 93.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.004782/0.3122, allocations: 2.122 MB / 450.8 MB, free: 93.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.3122, allocations: 58.22 kB / 450.9 MB, free: 93.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.3141, allocations: 1.942 MB / 452.8 MB, free: 93.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.3142, allocations: 38.58 kB / 452.9 MB, free: 92.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007484/0.3149, allocations: 1.909 MB / 454.8 MB, free: 91.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.3151, allocations: 324.5 kB / 455.1 MB, free: 91.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005786/0.3157, allocations: 0.6103 MB / 455.7 MB, free: 91.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.096e-05/0.3157, allocations: 347.2 kB / 456 MB, free: 90.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009587/0.3167, allocations: 0.89 MB / 456.9 MB, free: 90.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.3183, allocations: 2.743 MB / 459.7 MB, free: 87.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002958/0.3212, allocations: 3.978 MB / 463.6 MB, free: 84.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.193e-05/0.3213, allocations: 19.69 kB / 463.7 MB, free: 84.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00452/0.3258, allocations: 3.685 MB / 467.3 MB, free: 83.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.267e-05/0.3258, allocations: 31.09 kB / 467.4 MB, free: 83.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.134e-05/0.3259, allocations: 70.59 kB / 467.4 MB, free: 83.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-05/0.326, allocations: 87.62 kB / 467.5 MB, free: 83.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.3276, allocations: 0.6495 MB / 468.2 MB, free: 83.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.186e-05/0.3277, allocations: 131.8 kB / 468.3 MB, free: 82.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/0.3295, allocations: 424.8 kB / 468.7 MB, free: 82.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/0.3298, allocations: 183.5 kB / 468.9 MB, free: 82.7 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.001852/0.3316, allocations: 1.336 MB / 470.2 MB, free: 82.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/0.3318, allocations: 179.9 kB / 470.4 MB, free: 81.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.3321, allocations: 192.7 kB / 470.6 MB, free: 81.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/0.3322, allocations: 13.03 kB / 470.6 MB, free: 81.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.3322, allocations: 0 / 470.6 MB, free: 81.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.3322, allocations: 3.188 kB / 470.6 MB, free: 81.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004724/0.3369, allocations: 3.129 MB / 473.7 MB, free: 80.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.3369, allocations: 5.5 kB / 473.8 MB, free: 80.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.3373, allocations: 98.17 kB / 473.8 MB, free: 80.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/0.3373, allocations: 9.344 kB / 473.9 MB, free: 80.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.826e-05/0.3374, allocations: 26.44 kB / 473.9 MB, free: 80.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.125e-05/0.3374, allocations: 8 kB / 473.9 MB, free: 80.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.3374, allocations: 9.781 kB / 473.9 MB, free: 80.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.3387, allocations: 1.24 MB / 475.1 MB, free: 79.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/0.339, allocations: 158 kB / 475.3 MB, free: 79.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.3392, allocations: 18.27 kB / 475.3 MB, free: 79.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004494/0.3396, allocations: 27.19 kB / 475.3 MB, free: 79.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.431e-05/0.3397, allocations: 54.95 kB / 475.4 MB, free: 79.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.629e-05/0.3398, allocations: 28.19 kB / 475.4 MB, free: 79.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001465/0.3412, allocations: 1.121 MB / 476.5 MB, free: 79.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3412, allocations: 0.6562 kB / 476.5 MB, free: 79.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002616/0.3438, allocations: 0.7066 MB / 477.2 MB, free: 79.12 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.0003154/0.3441, allocations: 139 kB / 477.4 MB, free: 79.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003041/0.3472, allocations: 1.957 MB / 479.3 MB, free: 78.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.3472, allocations: 1.25 kB / 479.3 MB, free: 78.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005092/0.3477, allocations: 428.9 kB / 479.8 MB, free: 78.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.3489, allocations: 187.8 kB / 479.9 MB, free: 78.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007234/0.3561, allocations: 5.123 MB / 485.1 MB, free: 75.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001786/0.3579, allocations: 1.703 MB / 486.8 MB, free: 75.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001681/0.3596, allocations: 0.9358 MB / 487.7 MB, free: 75.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/0.3598, allocations: 112.4 kB / 487.8 MB, free: 75.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.312e-06/0.3598, allocations: 0 / 487.8 MB, free: 75.14 MB / 410.7 MB Notification: Performance of Templates: time 0.02357/0.3834, allocations: 11.7 MB / 499.5 MB, free: 71.69 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.6164688419085]