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.0009606/0.0009606, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001069/0.001069, allocations: 165.3 kB / 24.91 MB, free: 8.762 MB / 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 0.9103/0.9103, allocations: 177 MB / 205.2 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] 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.2562/0.2562, allocations: 34.86 MB / 296.6 MB, free: 0.5039 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.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 3.938 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/2.961e-05, allocations: 4 kB / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.007045/0.007074, allocations: 9.007 MB / 334.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004944/0.01202, allocations: 2.967 MB / 337.9 MB, free: 11.13 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008833/0.0129, allocations: 55.81 kB / 337.9 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002396/0.0153, allocations: 2.138 MB / 340.1 MB, free: 8.93 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.01709, allocations: 1.175 MB / 341.2 MB, free: 7.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005301/0.01762, allocations: 315.2 kB / 341.5 MB, free: 7.441 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002023/0.01964, allocations: 2.227 MB / 343.8 MB, free: 5.211 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.02108, allocations: 1.836 MB / 345.6 MB, free: 3.312 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001208/0.02229, allocations: 1.298 MB / 346.9 MB, free: 2.012 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001351/0.02364, allocations: 1.118 MB / 348 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002242/0.02387, allocations: 196 kB / 348.2 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000983/0.02485, allocations: 0.6396 MB / 348.9 MB, free: 60 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007764/0.02563, allocations: 1.184 MB / 350 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006519/0.02628, allocations: 0.7241 MB / 350.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002532/0.02881, allocations: 2.724 MB / 353.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.02882, allocations: 0 / 353.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.02882, allocations: 4 kB / 353.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.463e-05/0.02887, allocations: 0 / 353.5 MB, free: 11.41 MB / 330.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.002941/0.03181, allocations: 2.671 MB / 356.2 MB, free: 8.699 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.03185, allocations: 12.03 kB / 356.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/0.03358, allocations: 0.7616 MB / 356.9 MB, free: 7.926 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.03481, allocations: 1.042 MB / 358 MB, free: 6.848 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.096e-05/0.03488, allocations: 148 kB / 358.1 MB, free: 6.703 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/0.03508, allocations: 192.2 kB / 358.3 MB, free: 6.516 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002978/0.03806, allocations: 2.844 MB / 361.2 MB, free: 3.398 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.03809, allocations: 15.88 kB / 361.2 MB, free: 3.383 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/0.03824, allocations: 83.91 kB / 361.2 MB, free: 3.301 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001241/0.03948, allocations: 1.196 MB / 362.4 MB, free: 2.102 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00246/0.04194, allocations: 1.513 MB / 364 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01353/0.05546, allocations: 15.27 MB / 379.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.0573, allocations: 0.9034 MB / 380.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.05751, allocations: 160.8 kB / 380.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002952/0.06046, allocations: 2.127 MB / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.06049, allocations: 43 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.226e-06/0.06049, allocations: 0 / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.003072/0.06356, allocations: 1.09 MB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.0636, allocations: 59.91 kB / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.06489, allocations: 1.424 MB / 385 MB, free: 10.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.06493, allocations: 33.7 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009485/0.06588, allocations: 1.846 MB / 386.9 MB, free: 8.934 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/0.06609, allocations: 317.5 kB / 387.2 MB, free: 8.621 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005709/0.06666, allocations: 0.5762 MB / 387.8 MB, free: 8.035 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.06676, allocations: 345.9 kB / 388.1 MB, free: 7.691 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004496/0.06721, allocations: 310.2 kB / 388.4 MB, free: 7.383 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.06875, allocations: 2.099 MB / 390.5 MB, free: 4.352 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002247/0.071, allocations: 2.743 MB / 393.3 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-05/0.07103, allocations: 20 kB / 393.3 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00261/0.07364, allocations: 1.966 MB / 395.3 MB, free: 14.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.07368, allocations: 32 kB / 395.3 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-05/0.07374, allocations: 68.09 kB / 395.4 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.351e-05/0.07382, allocations: 88 kB / 395.4 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.07531, allocations: 0.6433 MB / 396.1 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-05/0.07539, allocations: 131.4 kB / 396.2 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.07675, allocations: 405 kB / 396.6 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/0.07694, allocations: 164 kB / 396.8 MB, free: 13.17 MB / 378.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.0007712/0.07771, allocations: 365.6 kB / 397.1 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.07787, allocations: 99.83 kB / 397.2 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.07805, allocations: 160 kB / 397.4 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.07807, allocations: 12 kB / 397.4 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.07808, allocations: 0 / 397.4 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.07808, allocations: 3.984 kB / 397.4 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/0.08097, allocations: 1.869 MB / 399.3 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.08098, allocations: 12.16 kB / 399.3 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.08124, allocations: 91.83 kB / 399.4 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/0.08125, allocations: 8 kB / 399.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/0.08128, allocations: 12 kB / 399.4 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.318e-06/0.08129, allocations: 11.94 kB / 399.4 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.08129, allocations: 11.94 kB / 399.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006004/0.08189, allocations: 0.6174 MB / 400 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.08207, allocations: 154.8 kB / 400.2 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.08219, allocations: 16 kB / 400.2 MB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002951/0.08248, allocations: 16 kB / 400.2 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.375e-05/0.08256, allocations: 51.8 kB / 400.3 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/0.0826, allocations: 27.94 kB / 400.3 MB, free: 9.445 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005622/0.08316, allocations: 0.5487 MB / 400.8 MB, free: 8.898 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.08316, allocations: 0 / 400.8 MB, free: 8.898 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002101/0.08526, allocations: 0.7045 MB / 401.5 MB, free: 8.191 MB / 378.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.0002705/0.08553, allocations: 132 kB / 401.7 MB, free: 8.055 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0017/0.08723, allocations: 1.096 MB / 402.8 MB, free: 6.961 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.67e-05/0.08733, allocations: 47.94 kB / 402.8 MB, free: 6.906 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.08753, allocations: 157.1 kB / 403 MB, free: 6.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007404/0.08827, allocations: 202.2 kB / 403.2 MB, free: 6.562 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006094/0.09437, allocations: 4.469 MB / 407.6 MB, free: 1.961 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007763/0.09514, allocations: 0.7501 MB / 408.4 MB, free: 1.184 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007213/0.09586, allocations: 240 kB / 408.6 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003943/0.09626, allocations: 275.2 kB / 408.9 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.09626, allocations: 0 / 408.9 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of Templates: time 0.02562/0.1219, allocations: 12.48 MB / 421.4 MB, free: 4.383 MB / 394.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] 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","",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.0529376552440226]