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.00268/0.00268, allocations: 99.53 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.003463/0.003463, allocations: 160.8 kB / 24.27 MB, free: 152 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.605/1.605, allocations: 177 MB / 204.4 MB, free: 5.617 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.3464/0.3464, allocations: 34.25 MB / 295.2 MB, free: 0.6445 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.513e-06/1.513e-06, allocations: 0 / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.847e-05, allocations: 4.703 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01326/0.01329, allocations: 9.161 MB / 386.4 MB, free: 9.699 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006443/0.01973, allocations: 2.869 MB / 389.2 MB, free: 6.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009939/0.02073, allocations: 55.81 kB / 389.3 MB, free: 6.766 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004608/0.02534, allocations: 2.13 MB / 391.4 MB, free: 4.629 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002758/0.02809, allocations: 1.175 MB / 392.6 MB, free: 3.449 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007502/0.02884, allocations: 323.2 kB / 392.9 MB, free: 3.133 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003244/0.03209, allocations: 2.367 MB / 395.3 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002562/0.03465, allocations: 1.805 MB / 397.1 MB, free: 14.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001701/0.03635, allocations: 1.294 MB / 398.4 MB, free: 13.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/0.0381, allocations: 1.169 MB / 399.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003619/0.03846, allocations: 196 kB / 399.7 MB, free: 12.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.03965, allocations: 0.6396 MB / 400.4 MB, free: 11.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001266/0.04092, allocations: 1.188 MB / 401.6 MB, free: 10.42 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009965/0.04191, allocations: 0.7202 MB / 402.3 MB, free: 9.699 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005625/0.04754, allocations: 4.295 MB / 406.6 MB, free: 5.391 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.04755, allocations: 0 / 406.6 MB, free: 5.391 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.218e-06/0.04755, allocations: 4 kB / 406.6 MB, free: 5.387 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.212e-05/0.04764, allocations: 0 / 406.6 MB, free: 5.387 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.005962/0.0536, allocations: 3.399 MB / 410 MB, free: 1.938 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.05364, allocations: 12.03 kB / 410 MB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006129/0.05977, allocations: 1.871 MB / 411.9 MB, free: 52 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003187/0.06296, allocations: 1.218 MB / 413.1 MB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.0631, allocations: 144 kB / 413.2 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003978/0.0635, allocations: 188.3 kB / 413.4 MB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007376/0.07087, allocations: 3.586 MB / 417 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.966e-05/0.07092, allocations: 11.88 kB / 417 MB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002453/0.07117, allocations: 87.91 kB / 417.1 MB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0026/0.07377, allocations: 1.34 MB / 418.4 MB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006491/0.08026, allocations: 2.039 MB / 420.5 MB, free: 7.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1942/0.2745, allocations: 24.44 MB / 444.9 MB, free: 82.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003115/0.2776, allocations: 0.9377 MB / 445.8 MB, free: 82.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004673/0.278, allocations: 249.9 kB / 446.1 MB, free: 82.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005389/0.2834, allocations: 2.572 MB / 448.7 MB, free: 81.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.2835, allocations: 48.17 kB / 448.7 MB, free: 81.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.246e-06/0.2835, allocations: 0 / 448.7 MB, free: 81.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.004197/0.2877, allocations: 1.309 MB / 450 MB, free: 81.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.2877, allocations: 57.91 kB / 450.1 MB, free: 81.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002513/0.2902, allocations: 2.274 MB / 452.3 MB, free: 81.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.2902, allocations: 32.11 kB / 452.4 MB, free: 81.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009368/0.2912, allocations: 2.115 MB / 454.5 MB, free: 80.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/0.2914, allocations: 360 kB / 454.8 MB, free: 80.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007615/0.2922, allocations: 0.7882 MB / 455.6 MB, free: 79.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2923, allocations: 0.5425 MB / 456.2 MB, free: 79.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005736/0.2928, allocations: 314.9 kB / 456.5 MB, free: 79.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.2943, allocations: 3.177 MB / 459.7 MB, free: 75.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002349/0.2966, allocations: 3.83 MB / 463.5 MB, free: 71.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.972e-05/0.2966, allocations: 18.84 kB / 463.5 MB, free: 71.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003407/0.3001, allocations: 2.543 MB / 466.1 MB, free: 70.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/0.3001, allocations: 33.06 kB / 466.1 MB, free: 70.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.141e-05/0.3001, allocations: 66.25 kB / 466.1 MB, free: 70.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.959e-05/0.3002, allocations: 84.81 kB / 466.2 MB, free: 70.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.3018, allocations: 0.6603 MB / 466.9 MB, free: 70.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.011e-05/0.3019, allocations: 127.8 kB / 467 MB, free: 70.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.3034, allocations: 417.7 kB / 467.4 MB, free: 69.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/0.3036, allocations: 191 kB / 467.6 MB, free: 69.96 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.0008379/0.3044, allocations: 475.2 kB / 468.1 MB, free: 69.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.3046, allocations: 175 kB / 468.2 MB, free: 69.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.3049, allocations: 158.2 kB / 468.4 MB, free: 69.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.3049, allocations: 8.781 kB / 468.4 MB, free: 69.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.3049, allocations: 0 / 468.4 MB, free: 69.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3049, allocations: 6.484 kB / 468.4 MB, free: 69.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005321/0.3102, allocations: 3.616 MB / 472 MB, free: 67.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.3102, allocations: 6.312 kB / 472 MB, free: 67.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003453/0.3106, allocations: 95.02 kB / 472.1 MB, free: 67.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.3106, allocations: 12.36 kB / 472.1 MB, free: 67.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.3106, allocations: 17.44 kB / 472.2 MB, free: 67.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.787e-06/0.3106, allocations: 12.56 kB / 472.2 MB, free: 67.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3106, allocations: 10.16 kB / 472.2 MB, free: 67.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008467/0.3115, allocations: 0.9301 MB / 473.1 MB, free: 66.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/0.3117, allocations: 155.3 kB / 473.3 MB, free: 66.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.3119, allocations: 12.72 kB / 473.3 MB, free: 66.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004122/0.3123, allocations: 29.42 kB / 473.3 MB, free: 66.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.965e-05/0.3124, allocations: 53.14 kB / 473.4 MB, free: 66.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.671e-05/0.3124, allocations: 32.92 kB / 473.4 MB, free: 66.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001011/0.3134, allocations: 0.9277 MB / 474.3 MB, free: 66.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3134, allocations: 0 / 474.3 MB, free: 66.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002193/0.3156, allocations: 0.6997 MB / 475 MB, free: 66.14 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.0002733/0.3159, allocations: 148.2 kB / 475.2 MB, free: 66.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002036/0.3179, allocations: 1.403 MB / 476.6 MB, free: 65.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3179, allocations: 2.906 kB / 476.6 MB, free: 65.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003359/0.3183, allocations: 245.6 kB / 476.8 MB, free: 65.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009217/0.3192, allocations: 186.8 kB / 477 MB, free: 65.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006163/0.3253, allocations: 4.415 MB / 481.4 MB, free: 62.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0017/0.327, allocations: 1.517 MB / 482.9 MB, free: 62.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001656/0.3287, allocations: 0.8011 MB / 483.7 MB, free: 62.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.329, allocations: 111.6 kB / 483.8 MB, free: 62.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/0.329, allocations: 0 / 483.8 MB, free: 62.37 MB / 410.7 MB Notification: Performance of Templates: time 0.02243/0.3514, allocations: 11.54 MB / 495.4 MB, free: 61.04 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=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","/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.615828437032178]