Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.002537/0.002537, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.002956/0.002956, allocations: 156.8 kB / 24.27 MB, free: 156 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.667/1.667, allocations: 177 MB / 204.4 MB, free: 5.605 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.3489/0.3489, allocations: 34.26 MB / 295.2 MB, free: 0.6523 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.277e-05/3.458e-05, allocations: 2.312 kB / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01379/0.01383, allocations: 9.168 MB / 386.4 MB, free: 9.703 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006877/0.0207, allocations: 2.865 MB / 389.2 MB, free: 6.828 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.02203, allocations: 55.81 kB / 389.3 MB, free: 6.773 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004542/0.02657, allocations: 2.126 MB / 391.4 MB, free: 4.641 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003315/0.02988, allocations: 1.186 MB / 392.6 MB, free: 3.449 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008971/0.03078, allocations: 315.2 kB / 392.9 MB, free: 3.141 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003659/0.03444, allocations: 2.371 MB / 395.3 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002585/0.03702, allocations: 1.793 MB / 397.1 MB, free: 14.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00192/0.03894, allocations: 1.302 MB / 398.4 MB, free: 13.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00206/0.041, allocations: 1.165 MB / 399.5 MB, free: 12.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003478/0.04135, allocations: 196 kB / 399.7 MB, free: 12.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/0.04263, allocations: 0.6396 MB / 400.4 MB, free: 11.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001301/0.04393, allocations: 1.192 MB / 401.6 MB, free: 10.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.04493, allocations: 0.7202 MB / 402.3 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005566/0.0505, allocations: 4.295 MB / 406.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.0505, allocations: 0 / 406.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.05051, allocations: 0 / 406.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.95e-05/0.05058, allocations: 0 / 406.6 MB, free: 5.398 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.005742/0.05632, allocations: 3.403 MB / 410 MB, free: 1.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.05636, allocations: 12.03 kB / 410 MB, free: 1.934 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00595/0.06231, allocations: 1.871 MB / 411.9 MB, free: 60 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003145/0.06545, allocations: 1.218 MB / 413.1 MB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/0.06561, allocations: 144 kB / 413.2 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006258/0.06623, allocations: 184.3 kB / 413.4 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007311/0.07354, allocations: 3.586 MB / 417 MB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.199e-05/0.0736, allocations: 15.88 kB / 417 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002603/0.07386, allocations: 91.84 kB / 417.1 MB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002393/0.07625, allocations: 1.34 MB / 418.4 MB, free: 9.078 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006937/0.08319, allocations: 2.035 MB / 420.5 MB, free: 7.027 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2041/0.2872, allocations: 24.44 MB / 444.9 MB, free: 82.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003046/0.2903, allocations: 0.94 MB / 445.8 MB, free: 82.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004642/0.2907, allocations: 252.8 kB / 446.1 MB, free: 82.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005579/0.2963, allocations: 2.569 MB / 448.7 MB, free: 81.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.2964, allocations: 47.64 kB / 448.7 MB, free: 81.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.246e-06/0.2964, allocations: 2.188 kB / 448.7 MB, free: 81.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.00415/0.3005, allocations: 1.309 MB / 450 MB, free: 81.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.3005, allocations: 60.22 kB / 450.1 MB, free: 81.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002686/0.3032, allocations: 2.275 MB / 452.4 MB, free: 81.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/0.3033, allocations: 35.39 kB / 452.4 MB, free: 81.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009899/0.3043, allocations: 2.109 MB / 454.5 MB, free: 80.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/0.3045, allocations: 358.1 kB / 454.8 MB, free: 80.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007465/0.3052, allocations: 0.7899 MB / 455.6 MB, free: 79.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3053, allocations: 0.5388 MB / 456.2 MB, free: 79.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005666/0.3059, allocations: 320.1 kB / 456.5 MB, free: 79.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/0.3074, allocations: 3.174 MB / 459.7 MB, free: 75.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/0.3098, allocations: 3.827 MB / 463.5 MB, free: 71.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-05/0.3098, allocations: 19.53 kB / 463.5 MB, free: 71.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003341/0.3132, allocations: 2.544 MB / 466 MB, free: 70.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/0.3132, allocations: 34.66 kB / 466.1 MB, free: 70.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.876e-05/0.3133, allocations: 72.81 kB / 466.2 MB, free: 70.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.731e-05/0.3133, allocations: 84.38 kB / 466.2 MB, free: 70.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.3149, allocations: 0.6572 MB / 466.9 MB, free: 70.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.581e-05/0.315, allocations: 127.6 kB / 467 MB, free: 70.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.3166, allocations: 422.7 kB / 467.4 MB, free: 69.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/0.3168, allocations: 184 kB / 467.6 MB, free: 69.95 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.0008666/0.3176, allocations: 473.3 kB / 468.1 MB, free: 69.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.3178, allocations: 178.1 kB / 468.2 MB, free: 69.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.3181, allocations: 158.8 kB / 468.4 MB, free: 69.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.3181, allocations: 12.47 kB / 468.4 MB, free: 69.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.3181, allocations: 3.047 kB / 468.4 MB, free: 69.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3181, allocations: 0 / 468.4 MB, free: 69.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005302/0.3234, allocations: 3.61 MB / 472 MB, free: 67.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.3234, allocations: 9.875 kB / 472 MB, free: 67.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003466/0.3238, allocations: 99.2 kB / 472.1 MB, free: 67.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/0.3238, allocations: 8.875 kB / 472.1 MB, free: 67.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.3238, allocations: 16.44 kB / 472.2 MB, free: 67.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.303e-06/0.3238, allocations: 13 kB / 472.2 MB, free: 67.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.3238, allocations: 9.906 kB / 472.2 MB, free: 67.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000809/0.3246, allocations: 0.9248 MB / 473.1 MB, free: 66.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/0.3249, allocations: 154.9 kB / 473.3 MB, free: 66.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.325, allocations: 18.8 kB / 473.3 MB, free: 66.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004503/0.3254, allocations: 30.31 kB / 473.3 MB, free: 66.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.105e-05/0.3255, allocations: 52.62 kB / 473.4 MB, free: 66.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-05/0.3256, allocations: 35.66 kB / 473.4 MB, free: 66.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001002/0.3266, allocations: 0.9293 MB / 474.3 MB, free: 66.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3266, allocations: 0 / 474.3 MB, free: 66.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002079/0.3287, allocations: 0.692 MB / 475 MB, free: 66.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.0002433/0.3289, allocations: 153.5 kB / 475.2 MB, free: 66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001928/0.3308, allocations: 1.392 MB / 476.6 MB, free: 65.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3308, allocations: 1.031 kB / 476.6 MB, free: 65.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003521/0.3312, allocations: 247 kB / 476.8 MB, free: 65.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.3323, allocations: 193.3 kB / 477 MB, free: 65.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006085/0.3384, allocations: 4.414 MB / 481.4 MB, free: 62.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001686/0.3401, allocations: 1.517 MB / 482.9 MB, free: 62.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001603/0.3417, allocations: 0.804 MB / 483.7 MB, free: 62.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.3419, allocations: 106.9 kB / 483.8 MB, free: 62.36 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3419, allocations: 5.188 kB / 483.8 MB, free: 62.36 MB / 410.7 MB Notification: Performance of Templates: time 0.02408/0.366, allocations: 11.54 MB / 495.4 MB, free: 61.03 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.5986331349704415]